ADSL modem - Router or Bridge? Linux server present.
Good morning. I wonder what is your opinion about the best method for using an ADSL modem, considering that I have a Debian Linux server working here (PC - Intel Pentium IV 3,06 Ghz, 2GB RAM), and can use it as a router. My network has 6 computers with high traffic.
So... Router or bridge? I did read some articles that say "that the bridge mode gives you more stability and has higher speed". Is that true? Furthermore, you suggest any alternative to "pppoeconf"? I've been getting this errors ( in the plog), related to "PAD packet loss" and also errors in "PPPOE Discovery", even when I am connected. When this things starts to show up on the log, my connection "pauses" for some seconds. I do not feel very safe with this program. Thanks for all! |
Advantages of using the ADSL modem as a router:
I don't know about stability and speed. |
catkin,
Thanks for the reply! Yes... we have to do some tests, but I think that a better question is: does the server that I have here will do a better job than the modem in router mode? I have 6 PCs on my network, with high traffic. Server config: PC - Intel Pentium IV 3,06 Ghz, 2GB RAM. |
Only tests will tell but it seems likely that the ADSL modem's dedicated hardware designed specifically for its job will do better than the server's general purpose hardware doing the same job, especially if the server is loaded.
|
do you have a static?
I had to put my adsl modem in bridge mode in order to use static ip addresses from my ISP.
|
It really depends on your modem. As long as it doesn't crash because of the many connections (speed is not so much an issue, it is the NAT that really eats processor time/memory), you are better of with the modem as a router.
If you are having problems with the modem, or if you want a public IP on the server, then you should use bridged mode. |
Quote:
Quote:
Well... sometimes we have to reboot it. I think it is crashing. And do you use the modem as bridge and connect via linux with pppoeconf? |
Quote:
Don't really need a special program to connect. I just configure the interface on the computer that connects to the modem to use the static ip provided by my ISP. Since I am using linux, I use the following command to configure my eth0 interface: Code:
ifconfig eth0 inet ##.##.##.## netmask 255.255.252.0 Once the interface is so configured then it is connected, and it can ping out to my ISP's nameservers, etc. |
Quote:
I'm not at my laptop right now, but if I remember correctly, I had to use pppoe-setup to enter my credentials, and pppoe-start to make a connection. That being said: there are 3 ways ADSL providers can provide a connection. - PPPoE (the way you are looking at, also the most common) - DHCP (less common) - PPPoA (older, also, it requires your modem to be the router) Do you have some documentation from your ISP that says you need to use PPPoE? Or have you deducted that from your modem setup? |
Quote:
Quote:
|
Well, I found an app called pppoe that was already installed on my system:
Code:
firebolt% which pppoe And then I typed "man pppoe" to learn how to use it, and the following except was displayed: Code:
NAME |
slac-in-the-box,
Sorry for the delay in replying to the message. 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. I would like to thank you all! |
All times are GMT -5. The time now is 07:28 PM. |