e2000 Separate VLANs for each port

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
xport
DD-WRT Novice


Joined: 01 Sep 2011
Posts: 7

PostPosted: Sat Aug 04, 2012 2:45    Post subject: e2000 Separate VLANs for each port Reply with quote
I am trying to setup separate VLANs for each port, however any changes via the GUI to the "assign to bridge" options are not being saved through a reboot. They all revert back to "None" except for port 1 upon reboot. The ports and corresponding VLAN checkboxes are saved through reboot.

Could someone help me accomplish this via a startup command or any alternative method?



Sponsor
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sat Aug 04, 2012 6:07    Post subject: Reply with quote
Hmmm, I'm not sure why you create br0 and assign eth1 to it on the networking page, both happen by default and you should delete those settings.

I always recommend using the networking page to handle all bridging settings, when other pages have bridge settings it's best to ignore them.

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
xport
DD-WRT Novice


Joined: 01 Sep 2011
Posts: 7

PostPosted: Sat Aug 04, 2012 13:08    Post subject: Reply with quote
all of the settings on the networking page happen automatically when the VLAN page is set the way it is. I would like to be able to assign all the ports to LAN at startup using a command/script. Any idea how?
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sun Aug 05, 2012 0:52    Post subject: Reply with quote
Strange, I've seen numerous bugs with the VLAN and networking pages but I don't recall ever seeing that happen.

Have you tried using the networking page to add the VLAN's to br0? If the networking page doesn't work then you can use the brctl command to do it.

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
xport
DD-WRT Novice


Joined: 01 Sep 2011
Posts: 7

PostPosted: Sun Aug 05, 2012 12:58    Post subject: Reply with quote
Any chance you could help me out with the brctl command that I might use? I tried reading up on it but I am still a bit fuzzy.
xport
DD-WRT Novice


Joined: 01 Sep 2011
Posts: 7

PostPosted: Sun Aug 05, 2012 14:19    Post subject: Reply with quote
Would this work?

Code:
brctl addif br0 vlan1
brctl addif br0 vlan3
brctl addif br0 vlan4
brctl addif br0 vlan5
brctl addif br0 eth1
ifconfig vlan1 up
ifconfig vlan3 up
ifconfig vlan4 up
ifconfig vlan5 up
ifconfig br0 up
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sun Aug 05, 2012 19:22    Post subject: Reply with quote
You should be able to skip all those ifconfig commands and remove the brctl commands for vlan1 and eth1.
_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
xport
DD-WRT Novice


Joined: 01 Sep 2011
Posts: 7

PostPosted: Mon Aug 06, 2012 17:13    Post subject: Reply with quote
Would the additional commands have any ill effects if I left them in?
Jmeier
DD-WRT User


Joined: 27 Oct 2010
Posts: 219

PostPosted: Tue Aug 07, 2012 0:54    Post subject: Reply with quote
Are you trying to firewall them off from each other or is this just for reducing broadcast traffic?
xport
DD-WRT Novice


Joined: 01 Sep 2011
Posts: 7

PostPosted: Wed Aug 08, 2012 1:18    Post subject: Reply with quote
Its mainly to monitor each VLAN separately via SNMP/PRTG. They should all be bridged into one LAN.
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Wed Aug 08, 2012 23:11    Post subject: Reply with quote
xport wrote:
Would the additional commands have any ill effects if I left them in?

They would just be wasting precious nvram space.

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum