OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of redakula »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Topics - redakula

Pages: [1]
1
20.7 Legacy Series / IPV6 gateway / Router advertisement
« on: 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:
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?

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2