Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DHCPv6 prefix delegation not probed on boot #637

Closed
fichtner opened this issue Jan 10, 2016 · 10 comments
Closed

DHCPv6 prefix delegation not probed on boot #637

fichtner opened this issue Jan 10, 2016 · 10 comments
Assignees
Labels
bug Production bug
Milestone

Comments

@fichtner
Copy link
Member

After a reboot it doesn't ask the providers DHCPv6 server for a prefix delegation, therefore my provider (Init7) doesn't route my static IPv6 /48 range to my box. Manually invoking

# /var/etc/rtsold_[...].sh

fixes this until next reboot.

The issue #47 and post https://forum.opnsense.org/index.php?topic=1533.0 seem related.

via: https://forum.opnsense.org/index.php?topic=1950.0

@fichtner fichtner added the bug Production bug label Jan 10, 2016
@fichtner fichtner added this to the 16.1 milestone Jan 10, 2016
@fichtner
Copy link
Member Author

interface_dhcpv6_configure() isn't called as often as its IPv4 sibling. E.g. rc.linkup does not call newipv6 even though it checks for IPv6 a few lines earlier: https://github.com/opnsense/core/blob/master/src/etc/rc.linkup#L63 and interface_configure() doesn't call it either... https://github.com/opnsense/core/blob/master/src/etc/rc.linkup#L77

@fichtner fichtner self-assigned this Feb 4, 2016
@fichtner fichtner modified the milestones: 16.7, 16.1 Feb 4, 2016
@fichtner
Copy link
Member Author

timeout

@fichtner fichtner reopened this Apr 27, 2016
@fichtner
Copy link
Member Author

People have suggested that this may be due to an utter lack of RAs in their network.

@fichtner
Copy link
Member Author

There seems to be a very similar issue here: https://redmine.pfsense.org/issues/5993

I've added an option that does what you initially suggested: direct run the dhcp6 client.

@fichtner
Copy link
Member Author

I think we figured this out, all code in 16.7. Fixing bugs inline if needed. Thanks everyone!

@onitake
Copy link

onitake commented Aug 27, 2016

Please reopen this bug, I'm running OPNsense 16.7.2 and I have exactly the same problem as described.

Your workaround (running /var/etc/rtsold_[...].sh directly) fixes it temporarily, but it's not possible to get persistent IPv6 PD.

I even tried to replicate the (working) configuration I had back in pfSense, but to no avail. No DHCPv6 client is started and no DHCPv6 packets are sent.

@fichtner
Copy link
Member Author

@onitake have you tried the "Directly send SOLICIT" option in your WAN configuration?

@onitake
Copy link

onitake commented Aug 28, 2016

Hmm. Interesting. This works. I was sure I tried this before though?
Looks like it just took some time to get that lease.
dhcp6c is being started now, and it propagates the configured prefix to the LAN.

Ok. That part is sorted out. Next up, I'm not getting any return traffic for the delegated network. I can see the packets being sent out through the WAN, but there is nothing in response. Doesn't seem like it's a firewall problem, and it's almost definitely not the ISPs fault, as I had IPv6 working before.

@fichtner
Copy link
Member Author

@onitake so far so good :)

Can you open a new ticket? It's better to start fresh with some more info: When / how was it working, which versions specifically and whether or not there is any indication in the firewall logs for dropped traffic or packet captures on WAN (don't have to share, only look into for return traffic).

@onitake
Copy link

onitake commented Aug 30, 2016

I can, however, the initial symptoms pointed to the same bug as described here. (and thus, the fix not doing what it should)
I'm still a bit suspicious if what I'm seeing now is not a stale lease that was stored and reused. That would explain the lack of incoming traffic. I will investigate further and open a new issue once I've collected some data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Production bug
Development

No branches or pull requests

2 participants