tune rtl8366s default config, make vlan 1 cpu port tagged and use eth0.1 for the lan interface - this brings the configuration more in line with other switch setups
SVN-Revision: 24215
This commit is contained in:
parent
9811ba059f
commit
6f7e2d4ce8
3 changed files with 6 additions and 6 deletions
|
@ -5,7 +5,7 @@ config interface loopback
|
||||||
option netmask 255.0.0.0
|
option netmask 255.0.0.0
|
||||||
|
|
||||||
config interface lan
|
config interface lan
|
||||||
option ifname eth0
|
option ifname eth0.1
|
||||||
option type bridge
|
option type bridge
|
||||||
option proto static
|
option proto static
|
||||||
option ipaddr 192.168.1.1
|
option ipaddr 192.168.1.1
|
||||||
|
@ -23,4 +23,4 @@ config switch
|
||||||
config switch_vlan
|
config switch_vlan
|
||||||
option device rtl8366s
|
option device rtl8366s
|
||||||
option vlan 1
|
option vlan 1
|
||||||
option ports "0 1 2 3 5"
|
option ports "0 1 2 3 5t"
|
||||||
|
|
|
@ -5,7 +5,7 @@ config interface loopback
|
||||||
option netmask 255.0.0.0
|
option netmask 255.0.0.0
|
||||||
|
|
||||||
config interface lan
|
config interface lan
|
||||||
option ifname eth0
|
option ifname eth0.1
|
||||||
option type bridge
|
option type bridge
|
||||||
option proto static
|
option proto static
|
||||||
option ipaddr 192.168.1.1
|
option ipaddr 192.168.1.1
|
||||||
|
@ -25,7 +25,7 @@ config switch
|
||||||
config switch_vlan
|
config switch_vlan
|
||||||
option device rtl8366s
|
option device rtl8366s
|
||||||
option vlan 1
|
option vlan 1
|
||||||
option ports "0 1 2 3 5"
|
option ports "0 1 2 3 5t"
|
||||||
|
|
||||||
config switch_port
|
config switch_port
|
||||||
# Port 1 controls the GREEN configuration of LEDs for
|
# Port 1 controls the GREEN configuration of LEDs for
|
||||||
|
|
|
@ -5,7 +5,7 @@ config interface loopback
|
||||||
option netmask 255.0.0.0
|
option netmask 255.0.0.0
|
||||||
|
|
||||||
config interface lan
|
config interface lan
|
||||||
option ifname eth0
|
option ifname eth0.1
|
||||||
option type bridge
|
option type bridge
|
||||||
option proto static
|
option proto static
|
||||||
option ipaddr 192.168.1.1
|
option ipaddr 192.168.1.1
|
||||||
|
@ -23,4 +23,4 @@ config switch
|
||||||
config switch_vlan
|
config switch_vlan
|
||||||
option device rtl8366s
|
option device rtl8366s
|
||||||
option vlan 1
|
option vlan 1
|
||||||
option ports "0 1 2 3 5"
|
option ports "0 1 2 3 5t"
|
||||||
|
|
Loading…
Reference in a new issue