ip dhcp excluded-address 192.168.0.1 192.168.0.19
what is the use of that command can any one explain it
Answer Posted / jitendera kumar sinha
onfigure an IP address on the router's Ethernet por
Router(config-if)#ip address 1.1.1.1 255.0.0.0
Router(config-if)# no shutdown
Create a DHCP IP address pool for the IP addresses you want to use.
Router(config)# ip dhcp pool mypool
Specify the network and subnet for the addresses you want to use from the pool.
Router(dhcp-config)# network 1.1.1.0 /8
Specify the DNS domain name for the clients.
Router(dhcp-config)#domain-name mydomain.com
Specify the primary and secondary DNS servers.
Router(dhcp-config)#dns-server 1.1.1.10 1.1.1.11
Specify the default router (i.e., default gateway).
Router(dhcp-config)#default-router 1.1.1.1
Specify the lease duration for the addresses you're using from the pool.
Router(dhcp-config)#lease 7
Exit Pool Configuration Mode.
Router(dhcp-config)#exit
This takes you back to the global configuration prompt. Next, exclude any addresses in the pool range that you don't want to hand out.
For example, let's say that you've decided that all IP addresses up to .100 will be for static IP devices such as servers and printers. All IP addresses above .100 will be available in the pool for DHCP clients.
Here's an example of how to exclude IP addresses .100 and below:
Router(config)#ip dhcp excluded-address 1.1.1.0 1.1.1.100
smagh mai ayayay ki nhai nikhl
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How many broadcast domains are in switch?
Which protocols do periodically updates?
Can you explain L2TP?
On which bas ospf take decision?
What purpose does aging serve in a link state protocol?
Name the command we give if router ios stucked?
Hi Friend. i have to let you know that now i have been selected for cisco india in bangalore. i am thanking to all of you guys that u have been posted such good question and the respective answer. from today i will be not able to visit this site on regular basic and hopeing that you will continue to post the question.the question you are posting is not very usefull to you but also usefull to another. i am again thanking to all of you and hope for best for your feature. Jitendera kumar sinha Network engineer-L2 cisco india Bangalore
What is the purpose of the Data Link?
What is the icmp protocol?
Define the different kinds of casting
What do you understand by poe (power over ethernet)?
What do you understand by ‘protocol’ in networking?
What is the mesh network?
Suppose a Switch interface went in error-dis mode what you will do for Troubleshooting List all Possibilities
In which ios version 182 people can access router through telenet?