Monday, November 3, 2008

Ubuntu DHCP RELAY

1. Install package of dhcp relay server
root# apt-get install dhcp3-relay

2. configure etc/default/dhcp3-relay
# What servers should the DHCP relay forward requests to?
SERVERS="10.0.0.11"
# On what interfaces should the DHCP relay (dhrelay) serve DHCP requests?
INTERFACES="eth0 eth1"

3. Edit sysctl.conf to enable ip forward
net.ipv4.tcp_syncookies=1
net.ipv4.ip_forward=1

0 comments: