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.
in the above network there are 4 routers, if they are cisco all the 4 routers will share the routes and will be aware of rest of the networks, but if i want to connect 4 linux routers how can i do it. clients attached to router A will reach router B via A as gateway(local ip), but if want to reach router C, it can go via router B, but to reach D via C, how can i add route since router C IP and router A ip are not in the same subnet ?
can't we do this kind of routing with out cisco rotuer.
Two ways basically. Bridging, or double+ NAT. Bridging can be quirky since kernels > 2.6.32 in my experience. And double NAT should use different subnets for each interface, and probably ebtables to NAT the MAC addresses. Since routing has gotten more strict in recent years.
My setup has my desktop connected to my laptop via a cat5e crossover cable on a static IP. The laptop connects to the wireless router via DHCP, and uses a combination of iptables and ebtables to forward the desktops packets. The wireless router connects to the ISP. Overly complex in my opinion, but all existing hardware in my case.
Yes, you can use linux servers as replacement for your routers. Take a look at quagga, which is a software suite that implements the most common routing protocols.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.