Multihomed NAT box - one problem - cannot route to VLANS off of main subnet
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
eth0 is the default gateway for the box
eth1 has a gateway for the local LAN, 192.168.1.1
The LAN has several VLANs, 192.168.105.0 for instance.
192.168.1.1 is the default gateway for the entire LAN. This is a switch with routing enabled, and it's also 192.168.105.1, etc.
From the problem box, traceroute 192.168.105.x shows that that traffic heads out eth0 despite all my efforts, i.e. static routes; i have modified sysconfig/network-scripts/route-eth1 as here:
192.168.105.0 via 192.168.1.1
also tried
192.168.105.0 via 1.247
it is critical that I be able to interact with this box to/from my other VLANS. I'm stumped.
eth0 is the default gateway for the box
eth1 has a gateway for the local LAN, 192.168.1.1
The LAN has several VLANs, 192.168.105.0 for instance.
192.168.1.1 is the default gateway for the entire LAN. This is a switch with routing enabled, and it's also 192.168.105.1, etc.
From the problem box, traceroute 192.168.105.x shows that that traffic heads out eth0 despite all my efforts, i.e. static routes; i have modified sysconfig/network-scripts/route-eth1 as here:
Webmin / Routing and gateways / Act as a router: yes /
and added static routes to the vlans. Now - who can tell me what files were modified?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.