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 have a network of about 6 computers, going in and out.
They are currently nat'd by a broadband 'router'.
I have an old pmac 6100 i'm using for various tasks (nagios, nessus, bind replication, etc), so it's not too busy. I want to use it as a router for the network, which simply throttles and shapes network traffic, before handing it to the nat router for transport.
The linux box has one nic, and i don't think it's desireable to route back through it, but rather have all data comming from the nat router go directly to the hosts who need it.
This works if i set the linux box as the default route on various hosts (mainly MacOS X), but only partially - the boxes will discover the broadband router at some point, and use it instead.
How can I make my scenario work?
Setting up a second NIC will be a complex operation, and theoretically doesn't seem necessary. Am I right?
so what u want is for the traffic to come out of a box, to the router, out of the router to the MAC , do some stuff in the MAC and then back out to the router?
sounds bad. you can get a second NIC, put the computers behind it, and not NAT. you dont HAVE to Nat. (Atleast not in Linux you dont)
What i'd like is in one scope all outbound traffic to go to one of the boxes on the net, and for it to send data to the router. What is happenning is that the other machines are bypassing the linux box, and sending data to the nat router instead...
Secluding the router from the other comps is prolly the way to go, but it seems a bit excessive....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.