03-11-2012 06:10 AM - edited 03-07-2019 05:29 AM
I have config like that, for Cisco router:
interface GigabiteEthernet0/0.2
encapsulation dot1Q 2
ip address 192.168.2.2 255.255.255.0
interface GigabiteEthernet0/1.2
encapsulation dot1Q 2 native
ip address 192.168.1.1 255.255.255.0
ip 0.0.0.0 0.0.0.0 192.168.2.1
The linux box is connected to the G0/1.2 port which assigned to Native VLAN 2. Another G0/0.2 port assigned VLAN 2 and is connected to the ISP router. The router has 192.168.2.1 IP address. Interfaces G0/0 and G0/1 have setting by default (VLAN 1 native).
While I send ping request from the linux box it can’t reach to the ISP gateway.
What’s wrong in my config? I guess I’m not clear about L2.
03-11-2012 08:52 AM
Can you ping the ISP router from this router? Can you post:
show vlan-switc
Also, what type of router is this? And do you have the linux server on the 192.168.1.0/24 subnet?
03-15-2012 04:51 PM
Have you verified vlan 2 exists on the switch? Your port config states vlan 2 and your sub interfaces on the router specify dot1q 2, but if you issue the command "show vlan brief" on the switch do you see vlan 2?
Sent from Cisco Technical Support iPhone App
03-21-2012 06:19 AM
The subject is closed. Everybody thank!
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