Use TL-WR841N to create subnet and route packets from WAN to LAN

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Use TL-WR841N to create subnet and route packets from WAN to LAN

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Use TL-WR841N to create subnet and route packets from WAN to LAN
Use TL-WR841N to create subnet and route packets from WAN to LAN
2022-07-28 08:14:01 - last edited 2022-07-29 00:48:26
Model: TL-WR841N  
Hardware Version: V14
Firmware Version: 0.9.1 4.16 v0001.0

Hi everyone,

I'm trying to set up, inside my local area network, a subnet with a different subnet address by means of a TP-LINK router. In particular, the first image shows the configuration I've used until now, while the second one shows the topology I'm trying to setting up.

 

 

In the second scenario, router R2 is a TL-WR841N where Operation Mode is set equal to Wireless Router, WAN address is gathered from DHCP and has a DHCP server running on LAN. I've allowed ping packet from both LAN and WAN port. Laptop L2 receives its address from DHCP and indeed it can successfully ping L1 and browse the internet. The problem is I need to reach subnet 192.168.6.x from subnet 192.168.0.x as well. This is because I'll need to setup a VPN with a firewall located on network 192.168.6.x, thus network devices needs to know how to route packets to the firewall.

 

From my studies, I'd expect router R2 to send router advertisement messages informing that network 192.168.6.0/24 can be reached by means of 192.168.0.94, and thus I'd expect laptop L1 to be able to ping 192.168.6.100.

 

Instead, while in the first scenario laptop L1 can ping laptop L2 and viceversa, in the second scenario L1 can ping R2 WAN interface (I've allowed it) but cannot ping R2 LAN interface or L2.

 

  • If on L1 I do command "route add 192.168.6.0 mask 255.255.255.0 192.168.0.94", then it can ping 192.168.6.1 but not 192.168.6.100.
  • If I enable DMZ on 192.168.6.100, then L1 can ping L2 too. However this holds only as long as the above-mentioned route is in place.

 

This does not seem to be the right way: should I manually add the router on my gateway router? shouldn't this procedure be automatic? And what if one wants to have all devices inside 192.168.6.x reachable?

 

I think I'm missing something, could you please help me out?

 

Thanks,

    Alessandro

 

 

  0      
  0      
#1
Options
2 Reply
Re:Use TL-WR841N to create subnet and route packets from WAN to LAN
2022-07-28 10:31:37 - last edited 2022-07-29 00:48:26

I got it working by performing the two following steps:

1. On R2 I've disabled Firewall

2. On R1 I've added a routing rule like "route add 192.168.6.0 mask 255.255.255.0 192.168.0.94".

 

So this way there is no need to set DMZ and there is no need to set the static route on every PC.

 

The question however remains: step 2 shouldn't be performed automatically by means of router advertisement messages sent from R2?

  0  
  0  
#2
Options
Re:Use TL-WR841N to create subnet and route packets from WAN to LAN
2022-07-29 10:40:57

  @AMartinelli 

 

You've done the optimal configuration to achieve the second diagram scenario.

Since WR841N is a lower end home grade router there's no "router advertisement messages sent from R2".

If this was helpful click once on the arrow pointing upward. If this solves your issue, click once the star to mark it as a "Recommended Solution".
  1  
  1  
#3
Options