Commit Graph

5 Commits

Author SHA1 Message Date
jow
6ca07c5c90 isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option
RFC3527 link selection sub-option is used to select the "uplink" interface of
dhcrelay in cases where the DHCP server does not know how to reach the dhcrelay
based on the DHCP range. This can happen in weird network configurations like
Mesh networks.

Signed-off-by: Bruno Randolf <br1@einfach.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@38447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-18 11:40:00 +00:00
jow
a8ce2d5f8c isc-dhcp: dhcrelay: Add more UCI options
Add more options to dhcrelay UCI and init script:

- enabled
- interfaces: Listen interfaces
- relay_mode: What to do about packets that already have a relay option

Also mark /etc/config/dhcrelay as conffile

Signed-off-by: Bruno Randolf <br1@einfach.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@38446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-18 11:39:56 +00:00
florian
d01c5096f1 isc-dhcp-relay: Add init scripts for ipv4 and ipv6 as well as config
file

I cleaned up the patch so line do not overflow and removed some white
space in hope to get it accepted or revised.

As isc-dhcp-relay does not come with an init script, I made one based
on sysntpd init.d file for both ipv4 and ipv6.

If you need more arguments from isc-dhcp-relay to be included in the
config file, I'll be able to add them.

This patch has been applied to trunk and compiles/install on my side.

The script for ipv4 and ipv6 have been tested with the
isc-dhcp-relay-ipv6 binary and work well (start/stop with the right
settings).

Signed-off-by: Jérôme Poulin <jeromepoulin@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@34485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:20:51 +00:00
florian
69d29cdb73 [package] isc-dhcp: only run on requested interfaces (#11008)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-07 16:09:23 +00:00
luka
27814fecd9 [packages] dhcp: rename to isc-dhcp and fix ipv6 support
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27 20:59:55 +00:00