Skip to main content
added 174 characters in body
Source Link
kumar
  • 143
  • 1
  • 6

When I try to add an IP rule for IPv6 on my Linux system, it errors out:

$ ip -6 rule add fwmark 0xfab lookup 0xf RTNETLINK answers: Address family not supported by protocol 

I checked out the IP rule code; it issues a netlink message to the kernel. Probably I need to load some module, but I don't know which. What do I need to do to fix this?

I am using linux 2.6.37.3 built from kernel sources

Solution: By default linux build doesn't support multiple routing tables for IPv6. You need to enable CONFIG_IPV6_MULTIPLE_TABLES for multiple IPv6 routing table support.

When I try to add an IP rule for IPv6 on my Linux system, it errors out:

$ ip -6 rule add fwmark 0xfab lookup 0xf RTNETLINK answers: Address family not supported by protocol 

I checked out the IP rule code; it issues a netlink message to the kernel. Probably I need to load some module, but I don't know which. What do I need to do to fix this?

I am using linux 2.6.37.3 built from kernel sources

When I try to add an IP rule for IPv6 on my Linux system, it errors out:

$ ip -6 rule add fwmark 0xfab lookup 0xf RTNETLINK answers: Address family not supported by protocol 

I checked out the IP rule code; it issues a netlink message to the kernel. Probably I need to load some module, but I don't know which. What do I need to do to fix this?

I am using linux 2.6.37.3 built from kernel sources

Solution: By default linux build doesn't support multiple routing tables for IPv6. You need to enable CONFIG_IPV6_MULTIPLE_TABLES for multiple IPv6 routing table support.

added 7 characters in body; edited title
Source Link
Michael Mrozek
  • 95.8k
  • 40
  • 245
  • 236

ip IP rule for ipv6IPv6

When I try to add an ipIP rule for Ipv6 inIPv6 on my linuxLinux system, it errors out.:

$ ip -6 rule add fwmark 0xfab lookup 0xf RTNETLINK answers: Address family not supported by protocol 

ip -6 rule add fwmark 0xfab lookup 0xf RTNETLINK answers: Address family not supported by protocol I did checkoutI checked out the "ip rule" code,IP rule code; it issues a netlink message to the kernel. Probably I need to load some module, but I don't know which. Does anyone have any idea what needsWhat do I need to be donedo to fix this?

I am using linux 2.6.37.3 built from kernel sources.

ip rule for ipv6

When I try to add an ip rule for Ipv6 in my linux system, it errors out.

ip -6 rule add fwmark 0xfab lookup 0xf RTNETLINK answers: Address family not supported by protocol I did checkout the "ip rule" code, it issues a netlink message to the kernel. Probably I need to load some module. Does anyone have any idea what needs to be done to fix this?

I am using linux 2.6.37.3 built from kernel sources.

IP rule for IPv6

When I try to add an IP rule for IPv6 on my Linux system, it errors out:

$ ip -6 rule add fwmark 0xfab lookup 0xf RTNETLINK answers: Address family not supported by protocol 

I checked out the IP rule code; it issues a netlink message to the kernel. Probably I need to load some module, but I don't know which. What do I need to do to fix this?

I am using linux 2.6.37.3 built from kernel sources

Source Link
kumar
  • 143
  • 1
  • 6

ip rule for ipv6

When I try to add an ip rule for Ipv6 in my linux system, it errors out.

ip -6 rule add fwmark 0xfab lookup 0xf RTNETLINK answers: Address family not supported by protocol I did checkout the "ip rule" code, it issues a netlink message to the kernel. Probably I need to load some module. Does anyone have any idea what needs to be done to fix this?

I am using linux 2.6.37.3 built from kernel sources.