cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
744
Views
1
Helpful
16
Replies

Can an SVI and a VRF Ping each other?

Iloveyou
Level 1
Level 1

On R1

int vlan 2, ip add 10.1.1.1/30

int fa0/0, switchport mode access, switchport access vlan 2

On R2

Int fa0/1

Vrf-Test

ip add 10.1.1.2/30

Can R1 and R2 ping each other?

Does the vrf or the vlan takes precedence?

 

 

 

16 Replies 16

Ping from R1 need to use 

Ping <ip>

Ping from R2 need to use 

Ping vrf < > <ip>

And yes you can ping' notice that vrf is locally and not pass in ping packet.

MHM

I dont understand the part about vrf being local.

Can you please explain?

In another project, we have to configure matching vrf with process id. So I dont understand what you mean by local vrf.

We connect two SW via trunk and use different vlan tag in both Sw are traffic will pass ?

Same 

We connect two Routers and use in each router different VRF are traffic will pass ?

Answer above 

MHM

In another project, we have to configure matching vrf with process id.

In my Q I want to make you know the difference between vlan and vrf

In vlan there is filed in frame 802.1q called vlan tag' use to carry vlan ID between two SW. And hence the vlan must be match in both SW otherwise the traffic will drop.

That not same for vrf' in packet there is no field in packet to carry the vrf ID and hence it LOCALLY known by router abd it not need to be same 

It can 

Vrf to none 

Vrf x to vrf y

Here in your case it vrf to none and it work.

As I mention use vrf aware ping in one side and use ping without vrf aware in other side.

Note:- from above I depend on you to make vlan tag same in path between two router.

MHM

balaji.bandi
Hall of Fame
Hall of Fame

Router port does not accept the switch port access vlan - until it has switch line cards (depends on the model)

Router interface always use dot1q tagging.

if they are connected p2p that should able to reach other.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

You said that "Router interface always use dot1q tagging."

Can you share the syntax for this?

Is it possible to do dot1q tagging on L3 interface without creating sub interface?

s it possible to do dot1q tagging on L3 interface without creating sub interface?

how does that going to work ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

You dont understand.

It is a layer 3 port. 

I can only put the ""vlan-id dot1q (vlan-id)" command

There is SW between two Routers?

If yes

then router without subinterface connect to SW via access port 

Router with subinterface connect to SW via trunk 

And make SW add tag or remove tag from frame when forward between Routers. 

NO need both Routers to tag you need to sure that both Routers receive frame with what you config 

MHM

 

You dont understand.

It is a layer 3 port. 

I can only put the ""vlan-id dot1q (vlan-id)" command

there is SW between Routers ?
is R1 is L3SW ?

MHM

Review Cisco Networking for a $25 gift card