mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 20:53:22 +02:00
[ar71xx] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24215 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9ad27c8ae4
commit
db07bdac3e
@ -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 New Issue
Block a user