Ruediger Meier wrote:
Compare ip -6 route show ip -6 route show table local ip -6 route show table main ip -6 route show table all
and the same for with -4.
All that shows is local interfaces, which are not part of the routing table. As I mentioned in another note, routing is not used for destinations on the local LAN. Instead, address look up (arp in IPv4 and neighbour discovery in IPv6) is used to determine the MAC address for the destination. That MAC address is then used to send packets to the destination.
If want do policy based routing you need even more custom tables, see also ip rule
I was speaking in general terms and even mentioned things such as fall back as exceptions. Policies etc. are exceptions to the general routing principles that I thought we were discussing. How many people, other than network admins? even consider those exceptions? The vast majority of people have never even heard of them, but they may buy a consumer grade router and try to set it up. More advanced people, such as those on this list may even roll their own router on a Linux box and possibly have mulitple subnets, but again would never consider those exceptions. Even with those policies, you'd still have only one default route for each policy, class of service, protocol type, load balancing etc. You simply can't have a packet hit a router and have it face more than one default route. Which way would it go??? As I mentioned earlier, default means what you get when you don't make a choice. Policies etc., are making a choice, based on some criteria in addition to destination address. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org