Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
IPv6 working great, RADVD log still saying Network is down
« previous
next »
Print
Pages: [
1
]
Author
Topic: IPv6 working great, RADVD log still saying Network is down (Read 4456 times)
joeyboon
Newbie
Posts: 41
Karma: 2
IPv6 working great, RADVD log still saying Network is down
«
on:
September 29, 2021, 03:13:49 pm »
I finally got around to implementing IPv6 on my network. It works great on all subnets and I score good on the connectiontest on internet.nl and test-ipv6.com. It works on Debian, Android, iOS, MacOS and Windows. However the RADVD log registers an error around every five minutes:
2021-09-29T15:03:30 radvd[80798] sendmsg: Network is down
2021-09-29T14:56:25 radvd[80798] sendmsg: Network is down
2021-09-29T14:51:31 radvd[80798] sendmsg: Network is down
2021-09-29T14:47:39 radvd[80798] sendmsg: Network is down
2021-09-29T14:39:50 radvd[80798] sendmsg: Network is down
I'm currently running:
OPNsense 21.7.3_1-amd64
FreeBSD 12.1-RELEASE-p20-HBSD
LibreSSL 3.3.4
My ISP provides me with a /48 via DHCPv6 through the IPv4 PPPoE tunnel. On my WAN interface I selected DHCPv6 as IPv6 Configuration Type and checked the following options
Request only an IPv6 prefix *checked*
Prefix Delegation size 48
Send IPv6 prefix hint *unchecked*
Use IPv4 Connectivity *checked*
Use VLAN priority *Disabled*
On the LAN interface (and others) I selected Track Interface as IPv6 Configuration Type and selected the following options:
IPv6 interface: WAN
IPv6 Prefix ID: (whatever the VLAN of that particular interface is to make it more recognizable)
Manual configuration *unchecked*
Anyone has any idea what could be wrong? Everything seems to be in working order, so troubleshooting is a bit tough. Any help would be appreciated. Thanks!
Logged
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: IPv6 working great, RADVD log still saying Network is down
«
Reply #1 on:
September 29, 2021, 07:13:16 pm »
Are you allowing ICMPv6 on all your internal networks? You need it for hosts to join multicast groups which form the backbone of IPv6 networking.
Bart...
Logged
joeyboon
Newbie
Posts: 41
Karma: 2
Re: IPv6 working great, RADVD log still saying Network is down
«
Reply #2 on:
September 29, 2021, 08:12:21 pm »
Hi Bart,
I've only created an allow ICMPv6 echo requests allow rule to my subnet alias on the WAN interface as described in the post:
https://forum.opnsense.org/index.php?topic=16743.msg84771
I was under the impression that internally everything would work. Do I need to to this for every internal network interface? Thanks for the help. I'm fairly new to IPv6
Logged
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: IPv6 working great, RADVD log still saying Network is down
«
Reply #3 on:
September 30, 2021, 07:14:27 am »
I've allowed it everywhere. In IPv4 you block ICMP to stop attackers from mapping out your internal hosts. Working out how long that will take over 1 ms for a /64 subnet is left as an exercise to the reader
Bart...
Logged
joeyboon
Newbie
Posts: 41
Karma: 2
Re: IPv6 working great, RADVD log still saying Network is down
«
Reply #4 on:
September 30, 2021, 09:42:36 am »
Hi Bart,
I've added the following rule to every internal interface:
However RADVD still logging:
2021-09-30T09:37:21 radvd[89885] sendmsg: Network is down
2021-09-30T09:28:34 radvd[89885] sendmsg: Network is down
2021-09-30T09:21:21 radvd[89885] sendmsg: Network is down
Any other suggestions? Or do I need to enable more then just Echo requests?
«
Last Edit: September 30, 2021, 09:44:59 am by joeyboon
»
Logged
joeyboon
Newbie
Posts: 41
Karma: 2
Re: IPv6 working great, RADVD log still saying Network is down
«
Reply #5 on:
September 30, 2021, 09:52:05 am »
On the WAN interface I have the following rule btw (also only allowing Echo requests):
Logged
Patrick M. Hausen
Hero Member
Posts: 6825
Karma: 572
Re: IPv6 working great, RADVD log still saying Network is down
«
Reply #6 on:
September 30, 2021, 09:54:48 am »
ICMP echo and specifically unicast addresses are not enough. You need a whole bunch of multicast and different ICMP subprotocols for IPv6 to work.
Did you disable all automatic rules? Because for router advertisements and neighbor discovery all the necessary rules should be created as "floating" by OPNsense automatically.
HTH,
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
joeyboon
Newbie
Posts: 41
Karma: 2
Re: IPv6 working great, RADVD log still saying Network is down
«
Reply #7 on:
September 30, 2021, 10:01:24 am »
Hi Patrick,
I have not disabled them. These are the rules that are automagically generated on the same internal example interface:
These are the floating rules generated:
As mentioned IPv6 seems to be working correctly (at least according to all the ipv6 tests on the web I've tried). The only problem is RADVD stating the network is down while it clearly is not (and me being a noob when it comes to IPv6).
«
Last Edit: September 30, 2021, 10:07:13 am by joeyboon
»
Logged
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: IPv6 working great, RADVD log still saying Network is down
«
Reply #8 on:
September 30, 2021, 12:16:15 pm »
I've just applied these ICMP types on these interfaces:
https://i.kym-cdn.com/photos/images/newsfeed/000/239/389/a24.jpg
Bart...
Logged
joeyboon
Newbie
Posts: 41
Karma: 2
Re: IPv6 working great, RADVD log still saying Network is down
«
Reply #9 on:
September 30, 2021, 06:28:04 pm »
If I understand correctly all the rules mentioned in the RFC
https://datatracker.ietf.org/doc/html/rfc4890
are taken care of automagically by OPNsense. I found this post on the Netgate forum discussing this
https://forum.netgate.com/topic/138243/2-4-4-icmpv6-firewall-rules
. They mention everything should work out of the box (except for Echo requests).
The above seem to correspond with my experience. Since everything seems to be working correctly, except RADVD telling me that the network is down. How does it check this?
Since I receive a /48 via DHCPv6 through the IPv4 PPPoE tunnel, my WAN interface and IPv6 default gateway both are a link local address and do not have their own IPv6 address. Could this be the problem? Because of this IPv6 gateway monitoring also can't be enabled as far as I understand (and would be not very useful anyway).
Logged
Patrick M. Hausen
Hero Member
Posts: 6825
Karma: 572
Re: IPv6 working great, RADVD log still saying Network is down
«
Reply #10 on:
September 30, 2021, 07:14:15 pm »
If you use "Track Interface" for LAN, you can enable "Manual Configuration" for Router Advertisements. This will enable a "Router Advertisments" section in the "Services" menu with fine grained control over which interface to run rdadvd on and which one not.
HTH,
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
joeyboon
Newbie
Posts: 41
Karma: 2
Re: IPv6 working great, RADVD log still saying Network is down
«
Reply #11 on:
September 30, 2021, 08:31:36 pm »
Hi Patrick,
IPv6 works on all internal interfaces, so I don't think using that option will help. I increased radvd debuglevel to 5 and this is what it reports:
2021-09-30T20:20:28 radvd[40069] polling for 10 second(s), next iface is lo
2021-09-30T20:20:28 radvd[40069] lo next scheduled RA in 10 second(s)
2021-09-30T20:20:28 radvd[40069] send_ra_forall failed on interface lo
2021-09-30T20:20:28 radvd[40069] not sending RA for lo, interface is not ready
2021-09-30T20:20:28 radvd[40069] lo not found: Device not configured
2021-09-30T20:20:28 radvd[40069] timer_handler called for lo
2021-09-30T20:20:18 radvd[40069] polling for 10 second(s), next iface is lo
2021-09-30T20:20:18 radvd[40069] lo next scheduled RA in 10 second(s)
2021-09-30T20:20:18 radvd[40069] send_ra_forall failed on interface lo
2021-09-30T20:20:18 radvd[40069] not sending RA for lo, interface is not ready
2021-09-30T20:20:18 radvd[40069] lo not found: Device not configured
2021-09-30T20:20:18 radvd[40069] timer_handler called for lo
2021-09-30T20:20:08 radvd[40069] polling for 10 second(s), next iface is lo
2021-09-30T20:20:08 radvd[40069] lo next scheduled RA in 10 second(s)
2021-09-30T20:20:08 radvd[40069] send_ra_forall failed on interface lo
2021-09-30T20:20:08 radvd[40069] not sending RA for lo, interface is not ready
2021-09-30T20:20:08 radvd[40069] lo not found: Device not configured
2021-09-30T20:20:08 radvd[40069] timer_handler called for lo
2021-09-30T20:19:58 radvd[40069] polling for 10 second(s), next iface is lo
2021-09-30T20:19:58 radvd[40069] lo next scheduled RA in 10 second(s)
2021-09-30T20:19:58 radvd[40069] send_ra_forall failed on interface lo
2021-09-30T20:19:58 radvd[40069] not sending RA for lo, interface is not ready
2021-09-30T20:19:58 radvd[40069] lo not found: Device not configured
2021-09-30T20:19:58 radvd[40069] timer_handler called for lo
2021-09-30T20:19:58 radvd[40069] polling for 0 second(s), next iface is lo
2021-09-30T20:19:58 radvd[40069] interface lo does not exist or is not set up properly, ignoring the interface
2021-09-30T20:19:58 radvd[40069] lo not found: Device not configured
2021-09-30T20:19:58 radvd[40069] validated pid file, /var/run/radvd.pid: 40069
Any suggestions?
Logged
joeyboon
Newbie
Posts: 41
Karma: 2
Re: IPv6 working great, RADVD log still saying Network is down
«
Reply #12 on:
September 30, 2021, 10:26:14 pm »
RADVD seems to try and address the loopback interface, but the loopbackinterface is called lo0 not lo. I can't seem to find where in the config of radvd this is configured. The search continues
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
IPv6 working great, RADVD log still saying Network is down