LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 10-22-2003, 01:49 PM   #1
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Rep: Reputation: 30
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 ??

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
 
Old 10-22-2003, 02:13 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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
 
Old 10-22-2003, 02:39 PM   #3
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Original Poster
Rep: Reputation: 30
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
 
Old 10-22-2003, 05:14 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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
 
Old 10-23-2003, 09:48 AM   #5
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

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


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fast DSL/Cable Router/Switch kuphryn General 8 05-25-2006 02:59 AM
thread switch results in kernel stack switch superstition Linux - General 1 05-18-2005 12:48 AM
Shared DSL thru Linksys switch w/SuSe9.1 & XP pro dealerman Linux - Networking 2 10-10-2004 02:39 AM
set up DSL thru SWITCH - winXp connected to SWITCH too husz Linux - Newbie 5 04-22-2004 01:08 AM
compusa 4 port 10\100 switch internet cable\dsl broadband router mcslinux Linux - Networking 1 11-22-2003 09:29 PM


All times are GMT -5. The time now is 07:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration