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
IPv6: No route to host #5651
Comments
#5626 maybe related to this issue. |
@KagurazakaNyaa if you want to ping link-local please use link-local setting from ping GUI utility. There's no reason it shouldn't work and I don't think it was ever possible to ping from GUA to link-local... |
OK, then it looks like it shouldn't be related to this issue, the reason I mentioned it is that before the upgrade the default IPv6 route started with |
Can you try a connectivity audit from the firmware GUI first to see if IPv6 works internally or not? |
Yes, it works and the router itself can access the IPv6 network just fine. |
If dhcpd is erroring it would complain about an address no longer in use, which is definitely strange. Can you share an ifconfig on your LAN device? |
Also what's in /var/etc/dhcp6c.conf ? |
On router:
On an arch linux vm:
Devices on the LAN can now only obtain IPv4 addresses. |
bridge0 is your LAN? bridges don't have link-local addresses unless set in GUI. But if bridge0 isn't your LAN you should change the tracker to use LAN interface really and not the bridge. This stuff can be bridged, but depending on what is being bridged it can get fragile really quickly. |
Yes, bridge0 is the LAN interface and it contains three physical interfaces. |
ok happy to hear :) |
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
After the upgrade from 21.7.7, there is a problem with IPv6 routing, unable to assign v6 addresses to LAN devices, and found a lot of
Error dhcpd send_packet6: No route to host
in the DHCP log.At the same time, the default IPv6 route for the WAN interface becomes a link-local address. Testing the connection using either the WAN or LAN interface for this address will return an error. Even though both the WAN and LAN interfaces have acquired valid IPv6 addresses. But the router itself can access the IPv6 network normally whether it is the LAN or the WAN interface. That said, I suspect that only other devices on this router's LAN interface are affected.
To Reproduce
Steps to reproduce the behavior:
/ui/diagnostics/log/core/dhcpd
/system_gateways.php
WAN_DHCP6 (active)
gateway, it start withfe80::
/diag_ping.php
ping6: sendmsg: No route to host
both WAN and LAN2001:4860:4860::8888
Expected behavior
The router itself and other devices it routes should normally obtain IPv6 addresses and access the IPv6 network normally.
Describe alternatives you considered
Reinstalling back to 21.7.7 or earlier fixes the issue, but it's not a good solution as we need to get updates for functionality and security.
Screenshots
Relevant log files
Using the
opnsense-log
tool seems to only get the system log, i.e. the contents of/var/log/system/latest.log
, I checked its contents and it doesn't seem to help with the issue.Additional context
The WAN interface uses DHCPv6 to obtain addresses, and the LAN interface uses the tracking interface.
The WAN interface obtains a prefix of /56, and the DHCPv6 service shows that the available prefix delegation size is 57.
Environment
OPNsense 22.1.4_1-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022
Intel(R) Celeron(R) CPU J3455 @ 1.50GHz (4 cores, 4 threads)
I211 Gigabit Network Connection
The text was updated successfully, but these errors were encountered: