Explain the commands one would have to enter on a router to enable DHCP services
ID: 3822450 • Letter: E
Question
Explain the commands one would have to enter on a router to enable DHCP services to provide an IPv4 address pool that started with 192.168.100.0 and has a subnet mask of 255.255.255.0. You are to exclude the IPv4 addresses 192.168.100.1 through 192.168.100.6 and the last available host address on this subnet. The default router’s IPv4 address that is to be assigned is 192.168.100.1 and the IPv4 address of the DNS server it is to assign is 192.168.100.6. It is to also assigned a domain name of sample.com.
Explanation / Answer
As mentioned in the question it will exclude the following ip address.
Device(dhcp-config)# ip dhcp excluded-address 192.168.100.1 192.168.100.6
This is for the last available host address on this subnet.
Device(dhcp-config)# ip dhcp excluded-address 192.168.100.254
The default setting which is given in the question i.e ip address and subnetmask.
Device(dhcp-config)# network 192.168.100.0 255.255.255.0
The default gateway is provided with the following command.
Device(dhcp-config)# ip default-gateway 192.168.100.1
It will assigned the domain name
Device(dhcp-config)# domain-name sample .com
To give dns server
Device(dhcp-config)# dns server 192.168.100.6
To give default router
Device(dhcp-config)# default-router 192.168.100.1
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.