Dies ist eine alte Version des Dokuments!
/etc/dhcp/dhcpd.conf
: ( debian 6.0 )
/etc/dhcpd.conf
: ( openSuSE 12.1, centos 6 )
subnet 10.1.1.0 netmask 255.255.255.0 { range 10.1.1.10 10.1.1.20; option domain-name "sub.example.com"; option routers 10.1.1.2; option broadcast-address 10.1.1.255; default-lease-time 600; max-lease-time 7200; } host vm3 { hardware ethernet 52:54:00:6f:2f:01; fixed-address 10.1.1.5; }
Paket:
isc-dhcp-relay
/etc/default/isc-dhcp-relay
:
SERVERS="192.168.226.3" # On what interfaces should the DHCP relay (dhrelay) serve DHCP requests? INTERFACES="" # Additional options that are passed to the DHCP relay daemon? OPTIONS="-a"
/usr/sbin/dhcrelay -d 192.168.226.3