LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Routing 2 incoming networks into 1 (https://www.linuxquestions.org/questions/linux-networking-3/routing-2-incoming-networks-into-1-a-105921/)

ivanatora 10-19-2003 10:35 AM

Routing 2 incoming networks into 1
 
My question is hypothethical. If I have two modems that can be connected to PC via NIC and one small home/office network can I use both modems with one linux box, acting like a router? How many NICs do I have to possess? eth0 and eth1 for the modems, and eth2 for the inner network? And can that routing be done via iptables? I want the PCs in the network to recieve net flow from the gateway (the linux box), which one recieve traffic via the modems.
Detailed explanations for that situation are welcome :)
Replies like 'bye one modem with larger traffic channel instead two modems' are not welcome :)

dorian33 10-19-2003 12:56 PM

The subject was described too short. Of course you can use 3 NICs: eth0 & eth1 for modems and eth2 for internal network. But the rules of routing are unclear - so it is a point you should think about and clarify firstly.
But in general such situation is a matter of traffic shaping and advance routing. So read some about it. For instance see this link.


All times are GMT -5. The time now is 12:07 PM.