Skip to content

Instantly share code, notes, and snippets.

@justinzane
Created February 6, 2015 21:41
Show Gist options
  • Save justinzane/0238db7c44813b980073 to your computer and use it in GitHub Desktop.
Save justinzane/0238db7c44813b980073 to your computer and use it in GitHub Desktop.
OpenWRT etc config network WDR3600
config globals 'globals'
option ula_prefix 'fd05:960e:9254::/48'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device ' switch0'
option vlan '1'
option ports '0t 2 3 4 5 6'
option vid '1'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 1'
option vid '2'
option mtu '1500'
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.1'
option type 'bridge'
option _orig_ifname 'eth0.1 radio0.network1 radio1.network1'
option _orig_bridge 'true'
option proto 'static'
option dns '127.0.0.1'
option dns_search 'justinzane.com'
option ipaddr '192.168.0.1'
option netmask '255.255.255.0'
config interface 'wan'
option ifname 'eth0.2'
option dns '166.78.162.113 8.8.8.8'
option proto 'dhcp'
option broadcast '1'
option peerdns '0'
option hostname 'router2'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
option broadcast '1'
option peerdns '0'
option hostname 'router2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment