[OpenWrt-Devel] [LEDE-DEV] MV88E6060 switch

Nerijus Baliūnas nerijus at users.sourceforge.net
Sun Jul 23 14:27:59 EDT 2017


2017-07-21 19:48, Nerijus Baliūnas via Lede-dev rašė:
> How do I configure vlan? Here I changed eth0 to eth0.1:
> 
> config interface 'lan'
>         option type 'bridge'
>        option ifname 'eth0.1'
>        option proto 'static'
>        option ipaddr '192.168.1.1'
>        option netmask '255.255.255.0'
>        option ip6assign '60'

I tried
config 'switch' 'eth0'
    option 'enable'      '1'
    option 'enable_vlan' '1'
    option 'reset'       '1'

config 'switch_vlan'
    option 'vlan'       '1'
    option 'device'     'eth0'
    option 'ports'      '1 2 3 4 5t'

config 'switch_vlan'
    option 'vlan'       '2'
    option 'device'     'eth0'
    option 'ports'      '0 5t'

Does not work. Do I need to have swconfig installed in order to
get the switch working? Because by default it is not installed.

Thanks,
Nerijus
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list