Professional Documents
Culture Documents
Cau Hinh DHCP Server
Cau Hinh DHCP Server
Save li v thot.
4.Cu hnh file pool: -Bn m file /etc/dhcp3/dhcpd.conf
Sa thnh :
# # # # # option definitions common to all supported networks... option domain-name "example.org"; option domain-name-servers ns1.example.org, ns2.example.org; default-lease-time 600; max-lease-time 7200;
on ny cn b ch thch v sa nh sau :
# A slightly different configuration for an internal subnet. subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.2 192.168.1.6; option domain-name-servers 203.113.131.1, 203.131.188.1; option domain-name "ttp.net"; option routers 192.168.1.1; option broadcast-address 192.168.1.255; default-lease-time 600; max-lease-time 7200;}
6.My Client (XP, Ubuntu) thu IP. a).My XP : -Vo run, g cmd. -g ipconfig /release v ipconfig /renew -g li ipconfig kim tra IP ca Client c ng trong range cp khng. b).My Ubuntu : Terminal, g ifconfig kim tra.