02-11-2024 02:11 AM
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?
02-11-2024 02:24 AM
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
02-11-2024 03:02 AM
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.
02-11-2024 03:09 AM
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
02-11-2024 05:11 AM
In another project, we have to configure matching vrf with process id.
02-11-2024 05:21 AM - edited 02-11-2024 06:11 AM
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
02-11-2024 02:26 AM
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.
02-11-2024 02:58 AM
You said that "Router interface always use dot1q tagging."
Can you share the syntax for this?
02-11-2024 09:56 AM
refer below guide :
https://www.ciscopress.com/articles/article.asp?p=2990405&seqNum=2
02-12-2024 10:47 PM
Is it possible to do dot1q tagging on L3 interface without creating sub interface?
02-13-2024 01:00 AM
s it possible to do dot1q tagging on L3 interface without creating sub interface?
how does that going to work ?
02-13-2024 04:24 PM
You dont understand.
It is a layer 3 port.
I can only put the ""vlan-id dot1q (vlan-id)" command
02-12-2024 11:09 PM
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
02-12-2024 11:38 PM
You dont understand.
It is a layer 3 port.
I can only put the ""vlan-id dot1q (vlan-id)" command
02-12-2024 11:42 PM
there is SW between Routers ?
is R1 is L3SW ?
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide