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.
It occurs to me that 300+ stations are probably on more than one subnet? Obviously, if that's the case your network topology is really going to matter as you will have (or will need) routers within the network as well as your internet gateway.
That also might be a lot of users for one little DSL link. Hope they are not all going to start using streamed video :-)
This is a temporary solution, people here need internet to do their work, they don't need stream video or play unreal tournament, workers are mostly pharmaceuticals and doctors, people who need to browse the FDA website and other European pharmaceutical labs.
About the internal sub netting is not important, it has being taken care off.
Mandrake 9.1 can set up IP masquerade just by clicking through the control panel. (GmDrak is the trick)
I have backed away from this method as it requires DHCP on the internal network, but with 300+ workstations you're probably already using DHCP--whereas i am dealing with small internal nets.
Also it may make firewall config more involved as the setting mandrake sets up conflict with the documentation for shorewall [the iptables control mandrake uses]
If you're running DHCP and are cool with working out the firewall later, try installing mdk9.1
Set up your gateway as a linux machine with 2 NICs... enable port forwarding and set up your rules...
Have your internal nic go to a switch/router/hub....
You can use my script to get started, simply copy it to /etc/init.d/iptables, make it executable, fire it up, and you should be set.
Have fun......
But if you really wanna make it simple, just put a router on your external line and go from there, although depending on topography, rules on the router could be a pain to set up.....
There's a really up-to-date HOWTO on www.tldp.org. It's called IP-MASQUERADING-HOWTO and is in the networking section. The stuff there is mostly distro non-specific but the one bit that is, is taylored to red hat and slackware. You *MAY* have to recompile your kernel - I don't know what settings RH comes with but if RH are worth their souls then it'll be a comprehensive modular kernel.
To my knowledge, there isn't a single package that will do it for you although iptables is by far the most important.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.