1
General Discussion / Re: SLAAC: which OPNsense settings are relevant?
« on: February 03, 2024, 02:23:36 pm »
So far I appear to have always been able to get things working by randomly changing the settings, but today I have taken my first steps in Wireshark .
But first I have made significant changes to simplify my setup as much as possible:
* I removed all custom routes and gateways (at least temporary)
* I updated to OPNsense 24.1
* I migrated dhcpd, unbound and ntpsec on my Rpi to Kea, unbound and chrony on OPNsense
* I have disabled all multicast optimizations in my Unifi Network application (WiFi and overall network) as well as in my central Cisco switch.
So now all network services are running in OPNsense and I have disabled the Rpi (temporarily).
Wireshark on my laptop (wlan0, same WiFi as my android phone) picks up these 6 "IPv6 Multicast" messages every 300-500 seconds:
The Router Advertisement packet contains:
But first I have made significant changes to simplify my setup as much as possible:
* I removed all custom routes and gateways (at least temporary)
* I updated to OPNsense 24.1
* I migrated dhcpd, unbound and ntpsec on my Rpi to Kea, unbound and chrony on OPNsense
* I have disabled all multicast optimizations in my Unifi Network application (WiFi and overall network) as well as in my central Cisco switch.
So now all network services are running in OPNsense and I have disabled the Rpi (temporarily).
Wireshark on my laptop (wlan0, same WiFi as my android phone) picks up these 6 "IPv6 Multicast" messages every 300-500 seconds:
Code: [Select]
No. Time Source Destination Protocol Length Info
43 1862.997666324 fe80::20d:b9ff:fe45:cc09 ff02::1 ICMPv6 190 Router Advertisement from 00:0d:b9:45:cc:09
44 1862.998941542 fe80::3354:e5e9:84ba:9992 ff02::1 ICMPv6 86 Neighbor Advertisement 2a02:xxxx:xxxx:xxxx:2e1f:1791:743d:a738 (ovr) is at 5c:e4:2a:d0:a5:2f
45 1863.011271674 fe80::3354:e5e9:84ba:9992 ff02::16 ICMPv6 110 Multicast Listener Report Message v2
46 1863.914649666 fe80::3354:e5e9:84ba:9992 ff02::16 ICMPv6 110 Multicast Listener Report Message v2
47 1864.000173244 fe80::3354:e5e9:84ba:9992 ff02::1 ICMPv6 86 Neighbor Advertisement 2a02:xxxx:xxxx:xxxx:2e1f:1791:743d:a738 (ovr) is at 5c:e4:2a:d0:a5:2f
48 1865.001346469 fe80::3354:e5e9:84ba:9992 ff02::1 ICMPv6 86 Neighbor Advertisement 2a02:xxxx:xxxx:xxxx:2e1f:1791:743d:a738 (ovr) is at 5c:e4:2a:d0:a5:2f
The Router Advertisement packet contains:
Code: [Select]
Frame 43: 190 bytes on wire (1520 bits), 190 bytes captured (1520 bits) on interface wlan0, id 0
Ethernet II, Src: PCEngines_45:cc:09 (00:0d:b9:45:cc:09), Dst: IPv6mcast_01 (33:33:00:00:00:01)
Internet Protocol Version 6, Src: fe80::20d:b9ff:fe45:cc09, Dst: ff02::1
Internet Control Message Protocol v6
Type: Router Advertisement (134)
Code: 0
Checksum: 0x69bf [correct]
[Checksum Status: Good]
Cur hop limit: 64
Flags: 0x00, Prf (Default Router Preference): Medium
0... .... = Managed address configuration: Not set
.0.. .... = Other configuration: Not set
..0. .... = Home Agent: Not set
...0 0... = Prf (Default Router Preference): Medium (0)
.... .0.. = ND Proxy: Not set
.... ..00 = Reserved: 0
Router lifetime (s): 600
Reachable time (ms): 0
Retrans timer (ms): 0
ICMPv6 Option (Prefix information : 2a02:xxxx:xxxx:xxxx::/64)
ICMPv6 Option (Route Information : Medium 2a02:xxxx:xxxx:xxxx::/64)
ICMPv6 Option (Recursive DNS Server 2a02:xxxx:xxxx:xxxx::1)
ICMPv6 Option (DNS Search List Option <domain>)
ICMPv6 Option (MTU : 1500)
ICMPv6 Option (Source link-layer address : 00:0d:b9:45:cc:09)