QuestionQ99

IP Connectivity

You are configuring an edge router interface with a public IP address for Internet connectivity. The router must obtain the IP address dynamically from the service provider.

Which command is required on interface FastEthernet 0/0 to accomplish this?

  • A ip default-gateway
  • B ip route
  • C ip default-network
  • D ip address dhcp
  • E ip address dynamic
Explanation

On Cisco IOS, an interface that should receive its IPv4 address automatically from an ISP uses the interface configuration command ip address dhcp. That command tells FastEthernet 0/0 to act as a DHCP client and learn its address dynamically. The other commands deal with default gateway or routing behavior, not dynamic interface address assignment.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!