Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - redakula

#1
20.7 Legacy Series / IPV6 gateway / Router advertisement
November 04, 2020, 11:18:16 AM
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:
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.
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:
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:
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?
#2
Same situation here... I gave up with kviknet and ipv6 as no dhcpv6 client in any major router dists. supported all the weird options.
Tried pfsense, edgerouters, opnsense among others. Their support could not even say if all the options are needed or just some :-(
OpnSense seems best bet due to the raw-options possibility but i have not been able to make it work.

I mapped out all the options mentioned in the article to the dhcp6c options where they exist:
DHCPcd options   IANA No.   DHCP6c option
option dhcp6_sip_servers_names   21   Sip-domain-name
option dhcp6_sip_servers_addresses   22   Sip-server-address
option dhcp6_name_servers   23   Domain-name-servers
option dhcp6_domain_search   24   Domain-name
option dhcp6_sntp_servers   31   
option dhcp6_ntp_server   56   Ntp-servers
option dhcp6_aftr_name   64   
option dhcp6_pd_exclude   67   
      
option dhcp6_sol_max_rt   82   
option dhcp6_inf_max_rt   83   
    # Request 94, 95 and 96      
option dhcp6_s46_cont_mape   94   
option dhcp6_s46_cont_mapt   95   
option dhcp6_s46_cont_lw   96