Date: 05 Sep 2002 13:16:53 +0000 From: Wayne Pascoe <freebsd@penguinpowered.org.uk> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: IP Aliases in different subnets Message-ID: <m27ki04lve.fsf@set.ehsrealtime.com> In-Reply-To: <20020905115410.GC32849@happy-idiot-talk.infracaninophi> References: <m2vg5k4pwv.fsf@set.ehsrealtime.com> <20020905115410.GC32849@happy-idiot-talk.infracaninophi>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman <m.seaman@infracaninophile.co.uk> writes: > > My question is what happens if I have a primary address with a > > different subnet mask to the alias? What should I be using as my > > subnet mask for the alias in /etc/rc.conf > > > > For example: > > Primary Address - 192.168.1.129 netmask 255.255.255.192 > > First Alias - 192.168.1.193 netmask 255.255.255.224 > > That's correct. For each distinct subnet, the first IP address > (whether a primary or alias address) thereon should use the > appropriate netmask for each subnet. It's the second and subsequent > aliases on a subnet that have to have the 255.255.255.255 netmask. Thanks for that ! -- - Wayne Pascoe - http://www.penguinpowered.org.uk/wayne/ There's optimism... and then there's stupidity! 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?m27ki04lve.fsf>