FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14215 questions

16870 answers

27749 comments

54380 members

0 votes
97 views 0 comments
by
Hello Community !

I have a LAN network with devices 10.111.4.1/255.0.0.0 and 10.111.5.1/255.0.0.0 defined, the Gateway for this devices is a router with IP 10.100.1.1/255.0.0.0. Now I need to connect a OpenVPN network with 10.10.1.75/16 for the router as tunnel.

Using the 10.100.1.1/255.0.0.0 on the router LAN device and activating the VPN the VPN connection is lost  because of the wrong use of the LAN network submask.

Is there a way to define a "special" /additional route only for the VPN connection ? I am unsure about the mask / metric parameters I need to setup.

How can I (without changing the old LAN devices) define the correct route for the VPN connection

1 Answer

0 votes
by
Hello,

I do not think this is possible from the routing perspective, as there is no way to set how set and to decide whether to route from 10.0.0.0/8 to 10.0.0.0/24 site via some networking interface.

Why do you need such large networks in the first place?

It can cause other issues such as broadcast floods, which waste bandwidth and reduce overall performance.

Best regards,