Kamikaze OpenWrt

 

All_LAN-ports_on_one_VLAN

Page history last edited by Tino 3 yrs ago

If you use the Router as a bridge or something else and you don't need the wan port, you could change the settings in /etc/config/network to get all five ports working on one vlan. You only have to do the following changes:

 

#### VLAN configuration

vlan0hwname=et0

vlan0ports="0 1 2 3 4 5*" # regular is "0 1 2 3 5*"

vlan1hwname=et0

vlan1ports="5" # regular is "4 5"

# I don't need the wan port, because the wgt is only client...

# so I have added the wan port to vlan0

 

#### WAN configuration

# deactivate the wan with "none"

wan_proto=none

wan_ifname=""

# not using wan

#wan_device="vlan1"

#wan_dns=""

 

So you can put a lan cable into the port next to the usb port (wan) and use it as a normal port in regular mode. And if you use booting kernel from tftp or you want to flash a new image via cfe you don't have to switch the lan cable from 'normal' 4 port switch to the wan port because it is still there.

Comments (0)

You don't have permission to comment on this page.