Cisco E3000

From Wikked

Jump to: navigation, search

My home router is a Cisco/Linksys E3000, with TomatoUSB firmware loaded on it.

Internal IP 192.168.20.1, ssh access enabled.

Because vlan ID 2 was already in use on my internal access network, it unfortunately conflicted with vlan 2 on the E3000, which by default is setup as the vlan for the "WAN port" (port 0). I decided to remap this to vlan ID 3 instead, as I wanted to use 802.1Q to channel the WAN network into my internal network as a separate vlan.

TomatoUSB does not offer VLAN configuration on the web interface, but the hardware switch vlan configuration can be changed using the nvram command on the router.

It turns out that the hardware port numbering is reversed from the numbering on the case, so port 1 is actually port 4, etc. Makes sense, with the WAN port being port 0.

My home server, which should receive both vlans, is indirectly connected to hardware port 4. vlan 3 is therefore set up as tagged on port 4. Because I didn't want to touch the vlan1 config on the E3000, and vlan 2 is actually the internal vlan on the rest of the network, vlan 1 on the E3000 is setup as untagged.

Configuration:

root@unknown:/tmp/home/root# nvram show | grep vlan
lan_ifnames=vlan1 eth1 eth2
landevs=vlan1 wl0 wl1
new_vlan1hwname=et0
new_vlan1ports=1 2 3 4 8*
new_vlan2hwname=et0
new_vlan2ports=8
new_vlan3hwname=et0
new_vlan3ports=0 4t 8
use_new_vlan=1
vlan1hwname=et0
vlan1ports=1 2 3 4 8*
vlan2hwname=et0
vlan2ports=0 8
vlan3hwname=et0
vlan3ports=0 4t 8
wan_iface=vlan3
wan_ifname=vlan3
wan_ifnameX=vlan3
wan_ifnames=vlan3
wandevs=vlan3
wl0_vlan_prio_mode=off
wl1_vlan_prio_mode=off
wl_vlan_prio_mode=off
Personal tools