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

Florian Fainelli f.fainelli at gmail.com
Sun Jul 23 14:38:02 EDT 2017


On Jul 23, 2017 11:28, "Nerijus Baliūnas" <nerijus at users.sourceforge.net>
wrote:

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.


Yes, it is necessary with this switch driver to have swconfig installed,
otherwise nothing would push CLEAN configurations to the mv88e6060 switch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20170723/c8b771d4/attachment.htm>
-------------- next part --------------
_______________________________________________
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