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.
I'm looking for a linux distro that pretty well has all the iptables / modules / ect setup to be a router. If possible(if it exists) I'd love to find a distro that install fairly quickly and is pretty well setup or easy to setup so all I have to do is setup the ip tables and be done with it. Or setup my interfaces and let-er go.
I need a simple box that can route 2 diffrent subnets of ip blocks to one exteranl IP address.
If anyone knows of anything like this please let me know ! as it would save me a lot of time, and don't really have a lot of time on my hands as the dead line is closing in and I really don't want to buy a cisco router for such a simple / small job.
Well, I was planning on doing this too. I know you said Linux but it is pretty close. You may want to try OpenBSD. It is really small and will run on a old machine and do fine. I installed OpenBSD to play with on a old 400MHz rig with 128MBs of ram. It only used about 30MBs.
As I said, it is not Linux but it is really secure.
The problem is my router can't negotiate the 2 subnets to get out onto the internet. After the router it hits a switch where each firewall will pickup 1 IP from the block, and the 3rd computer not behind the firewall is a kind of like lazy dmz computer or one that can have its own IP from the block hard coded into the systems TCP/IP
If anyone could help me on how to set this up so this will work if its possible that would be fantastic !, the more detailed the better.
The Freesco box only need to route as my servers do the DHCP. The Freesco box needs to be able to route the external ip on eth0 to eth1, and be able to route the 2 firewalls that will be grabing an ip from the ip block as well so each subnet is going out on its own IP.
I have yet to setup the Freesco box as I'm not sure if this can be done with it or not yet so i don't have a report.txt yet.
If it can be done please let me know or if someone coudl give me a ruff idea of what the routing table would look like in freesco let me know.
The problem is my router can't negotiate the 2 subnets to get out onto the internet.
hm, I think you don't need a special installation for that...
what happens, if you tell the two 'lan' network cards to route everything to the 'wan' one?
Acutally found a distro that did a fantastic job of being just a router with some other options if needed like DHCP and such, but the distro works like a charm. It comes with all the routing protocals, and the dynamic settings for all the routing protocals pretty well will route most things as it routed my 2 nics like a charm right out of the box. Just had to setup the 2 nics. The first one with the extrenal ip address, and the 2nd one with my IP block.
Anyhow the distro is Vyatta and I also found Freesco which probably would of done it as well, but Vyatta worked like a charm !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.