I am setting up a Cisco LAB (to closely mirror our production) with a 2 catalyst 2960's, 1 3750, and 1 SG350-52. I have set all 4 up for inter VLAN routing and it seems to be working well for the most part. In my test LAB, here is what I have:
VLAN1 192.168.0.1 255.255.0.0 (This is also our production VLAN)
With a test machine connected to each VLAN, I can ping any machine in VLAN100, 200, and 300 but nothing in or out of VLAN1.
When I run a "show interfaces trunk" command on each switch, I receive the following output on each switch:
Port Mode Encapsulation Status Native vlan
Fa1/0/47 on 802.1q trunking 1
Port Vlans allowed and active in management domain
Port Vlans in spanning tree forwarding state and not pruned
I am sure there is probably a simple answer but I am fairly new at this and can't figure out my I can't do intervlan routing from the default VLAN
I can provide more info if needed and any advice would be greatly appreciated.
Solved! Go to Solution.
The IPs need to be different for each switch. Take a look at this example for 3750 and 2960
interface Vlan1 ip address 192.168.10.1 255.255.0.0 ! interface Vlan100 ip address 10.1.1.1 255.255.255.0 ! interface Vlan200 ip address 10.1.2.1 255.255.255.0 ! interface Vlan300 ip address 10.1.3.1 255.255.255.0
interface Vlan1 ip address 192.168.10.2 255.255.0.0 ! interface Vlan100 ip address 10.1.1.2 255.255.255.0 ! interface Vlan200 ip address 10.1.2.2 255.255.255.0 ! interface Vlan300 ip address 10.1.3.2 255.255.255.0
Also, on both switches most of the ports are assigned to vlan 100, 200, and 300. So, the ports that don't have any vlan assign to them are by default in vlan 1. So, if you want to test connectivity to vlan 1, you need to connect your PC/laptop to one of the ports that does not have any vlan e.g 1/0/37, 1/0/38, etc...