Skip to content

Instantly share code, notes, and snippets.

@ss23
Created November 20, 2011 13:19
Show Gist options
  • Save ss23/1380263 to your computer and use it in GitHub Desktop.
Save ss23/1380263 to your computer and use it in GitHub Desktop.
root@OpenWrt:~# 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 'ifname' 'eth0'
option 'type' 'bridge'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'ipaddr' '192.168.0.1'
config 'interface' 'wan'
option 'ifname' 'eth1'
option 'proto' 'pppoe'
option 'password' ''
option 'ipv6' '1'
option 'username' 'ss23@internode.on.net'
option 'keepalive' '10 5'
config 'switch'
option 'name' 'rtl8366s'
option 'reset' '1'
option 'enable_vlan' '1'
config 'switch_vlan'
option 'device' 'rtl8366s'
option 'vlan' '1'
option 'ports' '0 1 2 3 5'
root@OpenWrt:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment