Bug #6289
open
IPv6 address not given to track6 interfaces on create
Added by Anonymous about 9 years ago.
Updated over 3 years ago.
Affected Architecture:
All
Description
If you create a new LAN-type interface with the IPv6 set to track another interface, the new interface does not get an IPv6 address until either a reboot or the tracked interface is saved and applied. The correct behavior would be to assign the IPv6 address immediately after creating the tracking interface.
what type of WAN are you tracking? I fixed that for DHCP6 tracking in 2.3, at least for the circumstance where I was seeing issues (which was exactly as described).
It is the default WAN configuration in pfSense with DHCPv6 for IPv6. I have it configured to request a /56 and send the prefix hint with the request.
Here is the system log output I get when adding an interface:
Apr 29 11:56:30 check_reload_status Restarting ipsec tunnels
Apr 29 11:56:34 check_reload_status updating dyndns opt2
Apr 29 11:56:34 php-fpm 5856 /interfaces.php: The command '/sbin/ifconfig lagg0_vlan2 inet6 fe80::208:a2ff:fe0a:96a1%lagg0_vlan2 delete' returned exit code '1', the output was 'ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address'
Apr 29 11:56:35 kernel cannot forward src fe80:11::baae:edff:fe73:314a, dst 2606:a000:4446:9502:f5:8eff:fe59:a01, nxt 58, rcvif bridge1, outif igb1
Apr 29 11:56:35 php-fpm 53070 /rc.newwanipv6: rc.newwanipv6: Info: starting on igb1.
Apr 29 11:56:35 php-fpm 53070 /rc.newwanipv6: rc.newwanipv6: on (IP address: 2606:a000:bfc0:90:6189:372b:1790:755d) (interface: wan) (real interface: igb1).
Apr 29 11:56:36 php-fpm 5856 /interfaces.php: Removing static route for monitor 2606:a000:0:4::8:356 and adding a new route through fe80::217:10ff:fe89:6f16
Apr 29 11:56:36 php-fpm 53070 /rc.newwanipv6: dpinger: No dpinger session running for gateway WAN_DHCP6
Apr 29 11:56:36 check_reload_status Reloading filter
Apr 29 11:56:36 php-fpm 5856 /interfaces.php: RRD create failed exited with 1, the error is: ERROR: you must define at least one Data Source
Apr 29 11:56:36 php-fpm 5856 /interfaces.php: RRD create failed exited with 1, the error is: ERROR: you must define at least one Data Source
Apr 29 11:56:36 php-fpm 5856 /interfaces.php: Creating rrd update script
Apr 29 11:56:38 xinetd 35627 Starting reconfiguration
Apr 29 11:56:38 xinetd 35627 Swapping defaults
Apr 29 11:56:38 xinetd 35627 readjusting service 6969-udp
Apr 29 11:56:38 xinetd 35627 Reconfigured: new=0 old=1 dropped=0 (services)
dhcp6c needs to be restarted to add and a new track interface to dhcp6c.conf
Also available in: Atom
PDF