Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo apt-get install dhcp3-server
- $ sudo gedit /etc/default/dhcp3-server
- INTERFACES=”eth1″
- $ sudo gedit /etc/dhcp3/dhcpd.conf
- # option definitions common to all supported networks...
- default-lease-time 600;
- max-lease-time 7200;
- subnet 10.42.43.0 netmask 255.255.255.0 {
- option domain-name-servers 10.42.43.1;
- option domain-name "jason.huree";
- option subnet-mask 255.255.255.0;
- option broadcast-address 10.42.43.255;
- option routers 10.42.43.1;
- range 10.42.43.2 10.42.43.99;
- host jason.huree {
- hardware ethernet 00:05:1B:74:0A:BF;
- fixed-address 10.42.43.1;
- }
- }
- $ sudo /etc/init.d/dhcp3-server restart
Advertisement
Add Comment
Please, Sign In to add comment