VLAN0 on Cisco Valet M20

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


Joined: 11 Jan 2008
Posts: 8

PostPosted: Tue Nov 19, 2013 19:35    Post subject: VLAN0 on Cisco Valet M20 Reply with quote
I flashed my Valet M20 (gigabit broadcom)with a DD-WRT firmware.
I hope someone can answer some questions about VLAN.

According to DDWRT wiki, broadcom gigaswitch will use VLAN1 as LAN_VLAN, VLAN2 as WAN_VLAN. I ran
Code:
nvram show |grep vlan.*port

I got
Code:
vlan2ports=0 8
vlan0ports=1 2 3 4 5*
vlan1ports=4 3 2 1 8*


Since I knew it is broadcom giga, I ran
Code:
nvram unset vlan0ports
nvram commit
reboot


but,
Code:
vlan0ports=1 2 3 4 5*
this line came back again.

why is that? do I need to remove vlan0ports? can those LAN ports appear in both VLAN0 and VLAN1?

In cisco context, by default, VLAN1 is default VLAN and native VLAN. In DD-WRT, is VLAN0 default VLAN? is VLAN0 native VLAN? untagged?

Another question is my ports show
Code:
portXvlans=1 18 19 21

I knew 18, 19, but what does 21 mean?
Thank you.
Sponsor
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Wed Nov 20, 2013 23:01    Post subject: Reply with quote
You shouldn't need to worry about the nvram variables, the GUI should work just fine.

It is just creating the vlan0ports variable because the code to initialize 100mbps switches hasn't been split from the code for gigabit switches but it does no harm other than wasting a few bytes of space.

The cpu internal default port * is your native vlan and there is no concept of a "default" vlan in the way that cisco defines 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)
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