Feature #1663
closedDHCPv6 relay
Added by Chris Buechler over 13 years ago. Updated over 11 years ago.
0%
Description
Need to add support for DHCPv6 relay. Can just copy DHCP Relay as DHCPv6 Relay, the existing dhcrelay supports IPv6 run separately with -6.
Updated by Seth Mos over 13 years ago
I'll Investigate the needs. Page probably needs a total makeover because next to nothing that exists in ipv4 can be ported over.
Only ntp servers would work. There aren't even config options for boot servers and the like.
Updated by Chris Buechler over 13 years ago
DHCP Relay page only has 4 fields which are all the same between v4 and v6 with the exception of input validation. I think you're thinking of something else.
Updated by Darwin Mach almost 13 years ago
The settings for DHCP Relay v6 on the latest snapshot aren't saving.
1.) Set it up
2.) Save it
3.) Navigate away, then back
4.) Settings gone
Updated by Seth Mos over 12 years ago
- Status changed from Feedback to Assigned
- Assignee set to Seth Mos
Ok, found the glaring error, doesn't start, config is rubbish. Need to properly code this. Arguments to dhcrelay -6 very different.
Updated by Jim Pingle almost 12 years ago
- Status changed from New to Feedback
Code was added as of f15849b5e4961e5c76931a8891ea7a7e2f6f3c53 but probably still needs some testing.
Updated by Chris Buechler over 11 years ago
- Status changed from Feedback to Resolved
Updated by Doktor Notor over 11 years ago
This is very, very broken. It can never be stopped via disabling the checkbox and clicking save. On subsequent enabling, it launches another process, and so on and so on and so on. I also don't think multiple ifaces are handled at all, looking at the commandline.
Example, first enabled:
# ps ax | grep dhc
10435 ?? Is 0:00.00 /usr/local/sbin/dhcrelay -i vr0 -i vr2 -i ath0_wlan0
25394 ?? Ss 0:00.88 /usr/sbin/syslogd -s -c -c -l /var/dhcpd/var/run/log
78114 ?? Is 0:00.00 /usr/local/sbin/dhcrelay -6 -pf /var/etc/dhcrelay6.pi
Disabled and enabled again:
# ps ax | grep dhc
297 ?? Ss 0:00.00 /usr/local/sbin/dhcrelay -6 -pf /var/etc/dhcrelay6.pi
10435 ?? Is 0:00.00 /usr/local/sbin/dhcrelay -i vr0 -i vr2 -i ath0_wlan0
25394 ?? Ss 0:00.88 /usr/sbin/syslogd -s -c -c -l /var/dhcpd/var/run/log
78114 ?? Is 0:00.00 /usr/local/sbin/dhcrelay -6 -pf /var/etc/dhcrelay6.pi
Another cycle:
# ps ax | grep dhc
297 ?? Is 0:00.00 /usr/local/sbin/dhcrelay -6 -pf /var/etc/dhcrelay6.pi
10435 ?? Is 0:00.00 /usr/local/sbin/dhcrelay -i vr0 -i vr2 -i ath0_wlan0
25394 ?? Ss 0:00.90 /usr/sbin/syslogd -s -c -c -l /var/dhcpd/var/run/log
38973 ?? Is 0:00.00 /usr/local/sbin/dhcrelay -6 -pf /var/etc/dhcrelay6.pi
78114 ?? Is 0:00.00 /usr/local/sbin/dhcrelay -6 -pf /var/etc/dhcrelay6.pi
Updated by Doktor Notor over 11 years ago
Related forum thread: http://forum.pfsense.org/index.php/topic,64168.0.html
Updated by Doktor Notor over 11 years ago
Also, the service does not start on boot, since there is no mention of services_dhcrelay6_configure() in /etc/rc.bootup
Updated by Phillip Davis over 11 years ago
Starting at boot is resolved by https://github.com/pfsense/pfsense/pull/710
Stop/start/restart and enable/disable of the service in real-time is resolved by https://github.com/pfsense/pfsense/pull/711
I think that fixes the issues reported by Doktor Notor above.
Updated by Doktor Notor over 11 years ago
Afraid the thing still does not get stopped with 711.
Updated by Doktor Notor over 11 years ago
Grrr, missed one part of the patch... All works now:
- service started on boot
- Pv6 addresses assigned
- the enable checkbox stop and starts the service upon saving the toggled state
- services status show correctly and can be stopped/restarted using Status - Services and the widget
Thumbs up and thanks, Phillip!