cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1920
Views
0
Helpful
6
Replies

SG300 uplink to 3750X - vlans don't route

jackwalker
Level 1
Level 1

I'm trying to get a SG300-28P managed switch to connect and route upstream to a 3750X-24S-S. The 3750x is configured as a layer 3 router using ipservices. I also have 3560s uplinked to this switch via layer 3 links. I can get the SG300 to connect via layer 3 but the vlans (data & phone) will not route to the 3750x. I have the SG300 set to layer three and the vlans route intervlan within the switch.

Do I have to configure trunks between the switch and router for the vlans to route? Can I get them to route over a layer 3 /30 link?

Does anyone have a config for this? I've always been an IOS person, these smallbiz switches are new to me.

Any help would be greatly appreciated.

Thanks!

Jack


 

6 Replies 6

joshuacmoore
Level 1
Level 1

Jack, what do you mean about "route vlans"? VLANs are layer 2 routes are layer 3. Are you wanting to propagate VLANs via VTP? The SG300 config is the same for Catalyst IOS as far as VLAN trunking.

 

SG300:

vlan 100,200,300

int gi 28
switchport mode trunk
switchport trunk allowed vlan 100,200,300

 

3750:

vlan 100,200,300

int gi 1/0/28
switchport
switchport mode trunk
switchport trunk allowed vlan 100,200,300

What I have done is turn on layer 3 on the SG 300. 

Created 2 vlans: 11 - Data and 14 -phones. I have assigned addresses to both vlans

I have created an ip route 0.0.0.0 0.0.0.0 172.20.138.1 for all vlans.

Address on SG300 - GE 27 is 172.20.138.2.

Address on 3750 - G1/0/7 is 172.20.138.1

Will this work or do I have to trunk the connection between router and switch at layer 2?

Thanks so much for your help. I'm trying to keep as much of the operational config on the SG300 as possible because I have 16 different rooms in one building to put these in and they all have to be separate networks for clients.

Jack

You will also have to create static routes pointing from your 3750x to the SG300 for each network that resides on the SG300. Alternatively you can turn up RIP so that both the 3750 and SG300 automatically and dynamically learn the routes.

Joshua,

 

I thought the solution would be the same as IOS switches too but I could not get it to work. I finally regressed to layer 2, created the vlans and dhcp scope on the 3750 X and it is working. I was under some fairly stringent time constraints. I have another SG300 to configure tomorrow so I will try everyone's solutions and see what I come up with. I really appreciate everyone's help in this matter.

 

Thanks!!

Jack

bbb bbb
Level 1
Level 1

@jackwalker, i just want to know what will be the given option if you choose "L3 mode" (see attached image)..  i looked on some sites and found an emulator for this Small Business switches. 

https://supportforums.cisco.com/document/67986/300-series-switch-online-device-emulator-files

 

 

or

 

"What I have done is turn on layer 3 on the SG 300. 

Created 2 vlans: 11 - Data and 14 -phones. I have assigned addresses to both vlans

I have created an ip route 0.0.0.0 0.0.0.0 172.20.138.1 for all vlans.

Address on SG300 - GE 27 is 172.20.138.2.

Address on 3750 - G1/0/7 is 172.20.138.1"

 

>>>>>define a static route from 3750switch going back to SG300..

ex: 10.10.10.0/24 VLAN 10 and, 10.10.20.0/24 VLAN 20 on SG300

3750switch(config)#ip route 10.10.10.0 255.255.255.0 172.20.138.2

3750switch(config)#ip route 10.10.20.0 255.255.255.0 172.20.138.2

3750switch(config)#exit

3750switch#ping 172.20.138.2 ->>> should be successful

3750switch#ping 10.10.10.1 --->>ex: vlan 10 gateway -ok

3750switch#ping 10.10.20.1 --->>ex: vlan 20 gateway - ok

HTH

 

BBB,

Believe it or not I tried exactly what you suggested and I could not get vlan 10 or 20 to ping from outside the SG300 even with the static routes defined. The 3750X is running eigrp, I even tried redistibuting the static routes within eigrp and still no luck. The client will be leaving on Thurs. for a few days so I hope to get the issue resolved then. I plan to go back layer 3 if possible.

 

Thanks for all your help!

Jack