dhcrelay4: add support for up/downstream interfaces

dhcrelay has the ability to monitor interfaces for requests
in a single direction only rather than listening to all
interfaces for requests.

Doing this allows one to suppress the duplication of having
the relay forward requests from the same network that the
DHCP server is on.

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
This commit is contained in:
Brian J. Murrell
2018-01-07 10:44:19 -05:00
parent c750f17fff
commit 93420826ab
3 changed files with 15 additions and 1 deletions
+2
View File
@@ -7,6 +7,8 @@ config dhcrelay ipv4
# network interfaces to listen on (e.g. lan or wan)
option 'interfaces' ''
option 'upstream_interfaces' ''
option 'downstream_interfaces' ''
# What to do about packets that already have a relay option:
# 'append': Forward and append our own relay option