On 04/06/2015 11:45 PM, Felix Miata wrote:
That produced:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
which is working, but I have no idea if this holds any potential problem.
Fire up Wireshark to see where the packets are going, when you don't have a specific route. A default route is a route of last resort, when the computer/router doesn't know where else to send a packet. As such, you can only have one working default root. If you had those gateways on different interfaces, then the 2nd may be used when the first interface is down.
How should system select which route to use? Round robin?
Pick fastest?
First in list?
Routing is by longest address match. If there is no address match, then the default route is used. There is no round robin etc., unless load balancing is used. However, that requires it be supported at both ends. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org