DNS/DHCP configuration Flashcards
How do you enable a router to act as a DNS server?
()ip dns server
What command would you use to verify DHCP configuration on a Cisco device?
sh dhcp lease
What command would you use to enable DHCP on a router if you didn’t have a static public ip?
Enable on the ISP-facing interface:
(if)ip address dhcp
What command would you use to verify IP settings on Mac?
ip address show
ifconfig
What command would you use to verify IP settings on Linux?
ifconfig
How do you view the default gateway on Mac?
Netstat -rn
How do you view the default gateway on Linux?
ip route show
How do you configure IP relay capability on a Cisco router?
On the client facing interface enable ip helper and point it to the DHCP server’s address:
(if)ip helper-address 10.10.10.10
What should you specify first when using a router as a DHCP server?
List excluded addresses from the DHCP pool:
()ip dhcp excluded-address 1.1.1.1
A good one to add is router’s own interfaces:
show ip interface brief
How do you give a name to a DHCP pool?
()ip dhcp pool 10.10.10.0 namehere
How do you specify the network range and subnet mask for cisco DHCP?
()ip dhcp pool namehere
(dhcp)network 10.10.10.0 255.255.255.0
How do you view the dhcp pool on a router?
show ip dhcp pool
how do you view the distributed addresses on a router?
show ip dhcp binding
How do you configure the default route for IOS DHCP?
To the default gateway for the devices:
()ip dhcp pool namehere
(dhcp) default-router 10.10.10.1
How do you specify the DNS server for IOS DHCP server?
Then specify the DNS server for the devices
()ip dhcp pool namehere
(dhcp)dns-server 10.10.20.10