Portál AbcLinuxu, 1. května 2025 09:26
apt-get install dhcpd3-servernastavim si /etc/dhcpd3/dhcpd.conf
#[/etc/dhcpd.conf] #pripraveno pro ddns #ddns-update-style ad-hoc; #option domain-name "home.net"; option routers 192.168.1.2; option domain-name-servers 192.168.1.2; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; default-lease-time 3600; max-lease-time 7200; # HOME-net subnet 192.168.1.0 netmask 255.255.255.0 { max-lease-time 3600; default-lease-time 1800; range 192.168.1.50 192.168.1.100; authoritative; # Server host SERVER { hardware ethernet 00:00:00:00:00:00; fixed-address 192.168.1.10; } } #sit na druhe sitovce #subnet 10.0.0.0 netmask 255.255.255.255 { # not authoritative; #}spustim /etc/init.d/dhcpd3 start
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.