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


Please Help Members By Posting Answers For Below Questions

What cable called v.35?

659


How many hop counts are by default and how much you can increase in eigrp protocol?

646


What is the purpose of a data link?

659


How many types of ethernet?

662


In IPSec what is SAD, SPD and SA's?

2598






What are the different types of cables that are used in routing?

686


Wild card mask always in odd value or even?

647


I simulate ten routers r1 to r10 straightly. I want I can ping from the loop of r1 to loop of r10, but I want I cant ping r1 and r10 from inside routers.?

645


What does synchronization mean?

757


Which company mange ip's?

660


What do we check while configuring the server?

597


What are packets?

652


What is the role of the LLC sublayer?

650


What do you mean by Port Mirroring?

1800


Which dynamic type draw back is, if single link down, it removes its routing table?

603