LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   DSL througha switch? (http://www.linuxquestions.org/questions/linux-general-1/dsl-througha-switch-107189/)

amp2000 10-22-2003 12:49 PM

DSL througha switch?
 
Hi all
OK, I'll explain my setup first & tell you what I have & what I want to do.
I have a switch, DSL modem, 2 linux (redhat & mandrake) machines & 2 windows machines.
What I want to do is connect all the machines to the switch & then connect the DSL modem to the switch.
I want to set up the redhat machine to connect to the internet through the switch (remember, the DSL modem will only be connected to the switch) & then I'll setup the other machines to use the redhat machine as a gateway.

Basically, my main question is, will that switch recognise that one of the ethernat cables is for the DSL internet connection & let the radhat machine connect to the internet through the switch??? I have never used a switch so I'm not 100% sure how they work.
Am I going about this in entirely the wrong way or what :confused: ??

If you cant understand what I'm trying to explain tell me what didnt make sense & I'll try explain it better.

Thanks in advance ;)

Tinkster 10-22-2003 01:13 PM

The switch won't know anything about machines.
It doesn't even think about protocols. All it cares
about is MAC-addresses.

That said, you'd have to setup your DSL modem
to only talk to one IP and assign that IP to the
RH server. Give all the others static IP addresses
and make the RH their gateway.

The cleaner approach would be to spend another
5 buxx on a second network card, have the modem
connect to eth0 of the RH box, eth1 of the RH box
to the switch, and off you go ;)

Cheers,
Tink

amp2000 10-22-2003 01:39 PM

Thanks for the reply ;)
Quote:

Originally posted by Tinkster
That said, you'd have to setup your DSL modem
to only talk to one IP and assign that IP to the
RH server. Give all the others static IP addresses
and make the RH their gateway.
Cheers,
Tink

I didnt know that was possible, how could I do that, any idea??



Quote:

Originally posted by Tinkster

The cleaner approach would be to spend another
5 buxx on a second network card, have the modem
connect to eth0 of the RH box, eth1 of the RH box
to the switch, and off you go ;)
Tink

I kinda figured that would be the easiest way but I gave the last of my spare nic's away last week :(
My DSL modem is USB & ethernet so I guess I could connect with the USB.

Thanks again for the reply Tinkster :)

Tinkster 10-22-2003 04:14 PM

Quote:

Originally posted by amp2000
Thanks for the reply ;)
Pleasure mate :)


Quote:

Originally posted by amp2000
I didnt know that was possible, how could I do that, any idea??
Depends on the make & model of the modem, and
not all modems have the same features.
Usually they have a web-interface that will
list most their capabilities, and the D-Links
I've seen have a serial port for servicing :)



Quote:

Originally posted by amp2000
I kinda figured that would be the easiest way but I gave the last of my spare nic's away last week :(
My DSL modem is USB & ethernet so I guess I could connect with the USB.
If both the modem and your box support USB 2.0,
go for it. Otherwise you'll have a bottle-neck :}

I don't know how much the irish pound is worth,
but a for 15 Kiwi-dollars I can buy good 100MBit
ethernet cards ;)

Cheers,
Tink

amp2000 10-23-2003 08:48 AM

Thanks again for the reply Tinkster.
I'll just spend a few euros on another network card & that'll be problem solved.


All times are GMT -5. The time now is 09:32 PM.