[OpenWrt-Devel] lenovo Y1/S port mapping

郭传鈜 gch981213 at gmail.com
Fri Dec 12 18:46:14 EST 2014


Actually I don't know what port 7 is.
Port 5 is not required for Y1.

2014-12-12 22:20 GMT+08:00 John Crispin <blogic at openwrt.org>:
>
>
>
> On 12/12/2014 12:21, 郭传鈜 wrote:
> > Y1S has 2 Gigabit LAN. So I used the following: y1 |\ y1s)
> > ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch
> > "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5
> > 6t 7"
>
> is port 5 and 7 required ?
>
> port 7 is HW_NAT port i think
>
>
>         John
>
>
> > ucidef_add_switch_vlan "switch0" "2" "4 6t" ;;
> >
> > Tested on Y1. But I don't have a Y1S so I can't test if this is the
> > correct config.
> >
> > Ah....Sorry for my bad English:-)
> >
> > 2014-12-12 3:44 GMT+08:00, John Crispin <blogic at openwrt.org>:
> >> Hi,
> >>
> >> any lenovo Y1S users around ?
> >>
> >> while looking into this ticket ->
> >>
> >> https://dev.openwrt.org/ticket/18528
> >>
> >> i found this site -> http://show.smzdm.com/detail/94937
> >>
> >> looking at the picture i think the port mapping is totally
> >> broken.
> >>
> >> we currently have y1 |\ y1s) ucidef_set_interfaces_lan_wan
> >> "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1"
> >> ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5 6t"
> >> ucidef_add_switch_vlan "switch0" "2" "0 6t"
> >>
> >>
> >> wan on Y1 should be port 4 and wan on Y1S should be port 5
> >> (gmac1)
> >>
> >> i think it should be y1) ucidef_set_interfaces_lan_wan "eth0.1"
> >> "eth0.2" ucidef_add_switch "switch0" "1" "1"
> >> ucidef_add_switch_vlan "switch0" "1" "0 1 2 3  6t"
> >> ucidef_add_switch_vlan "switch0" "2" "4 6t
> >>
> >> y1s) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
> >> ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan
> >> "switch0" "1" "0 1 2 3 4 6t" ucidef_add_switch_vlan "switch0" "2"
> >> "5 6t"
> >>
> >> could someone tell me if the case has WAN written on any of the
> >> ports ?
> >>
> >> John _______________________________________________
> >> openwrt-devel mailing list openwrt-devel at lists.openwrt.org
> >> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> >>
> > _______________________________________________ openwrt-devel
> > mailing list openwrt-devel at lists.openwrt.org
> > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20141213/b341c21f/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