OpenWrt Forum Archive

Topic: Using WAN port as LAN ports (vlan0) in WRT54GL

The content of this topic has been archived on 6 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

i want using all ports in WRT54GL(WHITE RUSSIAN (0.9+)) for Lan port include wan port.

i have follow a tutorial in http://wiki.openwrt.org/OpenWrtDocs/Con … cf85ba878f  but still WLAN port is not running properly (the pc or laptop who connected to wan port in WRT54GL is cannot ping by another computer)

this is value setting for vlan0ports="3 2 1 0 4 5*" and vlan0hwname="et0"

pls help me, sorry for my bad english big_smile

A quick guess - crossover cable needed.  The WAN port is not wired like LAN ports.  Hope this helps.

Bill

You could always just create a bridge instead, rather than doing it at the VLAN level.

Thanks

sam

@samcrawford
How to do that smile

thx.

Well you have your eth0.0 (WAN) and eth0.1 (LAN) interfaces as standard. Then you add a new interface called br0 which bridges the two.

I don't have the config lines to hand, but searching around should find them rather easily (it'll basically be the same as how the LAN and Wifi is bridged).

Thanks,

Sam

The WAN port is physically deferent from the other 4 LAN ports.  For the sake of simplification, I'll use the term "hub port" and "device port".  The WAN and the network card on your computer have "device port".  The 4 LAN port are "hub port".  To connect physically a "hub port" to a "device port", you use a straight ethernet cable.  To connect physically a "device port" to a "device port", you use a crossover cable.  That's always true for all configurations.

rgiapratama wrote:

vlan0ports="3 2 1 0 4 5*" and vlan0hwname="et0"

Your configuration is correct.  The bridge configuration is not the solution.  Your problem is probably hardware.

The discussion might have continued from here.