Re: netmask for aliased ip

2001-11-29 Thread justin
On Thursday, November 29, 2001, at 05:01 , Ahsan Ali wrote: >> For TCP, that is what is always used by default when creating an >> outbound connection. For incoming connections, the machine will of >> course reply using the IP address the connection came in on. And a >> program can always reques

Re: netmask for aliased ip

2001-11-29 Thread Crist J. Clark
On Thu, Nov 29, 2001 at 06:01:04PM +0500, Ahsan Ali wrote: > > For TCP, that is what is always used by default when creating an > > outbound connection. For incoming connections, the machine will of > > course reply using the IP address the connection came in on. And a > > program can always reque

Re: netmask for aliased ip

2001-11-29 Thread Ahsan Ali
> For TCP, that is what is always used by default when creating an > outbound connection. For incoming connections, the machine will of > course reply using the IP address the connection came in on. And a > program can always request to use a specific address if it wants to. > > I am not sure wher

Re: netmask for aliased ip

2001-11-28 Thread justin
On Wednesday, November 28, 2001, at 11:52 , Crist J. Clark wrote: > On Wed, Nov 28, 2001 at 10:24:28PM -0800, [EMAIL PROTECTED] wrote: >> FWIW, the FreeBSD FAQ (10.9) sez this (it's a one-liner that shows the >> netmask 0x). > > I'll send in a doc PR for this. The ifconfig(8) page gets i

Re: netmask for aliased ip

2001-11-28 Thread Crist J. Clark
On Wed, Nov 28, 2001 at 10:24:28PM -0800, [EMAIL PROTECTED] wrote: > FWIW, the FreeBSD FAQ (10.9) sez this (it's a one-liner that shows the > netmask 0x). I'll send in a doc PR for this. The ifconfig(8) page gets it right. alias Establish an additional network address for this in

Re: netmask for aliased ip

2001-11-28 Thread Crist J. Clark
On Thu, Nov 29, 2001 at 09:15:34AM +0500, Ahsan Ali wrote: > > Somebody told you wrong. When adding an alias _which is on the same > > logical network_ as other addresses, it should have an 0x > > mask. That is, only one address on an interface should have the "real" > > netmask for any on

Re: netmask for aliased ip

2001-11-28 Thread justin
FWIW, the FreeBSD FAQ (10.9) sez this (it's a one-liner that shows the netmask 0x). Regards, Justin On Wednesday, November 28, 2001, at 05:08 , Crist J. Clark wrote: > On Wed, Nov 28, 2001 at 08:37:42AM -0800, [EMAIL PROTECTED] wrote: >> >> somebody told me that, when aliasing, the 2n

Re: netmask for aliased ip

2001-11-28 Thread Crist J. Clark
On Wed, Nov 28, 2001 at 08:37:42AM -0800, [EMAIL PROTECTED] wrote: > > somebody told me that, when aliasing, the 2nd to ´n´ ipaddress netmask must not be >the regular one, but 0x instead. Example: > > rl0 = 200.200.200.200 netmask 255.255.0.0 > rl0:0 (the aliased) 200.200.220.200 netma

netmask for aliased ip

2001-11-28 Thread [EMAIL PROTECTED]
somebody told me that, when aliasing, the 2nd to ´n´ ipaddress netmask must not be the regular one, but 0x instead. Example: rl0 = 200.200.200.200 netmask 255.255.0.0 rl0:0 (the aliased) 200.200.220.200 netmask 0x [lots more] rl0:3000 200.200.255.200 netmask 0x is it f