Created
December 21, 2014 22:23
-
-
Save torgeir/90932f4083d1751f14b1 to your computer and use it in GitHub Desktop.
Barrier breaker network configuration to make the routerstation pro work like a switch again.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@router:~# cat /etc/config/network | |
config interface 'loopback' | |
option ifname 'lo' | |
option proto 'static' | |
option ipaddr '127.0.0.1' | |
option netmask '255.0.0.0' | |
config interface 'lan' | |
option type 'bridge' | |
option proto 'static' | |
option ipaddr '192.168.1.1' | |
option netmask '255.255.255.0' | |
option stp '1' | |
option _orig_ifname 'eth1 wlan0 wlan1' | |
option _orig_bridge 'true' | |
option ifname 'eth1' | |
config interface 'wan' | |
option ifname 'eth0' | |
option proto 'dhcp' | |
config 'switch' | |
option name switch0 | |
option reset 1 | |
option enable_vlan 1 | |
config switch_vlan | |
option device switch0 | |
option vlan 1 | |
option ports "0 1 2 3 4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Had some issues after upgrading my routerstation pro to barrier breaker, with the switch no longer working across wired connections. This is what it took to get it back up.