LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-17-2009, 11:04 AM   #1
xtravar
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake
Posts: 12

Rep: Reputation: 0
building a router with multiple nics (no external switch)


I'm familiar with the "box with 2 nics + switch" router setup, but it's hard to find info on the "box with 4 nics and no switch" router setup.

How different is the former configuration to the latter? Reason being, I want to make a file server/router and have the maximum throughput for each connection.

So just to be clear, I'm talking about making a linux router with 1 nic connected to the cable modem and then multiple nics connected to multiple computers (or switches) sharing the same network connection.

Thanks.
 
Old 07-17-2009, 04:50 PM   #2
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Rep: Reputation: 46
I am not a server expert but I have set up a couple of dhcp/nat/firewall servers. I don't think there is much difference. But I do see two things that may take some work to get figured out.

1. Assuming that this is a dhcp/nat/firewall you may have some issues getting the dhcp server to assign ip's to the nic's the way you want. You may be better off using static ip's for that reason.

2. You also may have some issues getting your firewall to work.

I wish you success.
 
Old 07-19-2009, 01:39 PM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by xtravar View Post
I'm familiar with the "box with 2 nics + switch" router setup, but it's hard to find info on the "box with 4 nics and no switch" router setup.

How different is the former configuration to the latter? Reason being, I want to make a file server/router and have the maximum throughput for each connection.

So just to be clear, I'm talking about making a linux router with 1 nic connected to the cable modem and then multiple nics connected to multiple computers (or switches) sharing the same network connection.

Thanks.
If you're familiar with working with a WAN and LAN interface, adding LAN interfaces isn't a big deal at all. Of course, it all depends on what exactly you plan to do, but generally speaking the only additional work is a few more iptables rules and maybe some tweaks to your daemon's configuration files to get them to behave the way you want them to with regards to the interfaces.
 
  


Reply



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
Multiple external nics on Firestarter? Alkisx Linux - Server 0 05-28-2009 08:45 AM
Two NICs second nic plugs into a switch with no router chackercon Linux - Networking 9 03-03-2009 09:00 AM
DHCP problems using multiple external NICs on same subnet Leffster Linux - Networking 2 11-18-2008 11:46 AM
Make a Hub/Switch out of Linux Box with Multiple NICs? sancho Linux - Networking 1 07-15-2007 03:54 PM
2 NICs, 2 external IP's (1 behind a router) yskwong Linux - Networking 5 05-25-2001 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration