Link to home
Start Free TrialLog in
Avatar of CyberSec
CyberSec

asked on

Inter VLAN routing on a Cisco 7206 router and Cisco 3560 switch

Hello, I'm having and issue setting up inter VLAN routing to communicate with my switch and new VLAN. I have 3 different sites connected with fiber consisting of only switches. They are all trunked and have VTP enabled. VTP works across all the switches.

On the 7206 router I created a sub interface and gave it an IP address on the new subnet 192.168.160.2 / 24 and enabled dot1q.

On the switch I've given the VLAN an IP address 192.168.160.40 /24. I've made the port a trunk port and enabled dot1q.

From the router I can ping the sub interface and from the switch I can ping the VLAN. However, I cannot ping each others IP's.

I included an attachment to clarify the setup. Please give me some ideas. Thank you.
ScreenShots.pdf
Avatar of Ruben Alex
Ruben Alex

check if you have ip routing active in Cisco 7200
Avatar of Don Johnston
Could be the VLAN isn't allowed on the trunk.

"show int trunk" will show what's allowed.
Avatar of CyberSec

ASKER

I enabled IP Routing and still a no go. I checked the trunk interfaces and 1,10 are allowed on Gi0/5 which looks good.

VLAN 10 is on all of my VTP'd switches. The switch that connects to the router does not have any switch ports assigned to VLAN10 and the switch that is connected to the router is the one that I assigned the VLAN IP address on.

Any other suggestions? I'll keep digging myself :-)
Please describe the topology with respect to where the switch in question is relative to the 7206.

6 switches are trunked across 3 sites. 2 switches at each site.

Site 1 (HQ)
This is where the main connection is with the 7206 and the 3560 switch. Gi0/5 from the 3560 is plugged into Gi0/1 from the 7206.

Site 2 (CC)
This is where I have a 2960 with a port assigned to VLAN10. The port assigned to VLAN10 has a pc hooked up and the goal is to reach this pc.

Site 3 (NA)

The main subnet is 128.0 /24 and the VLAN10 subnet is 160.0/24. The 7206 Gi0/1.10 sub-interface for the VLAN10 subnet has an IP of 160.2 /24 and the 3560 switch attached to the 7206 has a VLAN1 IP of 128.20 and the VLAN10 IP is 160.40 /24.

Router Gi0/1 = 128.2
Router Gi0/1.10 = 160.2

Switch VLAN1 = 128.20
Switch VLAN10 = 160.40

The scheme seems to be correct but it must be a trunking issue somewhere between the 7206 and the 3560 but I can't seem to figure out what it is.

Hope that helps.
So the 3560 in question is directly connected to the 7206, right?

Please post the ouput of the following:

7206
show run int g0/1
show run int g0/1.10
show int g0/1
show int g0/1.10

3560
show run int g0/5
show int status
show int trunk
ASKER CERTIFIED SOLUTION
Avatar of CyberSec
CyberSec

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is what the solution came down to.