Date: Thu, 20 Jan 2000 10:32:39 -0500 (EST) From: "Jasper O'Malley" <jooji@nickelkid.com> To: Mikel <mikel@ocsny.com> Cc: Richard Martin <dmartin@origen.com>, freebsd-net@FreeBSD.ORG Subject: Re: Virtual IPs & rc.conf Message-ID: <Pine.BSF.4.21.0001201026130.10736-100000@cornflake.nickelkid.com> In-Reply-To: <3885FB5A.5DAE854C@ocsny.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Jan 2000, Mikel wrote: > excerpt from my rc.conf: > #rjpcopycenter.com had to add these comments in for my sanity...this file has 50 > 0r 60 aliases...;( > ifconfig_xl0_alias1="inet 208.239.172.2 netmask 0xffffff00" Aliases should have /32 netmasks (0xFFFFFFFF) if they're in the same subnet as the primary address on the interface. If they're not, the first alias should have the netmask of the subnet to which it belongs (in case you're running two subnets on the same wire), and additional aliases should have /32 netmasks. If you're putting all your aliases into their own subnet, though (i.e. no other physical nodes on the network exist in the same subnet, the subnet for the aliases is exclusively for a large number of aliases on a single machine), you might alias them to the lo0 adapter instead of xl0, and have your routers direct traffic for that subnet to the address on xl0. > excerpt from my rc.local: > route add -host 204.107.76.110 -interface xl0 > route add -host 208.239.172.2 -interface xl0 > route add -host 208.239.172.3 -interface xl0 > route add -host 208.239.172.4 -interface xl0 > route add -host 208.239.172.5 -interface xl0 This is unnecessary in my experience. Cheers, Mick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0001201026130.10736-100000>