tuxmartin

Ukazka nastaveni ISC DHCP serveru

Jun 9th, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. $ cat /etc/dhcp/dhcpd.conf
  2. default-lease-time 3600;
  3. max-lease-time 7200;
  4.  
  5. subnet 192.168.1.0 netmask 255.255.255.0 {
  6. option subnet-mask 255.255.255.0;
  7. option domain-name-servers 192.168.1.1, 8.8.8.8, 93.89.159.2, 82.208.56.105;
  8. option ntp-servers 192.168.1.1;
  9. option domain-name "lan";
  10. option broadcast-address 192.168.1.255;
  11. option routers 192.168.1.1;
  12. # option netbios-name-servers 192.168.1.25;
  13. range 192.168.1.10 192.168.1.100;
  14. ddns-update-style none;
  15. authoritative;
  16.  
  17. host martin {
  18. hardware ethernet 74:2f:68:9f:e3:8b;
  19. fixed-address 192.168.1.11;
  20. }
  21.  
  22. host htpc {
  23. hardware ethernet 10:00:00:20:98:1A;
  24. fixed-address 192.168.1.14;
  25. }
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment