Dhcpd
From Attie's Wiki
(Difference between revisions)
m (Redirected page to Ubuntu server 12.04/dhcp) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | #REDIRECT [[Ubuntu_server_12.04/dhcp]] | ||
+ | |||
Below is Attie's DHCP config file | Below is Attie's DHCP config file | ||
− | <code>/etc/ | + | <code>/etc/dhcp/dhcpd.conf</code>: |
<pre> | <pre> | ||
# 10 mins default | # 10 mins default | ||
Line 31: | Line 33: | ||
} | } | ||
host lan.baloo { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address 192.168.0.1; } # desktop | host lan.baloo { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address 192.168.0.1; } # desktop | ||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
</pre> | </pre> |
Latest revision as of 12:57, 7 August 2012
- REDIRECT Ubuntu_server_12.04/dhcp
Below is Attie's DHCP config file
/etc/dhcp/dhcpd.conf
:
# 10 mins default default-lease-time 600; # 1 day max max-lease-time 86400; option domain-name "local"; authoritave; subnet 192.168.0.0 netmask 255.255.255.0 { option broadcast-address 192.168.0.255; option routers 192.168.0.254; option domain-name local; option domain-name-servers 192.168.0.251; # try to convince clients that DHCP should tell them what thier hostname is use-host-decl-names on; # pxe server-name "192.168.0.251"; filename "./pxelinux.0"; # this option seems to make pxe clients that complain about tsize shutup and work... option vendor-encapsulated-options 09:0f:80:00:0c:4e:65:74:77:6f:72:6b:20:62:6f:6f:74:0a:07:00:50:72:6f:6d:70:74:06:01:02:08:03:80:00:00:47:04:80:00:00:00:ff; pool { range dynamic-bootp 192.168.0.128 192.168.0.192; allow unknown-clients; } host lan.baloo { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address 192.168.0.1; } # desktop }