Cisco VRF and multiple VM Servers across a trunked port

Unanswered Question

I'm setting up a new VRF and VLAN and trying to get a VM Server to work in this VLAN. This is an existing VM with servers in multiple VLAN's.

The new VM server instance needs to be in this VRF/VLAN. I've added the vlan to the trunks allowed on the physical port but the server is unreachable. Do I need to add "ip vrf forwarding xxxx" to the interface? Does this affect any of the other servers?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Reza Sharifi Tue, 02/09/2010 - 09:36
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 LAN

Hello Fbarnett,

Yes, under the vlan interface, you need to add "ip vrf forwarding xxxx".

It does have an effect once you add this vlan to a vrf.  It will not be able to communicate with other vlans in the global routing table unless you do vrf to Global leaking.



Giuseppe Larosa Tue, 02/09/2010 - 10:08
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Fbarnett,

only the L3 interface SVI vlan x has to be associated to the  vrf with ip vrf forwarding command.

the physical port has to be configured as L2 trunk.

for testing ip connectivity in VRF you need to use

ping vrf VRF-name server-ipaddress

at the same mode there are per vrf commands like

sh ip arp vrf VRF-name

sh ip arp vrf VRF-name | inc server-ipaddress

you can then compare mac address with MAC address learned on L2 port to confirm it is your server answering.

As noted by Reza, the networks that can reach the new server in VRF are those in the same VRF/VPN on other VRFs/VPNs if there is an extranet.

The server can be reached by global routing table if route leakage is implemented.

Hope to help



This Discussion