how to configure dhcp in LAN(Local area network)
hello guys
today i will tell you how to use dhcp (Dynamic host control protocol) .it is use for providing ip address to pc or laptop dynamically ..
So you have need to following this step
Router(config)#ip dhcp pool
Router(dhcp-config)#network 192.168.10.0 255.255.255.0
Router(dhcp-config)#network 192.168.10.0
Router(dhcp-config)#network 192.168.10.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.10.1
Router(dhcp-config)#dns-server 9.9.9.9
Router(dhcp-config)#exit
Router(config-if)#ip add 192.168.10.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.10.1.
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#
i attached a file you can see the configuration
Thanks
today i will tell you how to use dhcp (Dynamic host control protocol) .it is use for providing ip address to pc or laptop dynamically ..
So you have need to following this step
- first you have need to take 1 router ,1 switch and 4 system
- connect router ,switch ,or system with wires
- then you have need to type following command
- you have need to go configuration mode
- after that you have need to providing ip address to your fast Ethernet port which is connected to router ...
- after that no shut command for starting a port
- and now you have need exit interface mode and go to configuration mode and you have need to type following code
Router(config)#ip dhcp pool
Router(dhcp-config)#network 192.168.10.0 255.255.255.0
Router(dhcp-config)#network 192.168.10.0
Router(dhcp-config)#network 192.168.10.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.10.1
Router(dhcp-config)#dns-server 9.9.9.9
Router(dhcp-config)#exit
Router(config-if)#ip add 192.168.10.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.10.1.
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#
Thanks
No comments:
Post a Comment