DrayTek UK Users' Community Forum

Help, Advice and Solutions from DrayTek Users

WAN to LAN routing

  • behaviour
  • Topic Author
  • User
  • User
More
06 Sep 2020 19:20 #1 by behaviour
WAN to LAN routing was created by behaviour
Hi All,

Hoping you can help me with an issue that is currently driving me crazy...

I have a 4G router in my loft room providing internet and runs on a subnet of 192.168.8.0/24
My Draytek 2860 that is my home network runs on 192.168.1.0/24

The 4G router in plugged into the WAN2 port of the 2860 showing an IP address of 192.168.8.105 and provides internet access just fine. The problem is I have now plugged a PC into the 4G router and want to be able to reach my 192.168.1.0/24 LAN but I just cannot figure out how to make it happen. I only have a single cable running between the two routers so I can't plug the PC directly into my 2860. I've tried setting a static route on the 2860 with various combinations but it's not making any difference. I'm using the diagnostics page of the 4G router to try and ping my server within the 192.168.1.0/24 subnet but it always times out.

Any guidance would be much appreciate

Please Log in or Create an account to join the conversation.

  • hornbyp
  • User
  • User
More
07 Sep 2020 16:00 #2 by hornbyp
Replied by hornbyp on topic Re: WAN to LAN routing
If I've read this correctly, your 4G Router is a fully-functional, NAT router that provides Internet access via its LAN ports (ie you can plug a PC or Wifi Access Point into them and get access to the Internet without any additional router).

If that is the case, you should probably link it to one of the 2860's LAN ports, not WAN2. You can use the 2860's VLAN options, to establish that LAN port as being on the 192.168.8.0/24 network (and give the 2860 an additional, static IP address on that network). If you then enable InterLAN-Routing (with or without Firewall Rules), I think it should give you what you want.

As it stands, all traffic outbound from the 2860 LAN, will be double-natted - once by the 2860 and once by the 4G Router. Depending on what you're trying to access, this can be highly undesirable. When it comes to inbound traffic from the 4G Router's LAN, heading for the 2860 (assuming such a Route is defined), the 2860 thinks that traffic is coming from the Internet (and treats it accordingly). It will apply NAT and will only pass the traffic through if there is a matching outbound session, or NAT Open-Ports/Port Mapping rules are in place.

UPDATED

There will need to be a Static Route on the 4G Router, that says 192.168.1.0/24 is accessible via 192.168.8.105 (or whatever you give the 2860) ... and not via the 4G Router Default Gateway (which will be somewhere on your ISP's network).
You shouldn't need a static Route on the 2860, because it will know already where the 192.168.8.0/24 network is - unless the 4G Router is your only route to the Internet. In this case, the 2860 needs that to be specified as its Default Gateway. This might be achieved through either Route Policy or a Static Route definition for 0.0.0.0. (A bit more research may be required here :wink: )

Please Log in or Create an account to join the conversation.