A router connects to an Internet Service Provider (ISP) using its G0/0/0 interface, with the ip address dhcp command configured. What does the router do with the DHCPlearned default gateway information?

IT Questions BankCategory: CCNAA router connects to an Internet Service Provider (ISP) using its G0/0/0 interface, with the ip address dhcp command configured. What does the router do with the DHCPlearned default gateway information?

A router connects to an Internet Service Provider (ISP) using its G0/0/0 interface, with the ip address dhcp command configured. What does the router do with the DHCPlearned default gateway information?

  • The router ignores the default gateway value learned from the DHCP server.
  • The router uses the default gateway just like a host, ignoring its routing table.
  • The router forwards received packets based on its routing table but uses its default gateway setting to forward packets it generates itself.
  • The router adds a default route based on the default gateway to its IP routing table.

Explanation: The ip address dhcp command tells the router to obtain its address using DHCP. The router learns all the same information that a normal DHCP client would learn. The router uses the address listed as the default gateway to build a default route, using the default gateway IP address as the next-hop address. The router continues to work like a router always does, forwarding packets based on its IP routing table.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x