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.
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Rep:
need help with routing problem
I am trying to install a remote link into our corporate network. Currently we have:
Internet--->DNS/GATEWAY--->Local Lan
XX.XXX.XXX.XX------------>192.168.0.0/24
I'm using ADTRAN NetVanta 3205s to extend via digital microwave link to remote site set up as follows:
Local Site-->router-->microwave link-->router-->remote site
192.168.0.240--10.XX.XX.XX-------->10.XX.XX.XX--->192.168.1.0/24
The link has been set up and is working, i.e the ADTRAN link is properly routing from one subnet to the other which I tested by using add route on a system at local end pointing to 192.168.1.XX traffic to 192.168.0.240. I was then able to ping from on end to the other.
The problem I have is, I don't know enough about iptables and routing tables to set the local gateway to send 192.168.1.X traffic through 192.168.0.240.
If someone who has experience with this could give me the proper lines to add into the local gateway I would surely appreciate the help.
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Original Poster
Rep:
Thanks for the quick response. That works, it is in fact how I tested the link. The problem is it only works until the system is restarted. I need the syntax to add it to the routing table in the default gateway so it is permanent and I'm assuming it will have to have a rule in the firewall about which I know very little.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.