QuestionQ618

Infrastructure Services

Question Image

Refer to the exhibit. Two routers are connected back-to-back through Gigabit Ethernet 0/0 interfaces. Which configuration delivers VRF-Lite connectivity for two separate VRFs, using prefix 10.1.1.0/24 for one VRF and 10.2.2.0/24 for the other VRF?

  • A ip vrf 1rd 65001:1ip vrf 2rd 65001:2!int GigabitEthernet0/0no shut!int GigabitEthernet0/0.1encapsulation dot1Q 1ip vrf forwardingip address 10.1.1.1 255.255.255.0!int GigabitEthernet0/0.2encapsulation dot1Q 2ip vrf forwardingip address 10.2.2.1 255.255.255.0
  • B ip vrf 1rd 65001:1ip vrf 2rd 65001:1!int GigabitEthernet0/0no shut!int GigabitEthernet0/0.1encapsulation dot1Q 1ip vrf forwarding 1ip address 10.1.1.1 255.255.255.0!int GigabitEthernet0/0.2encapsulation dot1Q 2ip vrf forwarding 2ip address 10.2.2.1 255.255.255.0
  • C ip vrf 1ip vrf 2int GigabitEthernet0/0no shut!int GigabitEthernet0/0.1encapsulation dot1Q 1ip vrf forwarding 1ip address 10.1.1.1 255.255.255.0!int GigabitEthernet0/0.2encapsulation dot1Q 2ip vrf forwarding 2ip address 10.2.2.1 255.255.255.0
  • D ip vrf 1ip vrf 2!int GigabitEthernet0/0no shut!int GigabitEthernet0/0.1encapsulation dot1Q 1ip address 10.1.1.1 255.255.255.0ip vrf forwarding 1!int GigabitEthernet0/0.2encapsulation dot1Q 2ip address 10.2.2.1 255.255.255.0ip vrf forwarding 2
Explanation

VRF-Lite places each Layer 3 interface into a named VRF with ip vrf forwarding <vrf-name> and then assigns that interface its IP address. The two VLAN-tagged subinterfaces must be associated with different VRFs so that 10.1.1.0/24 and 10.2.2.0/24 use separate routing and forwarding tables. The VRF configuration form includes a route distinguisher for each VRF.

Learn more

Community Discussion

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