Step 1 : Install DHCP Server
apt-get install dhcp3-server
Step 2 : Open File : /etc/dhcp3/dhcpd.conf
nano /etc/dhcp3/dhcpd.conf
Step 3 : Edit it..
# A slightly different configuration for an internal subnet.
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
option domain-name-servers 192.168.0.5;
option domain-name "debian.com";
option routers 192.168.0.5;
# option broadcast-address 10.5.5.31;
# default-lease-time 600;
# max-lease-time 7200;
}
Step 4 : Save it with CTRL + X , then restart dhcp
/etc/init.d/dhcp3-server restart
Step 5 : Test it with windows client. Obtain your windows IP and save it.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment