Advertisement
Guest User

Untitled

a guest
Apr 30th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. etc/dhcp/dhcpd.conf
  2. #ddns-update-style none;
  3. default-lease-time 600;
  4. max-lease-time 2400;
  5.  
  6. option subnet-mask 255.255.255.0;
  7. option broadcast-address 10.10.1.255;
  8. option routers 10.10.1.254;
  9. option domain-name-servers 10.10.1.1, 10.10.1.2;
  10. option domain-name "serverlan.domain";
  11.  
  12. subnet 10.10.1.0 netmask 255.255.255.0 {
  13. range 10.10.1.11 10.10.1.200;
  14. }
  15.  
  16. ====
  17. etc/network/interfaces
  18. #the loopback network interface
  19. auto lo
  20. iface lo inet loopback
  21.  
  22. #the primary network interface (facing the iweb)
  23. auto eth1
  24. iface eth1 inet dhcp
  25.  
  26. #seconday network card (facing the lan)
  27. auto eth0
  28. iface eth0 inet static
  29. address 10.10.1.1
  30. netmask 255.255.255.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement