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)