Date: Thu, 23 Mar 2000 00:06:39 -0800 (PST) From: "Dan B. " <danielb@pacex.net> To: freebsd-questions@freebsd.org Subject: Two IPs and default routes per interface Message-ID: <Pine.BSF.4.10.10003222341380.57469-100000@almazs.pacex.net>
next in thread | raw e-mail | index | archive | help
Hi, I need help making this work, I am binding two routable IPs from toatly different subnets on one interface so that 'old IP' will be used with 'old default router' and 'new IP' will be used with 'new default router' Here is what I did: ifconfig fxp0 inet <old IP> netmask 255.255.255.224 ifconfig fxp0 inet <new IP> netmask 255.255.255.0 alias and modifying the routing table for 'old IP' route add -net <old network> -netmask 255.255.255.224 route -n add default <old default router> and for 'new IP' route add -net <new network> -netmask 255.255.255.0 route -n add default <new default router> and it is not working, I can ping the old default router but not the new one. Can I use two default routers on one interface with two different IPs from separate subnets? I am using 3.4-STABLE if that matters. Thanks Dan 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?Pine.BSF.4.10.10003222341380.57469-100000>