LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 09-30-2010, 10:22 AM   #1
felipefv
Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 59

Rep: Reputation: 5
Question What is the best option: modem or Linux server as the router of my network?


Hello,

What is the best option: leave the ADSL modem as the router of my network, or use a Debian Linux server in place?

Info:

* there is high traffic on my network (at work time);
* 7 PCs on the network;
* Debian Linux server: PC - Intel Pentium IV 3.06 Ghz - 2 GB RAM.

Thanks!

Last edited by felipefv; 09-30-2010 at 10:24 AM.
 
Old 09-30-2010, 11:34 AM   #2
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 629

Rep: Reputation: 36
what else do you have the Debian server for?

I have a separate machine for router (a slackware 13 32bit, on a PIII), but I have added quite a few goodies on top:

its a server for (well mostly I wanted to know i could do it):
dhcp
dns (for the intranet only)
proxy (with acls and the cache enabled)
firewall (with NAT)
vpn
ftp
http (obviously it only handles extremely light traffic)

in the future this router will also be used for load balancing but for now only one ISP connection is present)

I only use the ADSL modem as a modem, DMZ'ing all traffic to the linux router.

the downside is POWER (in the green times we live in). Keep in mind most of the things i am doing, can be done with a simple of-the-shelf ADSL modem-router, and at 1/20 of the power consumption (talk about 170W for the pc compared to no more than 24W for a ADSL modem....


SO if your are using the debian server as <a number of things> and it has the avail resources (it prob does) then by all means to it...
 
Old 09-30-2010, 01:47 PM   #3
felipefv
Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by nass View Post
what else do you have the Debian server for?

I have a separate machine for router (a slackware 13 32bit, on a PIII), but I have added quite a few goodies on top:

its a server for (well mostly I wanted to know i could do it):
dhcp
dns (for the intranet only)
proxy (with acls and the cache enabled)
firewall (with NAT)
vpn
ftp
http (obviously it only handles extremely light traffic)

in the future this router will also be used for load balancing but for now only one ISP connection is present)

I only use the ADSL modem as a modem, DMZ'ing all traffic to the linux router.

the downside is POWER (in the green times we live in). Keep in mind most of the things i am doing, can be done with a simple of-the-shelf ADSL modem-router, and at 1/20 of the power consumption (talk about 170W for the pc compared to no more than 24W for a ADSL modem....


SO if your are using the debian server as <a number of things> and it has the avail resources (it prob does) then by all means to it...
Thanks for the reply!

Well, I tought that the PC would be a better router for my network than the modem. The server was running just dhcp3-server and bind, nothing else related to servers. So... I don't need a PC running just for that, is that right?
 
Old 10-01-2010, 03:39 AM   #4
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 629

Rep: Reputation: 36
well pretty much....
I would still advise FOR learning the most out of your linux box
so to confuse things more I'll go ahead and say that should build the system even if you don't use it in the end.

Also consider this:
torrents are heavy on your ADSL modem, so if you have a big load and you experience crashes from your modem it might be an additional reason to move firewall etc away from the modem.

Also, check that your ADSL modem offers stateful packet inspection. If it doesn't it might be a solid reason to love the firewall into a linux box!

Finally, you could check with http://openwrt.org/ and / or http://www.dd-wrt.com/site/index if your modem is supported and then linux one of these router oriented distros and have the linux box IN the ADSL modem!
 
1 members found this post helpful.
Old 10-01-2010, 09:36 AM   #5
felipefv
Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by nass View Post
well pretty much....
I would still advise FOR learning the most out of your linux box
so to confuse things more I'll go ahead and say that should build the system even if you don't use it in the end.

Also consider this:
torrents are heavy on your ADSL modem, so if you have a big load and you experience crashes from your modem it might be an additional reason to move firewall etc away from the modem.

Also, check that your ADSL modem offers stateful packet inspection. If it doesn't it might be a solid reason to love the firewall into a linux box!

Finally, you could check with http://openwrt.org/ and / or http://www.dd-wrt.com/site/index if your modem is supported and then linux one of these router oriented distros and have the linux box IN the ADSL modem!
nass,

Thanks! I'm reading the sites right now. Thanks again!
 
Old 10-07-2010, 11:49 AM   #6
felipefv
Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 5
Well, searching on the internet forums, I verified that using a good router (like Cisco/Linksys) is the best option. In the case of larger networks (like in large corporations), then it might be interesting to use a dedicated PC server as a "router". In relation to how to use the modem, it would be interesting to split tasks between two devices (modem and routing), and that is what I am doing right now, and it is really good.

Modem: Huawei SmartAX MT880A
Router (wireless): D-Link DI-524

I think that I will keep this setup.

About the "Linux Box", installing Linux in a router, it is a good idea. I will do that when I buy a new router.

I would like to thank you all!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to reboot router/modem when network goes down. jvawter Linux - Server 2 10-11-2007 04:46 PM
Home Network Setup (Modem -> Router -> Computer) jonostew Linux - Networking 4 08-04-2007 01:10 PM
help me to set up a home network with the router/modem irena56 Linux - Networking 5 09-30-2005 03:26 PM
Connecting one modem-router for two computers over a network dushkinup General 1 03-06-2004 10:28 AM
Earthlink Home network Option using router ldare Linux - Networking 2 04-21-2003 08:56 PM


All times are GMT -5. The time now is 05:36 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