cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1336
Views
5
Helpful
9
Replies
RussMcIntire
Beginner

Default VLAN routing

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)

VLAN100 10.1.1.0/24

VLAN200 10.1.2.0/24

VLAN300 10.1.3.0/24

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
Fa1/0/47 1,100,200,300

Port Vlans in spanning tree forwarding state and not pruned
Fa1/0/47 1,100,200,300

 

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions

The IPs need to be different for each switch. Take a look at this example for 3750 and 2960

3750

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

2960

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...

HTH

View solution in original post

9 REPLIES 9
Reza Sharifi
Hall of Fame Expert