Subject: dhcp3-relay

From: Marcus Schmidt <[email-masked]>
Date: Tue, 4 Jan 2005 17:55:55 +0100

Hello,

my scenario:
- VLAN A with a dhcp server on an windows box
- VLAN B with some Windows boxes and without dhcp. The VLAN configuration allows
no connection to the dhcp in VLAN A
- a linux box running Debian stable with dhcp3-relay connected to VLAN A via
eth0 and connected to VLAN B via eth1

problem:
the dhcp3-relay should forward dhcp requests in VLAN B to the dhcp in VLAN A

first setup configuration:
# Defaults for dhcp3-relay initscript
# sourced by /etc/init.d/dhcp3-relay
# installed at /etc/default/dhcp3-relay by the maintainer scripts

#
# This is a POSIX shell fragment
#

# What servers should the DHCP relay forward requests to?
SERVERS="aaa.bbb.ccc.ddd"

# On what interfaces should the DHCP relay (dhrelay) serve DHCP requests?
INTERFACES="eth1"

# Additional options that are passed to the DHCP relay daemon?
OPTIONS=""

-> does not work for machines in VLAN B

second setup configuration:
# Defaults for dhcp3-relay initscript
# sourced by /etc/init.d/dhcp3-relay
# installed at /etc/default/dhcp3-relay by the maintainer scripts

#
# This is a POSIX shell fragment
#

# What servers should the DHCP relay forward requests to?
SERVERS="aaa.bbb.ccc.ddd"

# On what interfaces should the DHCP relay (dhrelay) serve DHCP requests?
INTERFACES=""

# Additional options that are passed to the DHCP relay daemon?
OPTIONS=""

-> with empty param INTERFACES
-> works for the machines in VLAN B, but the dhcp server gets duplicate dhcp
requests for the machines in VLAN A

Do I misunderstand the configuration of the dhcp3-relay? Or is my configuration
right and the dhcp3-relay is not working properly?

Best Regards,
Marcus