Drop-in-Gateway for some devices

Hi!

I have a router from my ISP and also a GLinet Router set up as Drop-in-gateway for some devices in the same subnet. This is working so far.

But when using the GLinet Router as gateway for my clients, all of the traffic including the local traffic for the subnets 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 is routed via the VPN used in the GLinet router. That means there ist no connection to the subnets from the clients using the drop-in-gateway.

Is there any chance to route the local traffic for subnets 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 via the standard ISP router (the gateway is inserted in the config page for the drop-in-gateway) and only the complete internet traffic via the GLinet router (VPN)?

Hi

Please check routing table of clients.

When configuring a default gateway, what’s really happening is that a default route is added. This route is used only when no other routes match. For example:

Network Destination    Netmask         Gateway         Interface        Metric
0.0.0.0                0.0.0.0         192.168.123.254 192.168.120.233  200

Client devices will still access their local subnet directly via the local route, not through the gateway. For example:

Network Destination    Netmask         Gateway    Interface        Metric
192.168.120.233        255.255.255.255 On-link    192.168.120.233  356

This means that traffic destined for local devices won’t be sent to the default gateway.
Since the gateway is part of the subnet, it still can receive these traffics, but it does not handle routing forwarding in this case — the communication stays within the subnet via MAC forwarding.

Thanks for your answer!