Hi
I have a strange problem with the ipv6 gateway setting.
WAN Ip is assigned with DHCPv6 - however the default gateway does not appear to be set when the interface is configured.
What i determined so far:
During interface renewal an RA is sent and a response is received:
But the routing table does not have a default gateway.
If i run rtsol:
And the default gateway is in the routing table:
When i run rtsol manually ipv6 works correctly but only until the next dhcp6c renewal which appears to be at least every hour.
Any ideas what is going on or additional diagnostics?
I have a strange problem with the ipv6 gateway setting.
WAN Ip is assigned with DHCPv6 - however the default gateway does not appear to be set when the interface is configured.
What i determined so far:
During interface renewal an RA is sent and a response is received:
Code Select
12439 171.991875 fe80::a236:9fff:fe1c:3fc0 ff02::2 ICMPv6 70 Router Solicitation from a0:36:9f:1c:3f:c0
12441 172.009751 fe80::11:1 fe80::a236:9fff:fe1c:3fc0 ICMPv6 118 Router Advertisement from cc:1a:fa:e6:c2:00
But the routing table does not have a default gateway.
Code Select
Internet6:
Destination Gateway Flags Netif Expire
localhost link#6 UH lo0
2a06:4000:11::/64 link#1 U igb0
2a06:4000:11::1066 link#1 UHS lo0
If i run rtsol:
Code Select
anders@router:~ % sudo rtsol -dD igb0
rtsol: checking if igb0 is ready...
rtsol: igb0 is ready
rtsol: set timer for igb0 to 0s
rtsol: New timer is 0s
rtsol: timer expiration on igb0, state = 1
rtsol: send RS on igb0, whose state is 2
rtsol: set timer for igb0 to 4s
rtsol: New timer is 4s
rtsol: rtmsg type 1, len=240
rtsol: New timer is 1s
rtsol: New timer is 0s
rtsol: timer expiration on igb0, state = 2
rtsol: send RS on igb0, whose state is 2
rtsol: set timer for igb0 to 4s
rtsol: New timer is 3s
rtsol: received RA from fe80::11:1 on igb0, state is 2
rtsol: Processing RA
rtsol: ndo = 0x306694dec70
rtsol: ndo->nd_opt_type = 1
rtsol: ndo->nd_opt_len = 1
rtsol: ndo = 0x306694dec78
rtsol: ndo->nd_opt_type = 5
rtsol: ndo->nd_opt_len = 1
rtsol: ndo = 0x306694dec80
rtsol: ndo->nd_opt_type = 3
rtsol: ndo->nd_opt_len = 4
rtsol: rsid = [igb0:slaac]
rtsol: stop timer for igb0
rtsol: there is no timer
And the default gateway is in the routing table:
Code Select
Internet6:
Destination Gateway Flags Netif Expire
default fe80::11:1%igb0 UG igb0
localhost link#6 UH lo0
2a06:4000:11::/64 link#1 U igb0
2a06:4000:11::1066 link#1 UHS lo0
router link#1 UHS lo0
2a06:4001:1066:a:: link#4 U igb3
When i run rtsol manually ipv6 works correctly but only until the next dhcp6c renewal which appears to be at least every hour.
Any ideas what is going on or additional diagnostics?