you only have 2 networks. what you need is a direct route to each network. and check your ip forwarding if is enabled. what's your problem and why do you need 2 defailt routes?
--edel On Fri, 18 Mar 2005 07:04:02 +0300, str tux <[EMAIL PROTECTED]> wrote: > > exactly what do you want to do? > > Okei, I have 2 NIC connecting to two different network. Here's my > complete Network Settings. > > eth0 is connected to a router directly going to a branch office. > eth0 ip = 10.10.1.22 > router ip = 10.10.1.20 > subnet = 255.255.255.248/29 > network = 10.10.1.16 > broadcast = 10.10.1.23 > so i want a default gateway for eth0 as 10.10.1.20 > > on the other hand, eth1 is connected to our main LAN's switch. > eth1 ip = 10.10.1.7 > main_lan_main_gateway_going_to_internet ip = 10.10.1.1 > subnet = 255.255.255.240/28 > network = 10.10.1.0 > broadcast = 10.10.1.15 > so want in a default gateway for eth1 as 10.10.1.1 > > how i will do this kind of configuration in linux? > > thanks always. > > str > -- > Philippine Linux Users' Group (PLUG) Mailing List > [email protected] (#PLUG @ irc.free.net.ph) > Official Website: http://plug.linux.org.ph > Searchable Archives: http://marc.free.net.ph > . > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug > . > Are you a Linux newbie? To join the newbie list, go to > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie > -- Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
