mirror of https://github.com/hak5/openwrt-owl.git
parent
ce4e5bd91d
commit
70106f153d
|
@ -16,11 +16,11 @@ config interface wan
|
|||
option proto dhcp
|
||||
|
||||
config switch
|
||||
option name eth0
|
||||
option reset 1
|
||||
option enable_vlan 1
|
||||
option name eth0
|
||||
option reset 1
|
||||
option enable_vlan 1
|
||||
|
||||
config switch_vlan
|
||||
option device eth0
|
||||
option vlan 1
|
||||
option ports '0 1 2 3 4'
|
||||
option device eth0
|
||||
option vlan 1
|
||||
option ports '0 1 2 3 4'
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
config 'interface' 'loopback'
|
||||
option 'ifname' 'lo'
|
||||
option 'proto' 'static'
|
||||
option 'ipaddr' '127.0.0.1'
|
||||
option 'netmask' '255.0.0.0'
|
||||
option 'ifname' 'lo'
|
||||
option 'proto' 'static'
|
||||
option 'ipaddr' '127.0.0.1'
|
||||
option 'netmask' '255.0.0.0'
|
||||
|
||||
config 'interface' 'lan'
|
||||
option 'ifname' 'eth1'
|
||||
option 'type' 'bridge'
|
||||
option 'proto' 'static'
|
||||
option 'ipaddr' '192.168.1.1'
|
||||
option 'netmask' '255.255.255.0'
|
||||
option 'ifname' 'eth1'
|
||||
option 'type' 'bridge'
|
||||
option 'proto' 'static'
|
||||
option 'ipaddr' '192.168.1.1'
|
||||
option 'netmask' '255.255.255.0'
|
||||
|
||||
config 'interface' 'wan'
|
||||
option 'ifname' 'eth0'
|
||||
option 'proto' 'dhcp'
|
||||
option 'ifname' 'eth0'
|
||||
option 'proto' 'dhcp'
|
||||
|
|
|
@ -16,16 +16,16 @@ config interface wan
|
|||
option proto dhcp
|
||||
|
||||
config switch
|
||||
option name eth0
|
||||
option reset 1
|
||||
option enable_vlan 1
|
||||
option name eth0
|
||||
option reset 1
|
||||
option enable_vlan 1
|
||||
|
||||
config switch_vlan
|
||||
option device eth0
|
||||
option vlan 1
|
||||
option ports "0t 1 3 4 5"
|
||||
option device eth0
|
||||
option vlan 1
|
||||
option ports "0t 1 3 4 5"
|
||||
|
||||
config switch_vlan
|
||||
option device eth0
|
||||
option vlan 2
|
||||
option ports "0t 2"
|
||||
option device eth0
|
||||
option vlan 2
|
||||
option ports "0t 2"
|
||||
|
|
|
@ -16,11 +16,11 @@ config interface wan
|
|||
option proto 'dhcp'
|
||||
|
||||
config switch
|
||||
option name 'eth1'
|
||||
option reset '1'
|
||||
option enable_vlan '1'
|
||||
option name 'eth1'
|
||||
option reset '1'
|
||||
option enable_vlan '1'
|
||||
|
||||
config switch_vlan
|
||||
option device 'eth1'
|
||||
option vlan '1'
|
||||
option ports '1 2 5'
|
||||
option device 'eth1'
|
||||
option vlan '1'
|
||||
option ports '1 2 5'
|
||||
|
|
|
@ -16,11 +16,11 @@ config interface wan
|
|||
option proto 'dhcp'
|
||||
|
||||
config switch
|
||||
option name 'eth1'
|
||||
option reset '1'
|
||||
option enable_vlan '1'
|
||||
option name 'eth1'
|
||||
option reset '1'
|
||||
option enable_vlan '1'
|
||||
|
||||
config switch_vlan
|
||||
option device 'eth1'
|
||||
option vlan '1'
|
||||
option ports '1 2 5'
|
||||
option device 'eth1'
|
||||
option vlan '1'
|
||||
option ports '1 2 5'
|
||||
|
|
|
@ -16,11 +16,11 @@ config interface wan
|
|||
option proto 'dhcp'
|
||||
|
||||
config switch
|
||||
option name 'eth1'
|
||||
option reset '1'
|
||||
option enable_vlan '1'
|
||||
option name 'eth1'
|
||||
option reset '1'
|
||||
option enable_vlan '1'
|
||||
|
||||
config switch_vlan
|
||||
option device 'eth1'
|
||||
option vlan '1'
|
||||
option ports '0 1 2 3 5'
|
||||
option device 'eth1'
|
||||
option vlan '1'
|
||||
option ports '0 1 2 3 5'
|
||||
|
|
|
@ -16,11 +16,11 @@ config interface wan
|
|||
option proto dhcp
|
||||
|
||||
config switch
|
||||
option name eth1
|
||||
option reset 1
|
||||
option enable_vlan 1
|
||||
option name eth1
|
||||
option reset 1
|
||||
option enable_vlan 1
|
||||
|
||||
config switch_vlan
|
||||
option device eth1
|
||||
option vlan 1
|
||||
option ports "0 1 2 3 4"
|
||||
option device eth1
|
||||
option vlan 1
|
||||
option ports "0 1 2 3 4"
|
||||
|
|
|
@ -16,11 +16,11 @@ config interface wan
|
|||
option proto dhcp
|
||||
|
||||
config switch
|
||||
option name eth1
|
||||
option reset 1
|
||||
option enable_vlan 1
|
||||
option name eth1
|
||||
option reset 1
|
||||
option enable_vlan 1
|
||||
|
||||
config switch_vlan
|
||||
option device eth1
|
||||
option vlan 1
|
||||
option ports "0 1 2 3 4"
|
||||
option device eth1
|
||||
option vlan 1
|
||||
option ports "0 1 2 3 4"
|
||||
|
|
|
@ -16,11 +16,11 @@ config interface wan
|
|||
option proto dhcp
|
||||
|
||||
config switch
|
||||
option name eth0
|
||||
option reset 1
|
||||
option enable_vlan 1
|
||||
option name eth0
|
||||
option reset 1
|
||||
option enable_vlan 1
|
||||
|
||||
config switch_vlan
|
||||
option device eth0
|
||||
option vlan 1
|
||||
option ports '0 1 2 3 4'
|
||||
option device eth0
|
||||
option vlan 1
|
||||
option ports '0 1 2 3 4'
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
config 'interface' 'loopback'
|
||||
option 'ifname' 'lo'
|
||||
option 'proto' 'static'
|
||||
option 'ipaddr' '127.0.0.1'
|
||||
option 'netmask' '255.0.0.0'
|
||||
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 'proto' 'static'
|
||||
option 'ipaddr' '192.168.1.1'
|
||||
option 'netmask' '255.255.255.0'
|
||||
option 'ifname' 'eth0.1'
|
||||
option 'type' 'bridge'
|
||||
option 'proto' 'static'
|
||||
option 'ipaddr' '192.168.1.1'
|
||||
option 'netmask' '255.255.255.0'
|
||||
|
||||
config 'interface' 'wan'
|
||||
option 'ifname' 'eth0.2'
|
||||
option 'proto' 'dhcp'
|
||||
option 'ifname' 'eth0.2'
|
||||
option 'proto' 'dhcp'
|
||||
|
||||
config 'switch'
|
||||
option 'name' 'rtl8366rb'
|
||||
option 'reset' '1'
|
||||
option 'enable_vlan' '1'
|
||||
option 'reset' '1'
|
||||
option 'enable_vlan' '1'
|
||||
|
||||
config 'switch_vlan'
|
||||
option 'device' 'rtl8366rb'
|
||||
option 'vlan' '1'
|
||||
option 'ports' '1 2 3 4 5t'
|
||||
option 'device' 'rtl8366rb'
|
||||
option 'vlan' '1'
|
||||
option 'ports' '1 2 3 4 5t'
|
||||
|
||||
config 'switch_vlan'
|
||||
option 'device' 'rtl8366rb'
|
||||
option 'vlan' '2'
|
||||
option 'ports' '0 5t'
|
||||
option 'device' 'rtl8366rb'
|
||||
option 'vlan' '2'
|
||||
option 'ports' '0 5t'
|
||||
|
|
|
@ -54,7 +54,7 @@ config switch_port
|
|||
option port 2
|
||||
option led 9
|
||||
|
||||
config switch_port
|
||||
config switch_port
|
||||
# Port 5 controls the configuration of the WAN LED and the
|
||||
# section does not correspond to a real switch port.
|
||||
#
|
||||
|
|
|
@ -54,7 +54,7 @@ config switch_port
|
|||
option port 2
|
||||
option led 9
|
||||
|
||||
config switch_port
|
||||
config switch_port
|
||||
# Port 5 controls the configuration of the WAN LED and the
|
||||
# section does not correspond to a real switch port.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue