Date: Wed, 07 Jun 2000 11:28:08 -0700 From: "Raymundo M. Vega" <RaymundoVega@home.com> To: Alex Kwan <alexkwan@pacific.net.hk> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Question about man ifconfig Message-ID: <393E9438.6CA4163E@home.com> References: <000701bfd0a5$69e108c0$831e40ca@alexkwan>
next in thread | previous in thread | raw e-mail | index | archive | help
Alex Kwan wrote: > > Hi! > > I wanted to setup multi IP address on a ethernet interface, > and the man ifconfig said: > > "The following parameters may be set with ifconfig: > > add ............................ > > alias ............................ > If the address is on the same subnet as the first network > address > for this interface, a netmask of 0xffffffff has to be specified. > " > > Why do I can't set the netmask as the normal 255.255.255.0 (for C class) > and needed to set as 0xffffffff(255.255.255.255)? because alias is intended for two different nets, of you use the al"f" mask you are fooling ifconfig and make it accept the new ip address. raymundo > > Thanks > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?393E9438.6CA4163E>