You are on page 1of 1

RouterA # configure terminal

RouterA (config)# ip dns server

RouterA (config)# ip domain lookup

RouterA (config)# ip name-server 1.1.1.1


RouterA (config)# ip name-server 2.2.2.2

RouterA (config)# ip host Red 172.16.1.1

RouterA (config)# ip host Blue 172.16.1.2

RouterA (config)# ip host Yellow 172.16.1.3

RouterA (config)# ip host Green 172.16.1.4

Router# show hosts


Default domain is not set
Name/address lookup uses domain service
Name servers are 8.8.8.8

Codes: UN – unknown, EX – expired, OK – OK, ?? – revalidate


temp – temporary, perm – permanent
NA – Not Applicable None – Not defined

Host Port Flags Age Type Address(es)

#Router Interface IP Configuration


----------------------------------

RouterA (config)# interface fastethernet 1/1


RouterA (config-if)# ip address 172.16.1.254 255.255.255.0
RouterA (config-if)# end

RouterA # copy running-config startup-config

You might also like