[debian-non-standard] configure vlan

Tomasz Chmielewski mangoo at wpkg.org
Mon Mar 31 22:00:06 CEST 2008


Finn Herpich schrieb:
> hello everyone,
> 
> i finally got my wl500gP up and running with a big smile on my face.
> 
> so, i've tried to configure an additional vlan but i can't figure it out how 
> to do it correctly.
> 
> i've one network on port 1 and the other on port 4. to do this i changed my 
> startup-script from
> 
> robocfg switch disable
> robocfg vlans enable reset
> robocfg vlan 0 ports "0 5u"
> robocfg vlan 1 ports "1 2 3 4 5t"
> robocfg switch enable
> 
> to
> 
> robocfg switch disable
> robocfg vlans enable reset
> robocfg vlan 0 ports "0 5u"
> robocfg vlan 2 ports "1 5t" vlan 1 ports "2 3 4 5t"
> vconfig add eth0 2
> robocfg switch enable
> 
> and thought this would do it, but robocfg show still gives me
> 
> Switch: enabled
> Port 0(W):  DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
> Port 1(4): 100FD enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
> Port 2(3):  DOWN enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
> Port 3(2):  DOWN enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
> Port 4(1): 100FD enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
> Port 5(C): 100FD enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
> VLANs: BCM5325/535x enabled mac_check mac_hash
> vlan0: 1 2 3 4 5u
> vlan1: 0 5u
> vlan2:
> 
> i suggest the error is in the startup-script.
> 
> any ideas how to do this correctly? need more informations?

Did you read this one:

http://wpkg.org/Running_Debian_on_ASUS_WL-500G_deluxe#More_detailed_robocfg.2Fvlan_settings

and a link to openwrt wiki which can be found in that post?



-- 
Tomasz Chmielewski



More information about the debian-non-standard mailing list