OpenWrt Forum Archive

Topic: Problems with WAN, VLAN on a TP-Link WR2543nd and 12.09rc1

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

I want to have internet connection available but there is no communication between the router and WAN, although it can establish a pppoe connection.

I have an ISP fiber connection that has 2 VLAN, one for internet service, the other for SIP.

Scheme:

Fiber--->ONT(Modem)--->Openwrt(WAN) ----> VLAN 10 (Internet Connection)
                                                                          -----> VLAN 12 (Voice)

I have a TPLink TL-WR2543ND, WAN port is connected to Modem, Port 1 is dedicated to VLAN 12, and the other ones should belong to Lan;
So far i can establish a pppoe connection, is active, but i can't have internet connection, either in system (trying to ping from openwrt cli to remote host timesout), either in lan pc;

content from /etc/config/network:

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config interface 'lan'
    option ifname 'eth0.1'
    option type 'bridge'
    option proto 'static'
    option ipaddr '10.0.0.4'
    option netmask '255.255.252.0'

config interface 'wan'
    option _orig_ifname 'eth0.2'
    option _orig_bridge 'false'
    option proto 'pppoe'
    option username 'xxxxxxxxxxxxxxxxxxxx'
    option password 'xxxxxxxx'
    option ifname 'eth0.10'

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'
    option enable_vlan4k '1'

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option ports '1 2 3 4 9t'

config switch_vlan
    option device 'switch0'
    option vlan '2'
    option ports '0 9t'

config switch_vlan
    option device 'switch0'
    option ports '0t 9t'
    option vlan '10'

config switch_vlan
    option device 'switch0'
    option ports '0t 1t'
    option vlan '12'

What do i need to do to have internet available on ports 2-5 and in openwrt?

Regards

(Last edited by jccosta on 3 Mar 2013, 22:13)

Bump...

Does anyone have an insight on why this is happening?
From what i've seen from other users with a 1043nd, a similar conf allows them to have Internet connection, although they were using backfire. There has been also some comments on some versions of 1043nd losing VLAN tagging, but that should be fixed with option allow 4k vlans.
Is 12.09rc1 still to imature to use in production?

I was able to make TL-WR1043ND with two VLANs that are able to access Internet. I believe that you did not set your firewall properly. I used LuCI GUI to configure the system.

The discussion might have continued from here.