Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torgeir/90932f4083d1751f14b1 to your computer and use it in GitHub Desktop.
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.
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"
@torgeir
Copy link
Author

torgeir commented Dec 21, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment