Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. cat > /etc/dhcp/dhcpd.conf << "EOF"
  2. # Begin /etc/dhcp/dhcpd.conf
  3. #
  4. # Example dhcpd.conf(5)
  5.  
  6. # Use this to enble / disable dynamic dns updates globally.
  7. ddns-update-style none;
  8.  
  9. # option definitions common to all supported networks...
  10. option domain-name "example.org";
  11. option domain-name-servers ns1.example.org, ns2.example.org;
  12.  
  13. default-lease-time 600;
  14. max-lease-time 7200;
  15.  
  16. # This is a very basic subnet declaration.
  17. subnet 10.254.239.0 netmask 255.255.255.224 {
  18. range 10.254.239.10 10.254.239.20;
  19. option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
  20. }
  21.  
  22. # End /etc/dhcp/dhcpd.conf
  23. EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement