cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
559
Views
0
Helpful
1
Replies

cannot ping across subinterface on non-native vlan

I have R1 connected to R2 with a direct ethernet connection. R1 has is using a subinterface and R2 is not. If I use this config I do not get reachability:

R1

int f0/0

no shut

int f0/0.12

encapsulation dot1q 12

ip add 192.168.1.1 255.255.255.0

R2

int f0/0

ip add 192.168.1.2 255.255.255.0

vlan-id dot1q 12

no shut

If I remove the vlan-id command from R2 and on R1 change the encapsulation to vlan 1 I can now ping. How can I get it to work on a different vlan?

1 Reply 1

Richard Burts
Hall of Fame
Hall of Fame

Mike

As far as I know if you want R1 to do vlan tagging on a non-native vlan then R2 will need to be configured with a subinterface as well.

HTH

Rick

HTH

Rick
Review Cisco Networking for a $25 gift card