You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dhcpd.conf 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # dhcpd.conf
  2. #
  3. # Sample configuration file for ISC dhcpd
  4. #
  5. # option definitions common to all supported networks...
  6. DHCPD_INTERFACE = "ib0";
  7. # if you do not use dynamical DNS updates:
  8. #
  9. # this statement is needed by dhcpd-3 needs at least this statement.
  10. # you have to delete it for dhcpd-2, because it does not know it.
  11. #
  12. # if you want to use dynamical DNS updates, you should first read
  13. # read /usr/share/doc/packages/dhcp-server/DDNS-howto.txt
  14. ddns-update-style none; ddns-updates off;
  15. filename "pxelinux.bin";
  16. # If this DHCP server is the official DHCP server for the local
  17. # network, the authoritative directive should be uncommented.
  18. #authoritative;
  19. # No service will be given on this subnet, but declaring it helps the
  20. # DHCP server to understand the network topology.
  21. subnet 10.152.187.0 netmask 255.255.255.0 {
  22. }
  23. # This declaration allows BOOTP clients to get dynamic addresses,
  24. # which we don't really recommend.
  25. shared-network "ipoib_network" {
  26. subnet 11.4.8.0 netmask 255.255.255.0 {
  27. option dhcp-client-identifier = option dhcp-client-identifier;
  28. option subnet-mask 255.255.255.0;
  29. option domain-name "yok.mtl.com";
  30. option domain-name-servers 10.0.0.1;
  31. default-lease-time 28800;
  32. max-lease-time 86400;
  33. next-server 11.4.8.99;
  34. }
  35. }
  36. # You need one such entry for each client
  37. host swlab35 {
  38. fixed-address 11.4.8.35; # the IP address to be assigned to the client
  39. # The value of the client identifier must be comprised from the prefix 20:00:
  40. # folowed by the client's ipoib qp number - 55:04:01 in this example -
  41. # followed by the GID of the port
  42. option dhcp-client-identifier = 20:00:55:04:01:fe:80:00:00:00:00:00:00:00:02:c9:00:01:70:8a:81;
  43. }