Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
09-30-2010, 10:22 AM
|
#1
|
Member
Registered: Sep 2010
Distribution: Debian
Posts: 59
Rep:
|
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.
|
|
|
09-30-2010, 11:34 AM
|
#2
|
Member
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 667
Rep:
|
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...
|
|
|
09-30-2010, 01:47 PM
|
#3
|
Member
Registered: Sep 2010
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
Quote:
Originally Posted by nass
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?
|
|
|
10-01-2010, 03:39 AM
|
#4
|
Member
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 667
Rep:
|
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.
|
10-01-2010, 09:36 AM
|
#5
|
Member
Registered: Sep 2010
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
Quote:
Originally Posted by nass
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!
|
|
|
10-07-2010, 11:49 AM
|
#6
|
Member
Registered: Sep 2010
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
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!
|
|
|
All times are GMT -5. The time now is 11:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|