Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
Hi I am trying to set up my Linux server as a gateway. I have two Network Card in the Linux server. The first eth0 I am using for my internal netowk, the second network card eth1 I am using for the connection with the Router. The Router manages the internet. The router owns the public IP and manages NAT. I just need to thel my Linux server to route packets from etho throught eth1 to the Router.
You will need to read the full HOWTO, it goes though how to set it up linux so it will "forward" the packets to and from the Internet network and how to set up the other machines to use the "Gateway" (the machine you set IP Masquerading on)
Do you really need to have both subnets (router + server and server+other machines) in one network? I'd keep router and ethX (the one conected to router) as they are and change the rest of IPs to something like 10.0.1.x (and change both netmasks to 255.255.255.0).
And on the linux server, you have so much posibilities then on a cisco 805 router. From all sort of caching options, control, we interfaces for users, I like that kind of chalenge to develop my own network system...heh
Ok I understand - just didn't want to see you going up the wrong path believing you need the linux box if all you wanted was NAT.
I have done something similar to what you want - I have a masquerading box with a firewall, proxy (squid) and an internl webserver. Don't be put off by the length of the ldp massquerading howto - it deals with three cases simultaneously: 2.0 kernel, 2,2 kernel and 2.4 kernel, each different. It also contains a fair bit of troubleshooting help at the end. If you cut it down to a 2.4 kernel document it's very short. If you don't need to recompile the kernel, it takes ten minutes. I really think you should go there; I found it to be a very useful document indeed.
I haven't seen the bandwidth limiting howto, but maybe you should check it out, and then post your problems and questions here. I'm not sure that your solution can be written down in just five or six lines of a forum post. I'm not saying this to be dismissive; I'm saying this because people will be more likely to help if you post with a specific problem rather then asking them to write down a whole lot of stuff that's already been written down.
If you want help configuring squid, I may be able to help you with that, (I don't know it inside-out - just enough to achieve what I wanted to - so I can't guarantee help); I'd certainly be willing to share my working config file.