How To Configure DHCP [simply]
DHCPis aprotocolusedin the networktoassignan IPaddressto eachhost connectedtoaparticular network.Ifthere isanetworkof more than50 hosts, wouldbe very inconvenientfor anetwork administratorto provide theIPaddressmanually toeach host. Therefore bytheDHCPprotocolwouldgreatlyfacilitate the work ofthe administrator. However,for the purposes ofthistutorialalthoughthere are only 2hosts oneachnetworkwewill continue todiscussthe configuration ofDHCPon therouter.
Code explanation:
1.IP DHCPexcluded-address192.168.1.2192.168.1.4: that therearenoipaddresscan be assignedto aIP DHCPclientcomputersthatrange, 192.168.1.2to192.168.1.3. Generallythere is alocalpolicythatisusedipaddress ofthe server computer
2.IP DHCPServerIP DHCPpool:acommand giventoprovideIP DHCPservernameafter the wordpool.wecan givethe name ofIP DHCPserverwill.
3. Network192.168.1.0 255.255.255.0to give thenetworkidandsubnetmask in theDHCPnetwork
4. Default-router192.168.1.1:default-routerrouterforthe gateway address
5. Dns-server192.168.1.1:is usedas the dnsserver address
Download pkt file How To Confiugre DHCP [simply]
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router(config)#ip dhcp excluded-address 192.168.1.2 192.168.1.4
Router(config)#ip dhcp pool DHCPServer
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.1.1
Router(dhcp-config)#dns-server 192.168.1.1
Router(dhcp-config)#end
source : http://tipsbarudipercaya.blogspot.com, http://kompas.com, http://hipwee.com
0 Response to "HOW TO CONFIGURE DHCP [SIMPLY] 21270"
Post a Comment