[[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717215|dhcpd/KVM Bug]] beachten (( Lösungsmöglichkeiten um UDP Checksum-Problem zu vermeiden:
* in KVM e1000 als Netzwerkkarte auswählen,
* oder: TX offloading in der Netzwerkkarte ausschalten
* oder: mit iptables die Checksumme erzeugen
))
===== Konfiguration dhcpd um Subnetz erweitern =====
''/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;
}
===== Konfiguration relay =====
Paket:
* Debian 7: ''isc-dhcp-relay''
''/etc/default/isc-dhcp-relay'' :
SERVERS="192.168.226.3"
# On what interfaces should the DHCP relay (dhrelay) serve DHCP requests?
# leave blank or enter all incoming and outgoing interfaces
INTERFACES=""
# Additional options that are passed to the DHCP relay daemon?
OPTIONS=""
/usr/sbin/dhcrelay -d 192.168.226.3