<div dir="ltr"><div><span style="font-size:14px">Actually I don't know what port 7 is.</span><br></div><div style="font-size:14px">Port 5 is not required for Y1. </div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-12 22:20 GMT+08:00 John Crispin <span dir="ltr"><<a href="mailto:blogic@openwrt.org" target="_blank">blogic@openwrt.org</a>></span>:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 12/12/2014 12:21, 郭传鈜 wrote:<br>
> Y1S has 2 Gigabit LAN. So I used the following: y1 |\ y1s)<br>
> ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch<br>
> "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5<br>
> 6t 7"<br>
<br>
</span>is port 5 and 7 required ?<br>
<br>
port 7 is HW_NAT port i think<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
        John<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
> ucidef_add_switch_vlan "switch0" "2" "4 6t" ;;<br>
><br>
> Tested on Y1. But I don't have a Y1S so I can't test if this is the<br>
> correct config.<br>
><br>
> Ah....Sorry for my bad English:-)<br>
><br>
> 2014-12-12 3:44 GMT+08:00, John Crispin <<a href="mailto:blogic@openwrt.org">blogic@openwrt.org</a>>:<br>
>> Hi,<br>
>><br>
>> any lenovo Y1S users around ?<br>
>><br>
>> while looking into this ticket -><br>
>><br>
>> <a href="https://dev.openwrt.org/ticket/18528" target="_blank">https://dev.openwrt.org/ticket/18528</a><br>
>><br>
>> i found this site -> <a href="http://show.smzdm.com/detail/94937" target="_blank">http://show.smzdm.com/detail/94937</a><br>
>><br>
>> looking at the picture i think the port mapping is totally<br>
>> broken.<br>
>><br>
>> we currently have y1 |\ y1s) ucidef_set_interfaces_lan_wan<br>
>> "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1"<br>
>> ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5 6t"<br>
>> ucidef_add_switch_vlan "switch0" "2" "0 6t"<br>
>><br>
>><br>
>> wan on Y1 should be port 4 and wan on Y1S should be port 5<br>
>> (gmac1)<br>
>><br>
>> i think it should be y1) ucidef_set_interfaces_lan_wan "eth0.1"<br>
>> "eth0.2" ucidef_add_switch "switch0" "1" "1"<br>
>> ucidef_add_switch_vlan "switch0" "1" "0 1 2 3  6t"<br>
>> ucidef_add_switch_vlan "switch0" "2" "4 6t<br>
>><br>
>> y1s) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"<br>
>> ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan<br>
>> "switch0" "1" "0 1 2 3 4 6t" ucidef_add_switch_vlan "switch0" "2"<br>
>> "5 6t"<br>
>><br>
>> could someone tell me if the case has WAN written on any of the<br>
>> ports ?<br>
>><br>
>> John _______________________________________________<br>
>> openwrt-devel mailing list <a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
>> <a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
>><br>
> _______________________________________________ openwrt-devel<br>
> mailing list <a href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
> <a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
><br>
</div></div></blockquote></div></div>