dhcp BACK .. DHCP-Server installieren und konfigurieren ========================================== ################################################################################ # Installieren des DHCP-Servers: cd /usr/ports/net/isc-dhcp3/ make install && make clean # Konfigurieren des DHCP-Servers: vi rc.isc-dhcpd.conf dhcpd_options="-cf /usr/local/etc/dhcpd.conf" # command option(s) dhcpd_ifaces="fxp0" # ethernet interface(s) vi /usr/local/etc/dhcpd.conf ddns-update-style none; ddns-updates off; authoritative; server-identifier dns-server.domain.de; default-lease-time 7200; max-lease-time 14400; get-lease-hostnames off; subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.129 192.168.0.254; option domain-name "domain.de"; option domain-name-servers 192.168.1.254; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.100; authoritative; } # host ein_name { # hardware ethernet 0X:0Y:0Z:0Ä0B:0C; # fixed-address 192.168.0.xyz; #} cp /usr/local/etc/rc.d/isc-dhcpd.sh.sample /usr/local/etc/rc.d/isc-dhcpd.sh chmod 755 /usr/local/etc/rc.d/isc-dhcpd.sh touch /var/db/dhcpd.leases # Starten des DHCP-Servers: /usr/local/etc/rc.d/isc-dhcpd.sh start ################################################################################ [IMG]