Andrei Borzenkov composed on 2015-04-07 06:22 (UTC+0300):
Felix Miata composed:
Can more than one default route per interface be configured?
I think I partially answered this by experiment. I booted TW to find default route 192.168.1.1 while using router with 192.168.0.1. I ran route add default gw 192.168.0.1 eth0 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.
How is it supposed to work?
I don't know.
How should system select which route to use?
Round robin? Pick fastest? First in list?
I configure my own installations with fixed IP. I want to be able to take any of them elsewhere, discover the IP of the relevant gateway/router, and using mcedit, change, or add, whatever is necessary, without starting any GUI, YaST, or any kind of "manager". Is this asking too much?
Show fix IP you configured and IP of (default) router you want to use.
location 1 (router 1): 192.168.0.1 location 2 (router 2): 192.168.1.1 host: 192.168.0.121 -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org