LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-19-2003, 10:35 AM   #1
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 31
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
 
Old 10-19-2003, 12:56 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 587

Rep: Reputation: 32
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need simple routing distro that can handle >2 networks Ex Noctem Linux - Networking 5 07-17-2007 03:18 AM
No incoming mails gubak Linux - Networking 1 12-06-2004 02:10 AM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 03:11 PM
routing problem between 2 networks bligg Linux - Networking 6 10-27-2003 02:33 AM
HELP with incoming requests guild Linux - Networking 2 09-19-2003 11:46 AM


All times are GMT -5. The time now is 05:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration