Problem with IPv6.RA Operating Mode not working in latest build.
-
I have found a problem after upgrading from 2.1-BETA0 Built On: Wed May 30 19:35:22 EDT 2012 TO 2.1-BETA0 Built On: Tue Jun 12 05:15:27 EDT 2012
Regardless of the setting in the IPv6 DHCP6/RA page for "Router Advertisements" I only get it to advertise "Managed". See below.
I have tried to set both "Unmanaged" and "Assisted". No change.
Have tried to halt/reboot system with "Unmanaged" set. No change.
Have disabled DHCP6 and removed "Use same settings as DHCPv6 server". No change.I have even tried to set it to "Disabled" but I could still see Router Advertisments (with the Managed Setting)
in my client originating from this router. (which I should not see when it is OFF)Seems like pfSense is stuck in "Managed" mode. :-/
I have tried to change IP of the LAN interface and I could see this change in the RA message
at the client so that part is working, but not changing Operating Mode for RA.Type: Router Advertisement (134)
Code: 0
Checksum: 0x7154 [correct]
Cur hop limit: 64
Flags: 0x80
** 1… .... = Managed address configuration: Set**
.0.. …. = Other configuration: Not set
..0. .... = Home Agent: Not set
...0 0... = Prf (Default Router Preference): Medium (0)
.... .0.. = Proxy: Not set
.... ..0. = Reserved: 0
Router lifetime (s): 60
Reachable time (ms): 0
Retrans timer (ms): 0
ICMPv6 Option (Prefix information : fd00:0:0:10::/64)
Type: Prefix information (3)
Length: 4 (32 bytes)
Prefix Length: 64
Flag: 0xa0
** 1… .... = On-link flag(L): Set
.0.. .... = Autonomous address-configuration flag(A): Not set**
..10 0000 = Reserved: 32
Valid Lifetime: 86400
Preferred Lifetime: 14400
Reserved
Prefix: fd00:0:0:10:: (fd00:0:0:10::)Best regards
Dan Lundqvist
Stockholm, SwedenUPDATE: I reverted to the old build and it seems like RA is still seen even if OperatingMode = disabled.
But now the different modes is working except disabled.
Isn't this a bug? When I set RA to disabled, shouldn't it be quiet and not send out RA ?//Dan
-
I think I know what caused this, I tried to make it backwards compatible with the old mode field but have them reversed.
Sorry. -
Hi,
Thanks for the response. :-)
Will the fix for working Operating mode be included in the tonight's build ?
And also, when I set RA to Disabled, will it stop sending RAs ?Best regards
Dan Lundqvist -
Hard to tell what build has what, they take quite a while.
And yes. Disabled means it should not send any advertisements
-
Hi databeestje,
Someone seems to have committed some fixes now. :-)
I have tested all RA modes and they seem to send the correct flags and also when RA disabled it is quiet. :-)
Router Only
ICMPv6.Flags =
0… .... = Managed address configuration: Not set
.0.. .... = Other configuration: Not set
ICMPv6.OPTION.Prefix information.Flags
0... .... = On-link flag(L): Not set
.0.. .... = Autonomous address-configuration flag(A): Not setUnmanaged
ICMPv6.Flags =
0… .... = Managed address configuration: Not set
.0.. .... = Other configuration: Not set
ICMPv6.OPTION.Prefix information.Flags
1... .... = On-link flag(L): Set
.1.. .... = Autonomous address-configuration flag(A): SetManaged
ICMPv6.Flags =
1… .... = Managed address configuration: Set
.0.. .... = Other configuration: Not set
ICMPv6.OPTION.Prefix information.Flags
1... .... = On-link flag(L): Set
.0.. .... = Autonomous address-configuration flag(A): Not setAssisted
ICMPv6.Flags
0… .... = Managed address configuration: Not set
.1.. .... = Other configuration: Set
ICMPv6.OPTION.Prefix information.Flags
1... .... = On-link flag(L): Set
.1.. .... = Autonomous address-configuration flag(A): SetBest regards
Dan Lundqvist
Stockholm, Sweden