two default routes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi ,

 i have two default routes  , I used below two commands to add routes .

 route add default gw 192.168.1.1  dev eth0 metric 0
 route add default gw 10.232.18.5  dev eth1 metric 1

So  10.232.18.5 will become the default route since it is added
secondly . All packets are routed to this address . Suppose
10.232.18.5 machine is down  , will the packets will use the next
default route ? . Could you please mention any case in which packets
will use the route 192.168.1.1 .?

Thanks,
Ratheesh
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux