Score:0

Linux iproute2 default routing rules for IPv6

ke flag

I've been doing some tests with the ip commnand on Linux, and the "ip rule" command showed me different results for IPv4 and IPv6:

test-linux# ip -4 rule list
0:      from all lookup local
32766:  from all lookup main
32767:  from all lookup default
test-linux# ip -6 rule list
0:      from all lookup local
32766:  from all lookup main

Is there a reason why the "from all lookup default" rule only appears in the IPv4 list? Is this rule somehow special that only works with IPv4?

I posted this question before on StackOverflow before, but it was closed due to not being related to programming. I've found some information about the iproute2 in this board, but if I'm mistaken again, could someone kindly redirect me to the correct board?

Thanks in advance.

Ron Maupin avatar
us flag
IPv6 learns its route from the RAs (Router Advertisements). For example, you do not configure a default gateway for IPv6, the RAs will define that.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.