QuestionQ568

IP Connectivity

Refer to the exhibit.

C-router will be used as a router-on-a-stick to route between the VLANs. All interfaces have been configured correctly, and IP routing is functioning.

The hosts in the VLANs have been configured with the appropriate default gateway.

What is true about this configuration?

Question Image

  • A These commands need to be added to the configuration: C-router(config)# router eigrp 123 C-router(config-router)# network 172.19.0.0
  • B These commands need to be added to the configuration: C-router(config)# router ospf 1 C-router(config-router)# network 172.19.0.0 0.0.3.255 area 0
  • C These commands need to be added to the configuration: C-router(config)# router rip C-router(config-router)# network 172.19.0.0
  • D No further routing configuration is required.
Explanation

With a router-on-a-stick design, each VLAN is mapped to a router subinterface that has an IP address in that VLAN's subnet. Those VLAN subnets are therefore directly connected routes in the router's routing table, so the router can forward traffic between them as soon as the subinterfaces, trunking, and host default gateways are configured correctly. Dynamic routing protocols such as EIGRP, OSPF, or RIP are not needed to route between directly connected VLAN networks on the same router.

Learn more

Community Discussion

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