Skip to content

Commit

Permalink
wan interface config for n750, related to #159
Browse files Browse the repository at this point in the history
  • Loading branch information
paidforby committed Dec 21, 2019
1 parent e7f351e commit a48c858
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
9 changes: 7 additions & 2 deletions files/etc/config/network
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@ config interface 'lan'
option ip6assign '60'
option ipaddr '172.22.0.1'

config switch_vlan
option device 'switch0'
option vlan '5'
option ports '0t 5'

config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
option ifname 'eth0.5'
option proto 'dhcp'

config interface 'wan6'
option ifname 'eth1'
Expand Down
8 changes: 7 additions & 1 deletion files/opt/mesh/templates/etc/config/network
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,20 @@ config switch_vlan
option vlan '11'
option ports '0t 3'

# The wan port (eth0.5)
config switch_vlan
option device 'switch0'
option vlan '5'
option ports '0t 5'

config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config interface 'wan'
option ifname 'eth1'
option ifname 'eth0.5'
option proto 'dhcp'

# This is for development only
Expand Down

0 comments on commit a48c858

Please sign in to comment.