VLAN Setup / SG300 & WRT54G (DD-WRT)

Networking, Wireless Routers (802.11 a/b/g/n/ac/ax WiFi), NAT, LAN configuration, equipment, cabling, hubs, switches, and general network discussion
Post Reply
User avatar
scj6771
Regular Member
Posts: 230
Joined: Mon Aug 04, 2003 5:44 pm
Location: Windsor, NY

VLAN Setup / SG300 & WRT54G (DD-WRT)

Post by scj6771 »

I just purchased a Cisco SG300 managed switch and would like to seperate my network into two VLAN's, one for my lab environment and the other for everything else.

I have the switch in L3 mode and and been reading the admin guide but I'm still at a loss with VLAN configuration.

This is a 10 port switch, so maybe I could start with 5 ports for my lab and 5 ports for the rest?

What role will my router play in all of this? It also has VLAN capability.

I have made an attempt by doing the following:

Code: Select all

Vlan 1 = IP address subnet of your router and switch (which is created by default)
 
Create a second vlan such as vlan 10
Make an access port for vlan 10 on the switch
Assign a LAN port on the WRT router to be vlan 10
Run 2 wires, one for the vlan 10 port, another for the vlan 1 port
Assign DHCP to each router port
 
On the switch navigate
Spanning Tree -> STP status and global settings
Spanning Tree State -> Remove the check box (this globally disables spanning tree)
apply changes.
After doing this I can assign ports to VLAN 10 no problem, but any port I "add" (I'm not really adding since it's the default VLAN) to VLAN 1 gets no IP address? How is VLAN 10 working but no VLAN 1?

Here is a screenshot from my router's VLAN page and one from my SG300 IPv4 page:

Image

Image
Post Reply