On Wed, 2003-01-15 at 17:15, Josh Brooks wrote: > defaultrouter="10.10.10.1" > ifconfig_fxp0="inet 10.10.10.2 netmask 255.255.255.0" > ifconfig_fxp0_alias0="inet 10.10.10.3 netmask 255.255.255.255" > > Ok, easy enough - one interface, one default router, and two IPs on that > subnet. > > BUT - as it happens, 10.10.10.1 is _also_ the default router for > 192.168.0.0/24 ... it has the IP 192.168.0.1, but it also has the IP of > 10.10.10.1 - it is the same default router, but with a few different > subnets on it. > > So, I went and added one of the 192 addresses to my system: > > defaultrouter="10.10.10.1" > ifconfig_fxp0="inet 10.10.10.2 netmask 255.255.255.0" > ifconfig_fxp0_alias0="inet 10.10.10.3 netmask 255.255.255.255" > ifconfig_fxp0_alias1="inet 192.168.0.2 netmask 255.255.255.255"
Change the netmask for alias0 to be 255.255.255.0. You only need a 'point to point' (255.255.255.255) netmask if the alias would conflict with an existing subnet (as in how you have alias0) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message