Skip to content

Instantly share code, notes, and snippets.

@SPYFF
Created August 27, 2017 12:29
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 SPYFF/50d8ebdf5795b542de4ec3755a098387 to your computer and use it in GitHub Desktop.
Save SPYFF/50d8ebdf5795b542de4ec3755a098387 to your computer and use it in GitHub Desktop.
Netgear R7800 modified /etc/config/network file
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 ifname 'eth1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan1'
option proto 'dhcp'
option ifname 'eth0.2'
config interface 'wan2'
option proto 'dhcp'
option ifname 'eth0.3'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '5 6'
option vid '1'
config switch_vlan
option device 'switch0'
option vlan '2'
option vid '2'
option ports '0t 1 2'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '0t 3 4'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment