WR1043ND - no routing or packet forwarding LAN->WAN ?

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

vplessky
Posts: 60
Joined: Sun Oct 31, 2010 10:31 am
Location: Moscow, Russia
Contact:

Re: WR1043ND - no routing or packet forwarding LAN->WAN ?

Postby vplessky » Fri Nov 26, 2010 3:32 pm

I did following setup
------------------------------

Internet ---- ( DD-Wrt v24 sp2 * ASUS WL-500G ) ---- ( Gargoyle 1.3.8 * TP-Link WR841ND ) ---- Wired Client

DD-Wrt
IP: 192.168.1.2
WAN connection: PPPoE

Gargoyle
LAN IP: 10.10.10.1
WAN IP: 192.168.1.100 (via Dynamic IP-DHCP)
Gateway: 192.168.1.2
WAN DNS servers (as reported by Gargoyle GUI)
10.10.10.1
192.168.1.2
212.1.224.6
212.1.230.111

Client PC:
IP: 10.10.10.50
GW: 10.10.10.1

In such setup I can ping www.google.com from client PC connected to Gargoyle router.
nslookup also resolves names without problems.

So, with correct setup for DNS servers, setup with Static IP for WAN interface works.
Looks like problem is indeed with PPPoE connection.

vplessky
Posts: 60
Joined: Sun Oct 31, 2010 10:31 am
Location: Moscow, Russia
Contact:

no routing or packet forwarding LAN->WAN?- Mac address cloni

Postby vplessky » Sun Dec 12, 2010 10:06 am

bigg wrote:WAN to Static Wired

ip 192.168.226.12
gw 192.168.226.1
mask 255.255.255.0
Custom MAC Address 00:1D:92:34:36:4C was set also.

DHCP Disabled
LAN default IP suits me well
ip 192.168.1.1
mask 255.255.255.0


Hello, hope you are alive and your wife is happy! :)

It seems I found reason why there were problems with connection
(no routing or packet forwarding LAN->WAN)

It was caused by cloning Mac address from local PC to WAN interface.

Let's suggest PC mac address is: 00-23-54-AA-BB-CC
You set it as Mac address for WAN interface.

Code: Select all

config 'interface' 'wan'
        option 'ifname' 'eth0.2'
        option 'proto' 'pppoe'
        option 'macaddr' '00:23:54:aa:bb:cc'
        option 'username' 'myusername'
        option 'password' 'mypassword'
        option 'keepalive' '10'
        option 'peerdns' '1'


And there are two hosts known to router with same Mac address - one in LAN, and another on WAN.
This doesn't cause problem with DD-Wrt, or TP-Link factory firmware. But it's a problem with OpenWrt/Gargoyle.

To overcome this, I changed Mac address on Ethernet adapter (in Windows Vista) to: 00-23-54-11-22-33

Everything works now (tested with WR1043ND router).

Most likely, something needs to be fixed in network or firewall setup.
But hope information above would be helpful for people looking for workaround.

vplessky
Posts: 60
Joined: Sun Oct 31, 2010 10:31 am
Location: Moscow, Russia
Contact:

Re: WR1043ND - no routing or packet forwarding LAN->WAN ?

Postby vplessky » Sun Dec 12, 2010 10:11 am

vplessky wrote:I did following setup
------------------------------
Internet ---- ( DD-Wrt v24 sp2 * ASUS WL-500G ) ---- ( Gargoyle 1.3.8 * TP-Link WR841ND ) ---- Wired Client

...
In such setup I can ping http://www.google.com from client PC connected to Gargoyle router.
nslookup also resolves names without problems.

So, with correct setup for DNS servers, setup with Static IP for WAN interface works.
Looks like problem is indeed with PPPoE connection.


It was working, indeed.
But not because of Static IP address on WAN interface.
It was working because I was not cloning Mac address from local PC to WAN interface.

For workaround - see my post above.

Cloedu
Posts: 5
Joined: Wed Dec 28, 2011 6:15 pm

Re: WR1043ND - no routing or packet forwarding LAN->WAN ?

Postby Cloedu » Wed Dec 28, 2011 6:19 pm

I had the same problem with the WAN connection. Is this problem now fixed with the latest Version 1.5.2?

Thanks
Claude

hnl_dk
Moderator
Posts: 408
Joined: Mon Aug 29, 2011 12:37 pm

Re: WR1043ND - no routing or packet forwarding LAN->WAN ?

Postby hnl_dk » Wed Dec 28, 2011 7:14 pm

Cloedu wrote:I had the same problem with the WAN connection. Is this problem now fixed with the latest Version 1.5.2?

Thanks
Claude

If I where you, I would try to test.
And if the problem is what vplessky wrote, that he used the same MAC address for the router and one of the computers... that is never a good idea on any network.

So please test. 1.5.2 is running perfectly here, same did the last versions.

Do you also have multiple routers, if so, why?
I have two TL-WR1043ND, one working as a router, the other working as an AP, for a computer, our bluray player and and to have a few extra connections in the other end of the house.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4

Cloedu
Posts: 5
Joined: Wed Dec 28, 2011 6:15 pm

Re: WR1043ND - no routing or packet forwarding LAN->WAN ?

Postby Cloedu » Thu Dec 29, 2011 4:08 pm

Hi

I have just updated to the newest version. everything is working perfectly! ;-)

Thanks to all devs..
Claude

hnl_dk
Moderator
Posts: 408
Joined: Mon Aug 29, 2011 12:37 pm

Re: WR1043ND - no routing or packet forwarding LAN->WAN ?

Postby hnl_dk » Thu Dec 29, 2011 4:18 pm

Cloedu wrote:Hi

I have just updated to the newest version. everything is working perfectly! ;-)

Thanks to all devs..
Claude

super :-)
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4

HelderMF
Posts: 14
Joined: Tue Mar 15, 2011 6:14 am

Re: WR1043ND - no routing or packet forwarding LAN->WAN ?

Postby HelderMF » Tue Jun 19, 2012 8:35 am

I'm using Gargoyle 1.5.4 in a TL-WR1043ND and this problem persists.

I had to change the MAC address of the Ethernet interface of the computer so it becomes different from the one cloned to the WAN interface. Only this way I have LAN->WAN communication in the computer with the original MAC address that I'm cloning.

I tried the trick " option 'enable_learning' '0' " in the switch (file /etc/config/network ) and it worked as a workaround I found here https://dev.openwrt.org/ticket/9273 , but it was not perfect. With this option the router sends all the frames to all Ethernet ports of the switch, flooding the network with the traffic of all the clients (acts like a HUB, not like a switch, because the learning bridge functionality becomes disabled...)

Regards,
HelderMF


Return to “Network / Wireless Issues”

Who is online

Users browsing this forum: No registered users and 3 guests