gw-core01: prepare configs for platform change
replace `Ubiquiti EdgeRouter X` with an `Sophos SG-125r2`replace_gw-core01
parent
03e2986f7b
commit
e7054c1b64
|
@ -12,11 +12,15 @@ config globals 'globals'
|
|||
config device 'switch'
|
||||
option name 'switch'
|
||||
option type 'bridge'
|
||||
option vlan_filtering 1
|
||||
list ports 'eth0'
|
||||
list ports 'eth1'
|
||||
list ports 'eth2'
|
||||
list ports 'eth3'
|
||||
list ports 'eth4'
|
||||
list ports 'eth5'
|
||||
list ports 'eth6'
|
||||
list ports 'eth7'
|
||||
|
||||
config bridge-vlan 'mgmt_vlan'
|
||||
option vlan '1'
|
||||
|
@ -24,6 +28,9 @@ config bridge-vlan 'mgmt_vlan'
|
|||
list ports 'eth2:u*'
|
||||
list ports 'eth3:u*'
|
||||
list ports 'eth4:u*'
|
||||
list ports 'eth5:u*'
|
||||
list ports 'eth6:u*'
|
||||
list ports 'eth7:u*'
|
||||
|
||||
config bridge-vlan 'clients_vlan'
|
||||
option vlan '2'
|
||||
|
@ -31,6 +38,9 @@ config bridge-vlan 'clients_vlan'
|
|||
list ports 'eth2:t'
|
||||
list ports 'eth3:t'
|
||||
list ports 'eth4:t'
|
||||
list ports 'eth5:t'
|
||||
list ports 'eth6:t'
|
||||
list ports 'eth7:t'
|
||||
|
||||
config bridge-vlan 'wan_vlan'
|
||||
option vlan '3'
|
||||
|
@ -45,6 +55,9 @@ config bridge-vlan 'backoffice_vlan'
|
|||
list ports 'eth2:t'
|
||||
list ports 'eth3:t'
|
||||
list ports 'eth4:t'
|
||||
list ports 'eth5:t'
|
||||
list ports 'eth6:t'
|
||||
list ports 'eth7:t'
|
||||
|
||||
config interface 'mgmt'
|
||||
option device 'switch.1'
|
||||
|
|
|
@ -14,9 +14,3 @@ config timeserver 'ntp'
|
|||
list server '1.openwrt.pool.ntp.org'
|
||||
list server '2.openwrt.pool.ntp.org'
|
||||
list server '3.openwrt.pool.ntp.org'
|
||||
|
||||
config gpio_switch 'poe_passthrough'
|
||||
option name 'PoE Passthrough'
|
||||
option gpio_pin '480'
|
||||
option value '0'
|
||||
|
||||
|
|
Loading…
Reference in New Issue