LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-18-2009, 05:51 PM   #1
urentity
Member
 
Registered: Jan 2009
Posts: 48

Rep: Reputation: 15
now I have a gigabit switch, how can I get it going


After getting three computers with gigabit ethernet connections I decided I should get a gigabit switch to get them to talk to each other quickly.

However, I don't know if I can also connect the internet directly to the switch also, so that, as well as talking to each other, they can also be connected to the internet as well.

So far this has not worked, and I got to thinking that I'm asking two separate tasks off the switch.

Should I really be getting one of the computers to have a direct internet connection via one network interface (I'll have to add a 2nd network card to it), and then get it to organise a private ip scheme for the gigabit-connected computers via its gigabit interface?
 
Old 02-18-2009, 05:59 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
how are you connected to the internet? cable? dsl?
 
Old 02-19-2009, 02:42 AM   #3
urentity
Member
 
Registered: Jan 2009
Posts: 48

Original Poster
Rep: Reputation: 15
it's cable I have frieza
 
Old 02-19-2009, 03:27 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
It is probably easier to just pickup a regular router and plug it between the modem and the switch. Since you have cable you will probably not see speeds beyond 100Mbps going out to the internet so you can stick with a cheap ($15) router. Keep the computers plugged into the GigE switch so you can have GigE speeds in house. I have a number of houses set up this way becuase it is usually far cheaper to add a GigE switch to an existing 100Mbps router (or even buy a 100Mbps router too) than to buy a router that is GigE capable.
 
Old 02-19-2009, 06:30 AM   #5
urentity
Member
 
Registered: Jan 2009
Posts: 48

Original Poster
Rep: Reputation: 15
The speed to the internet is not my priority. Anyhow, it's fast enough.

However, speed between the machines is crucial.

I'm coming around to the fact that I can get one of the machines to act as a router. I will connect the cable modem to a wireless router, and connect one of the machines via a wireless card to the routers signal. The same machine will then, via a wired interface card (i.e. the gigabit one) connect to the switch and administer private ip addresses. I will have to set up some sort fo forwarding from the wireless internet connection to the computers that are wired via the gigabit switch.

In my mind, this one machine (with the two network interfaces) becomes a bridge between the gigabit switch and the wireless internet.

I'm reading up on several linux router howto's in order to get this done.

One drawback is that I seem to have two routers connected in series ... the wireless router and the routing services of the central gigabit machine. Maybe my wireless router could also administer a private lan and act as bridge ... i'll need to look into that.

Any more suggestiosn on people who have already done this are welcome. Thanks for pointers lazlow.
 
Old 02-19-2009, 10:53 AM   #6
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
seems like an unneccsary step
should be just a matter of modem->router->switch->lan
as long as each client gets its own ip either statically assigned or dhcp assigned by the router and you have the modem attached to the internet plug on the router and the router gets its ip from the modem it should work
 
Old 02-19-2009, 10:56 AM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Most wireless routers will have 100Mbps ports on the back. You can plug your switch into the back of one of those. Doing it this way will not slow down your in house transfers, they will still run at GigE speeds. Just the transfers that run beyond the switch will be limited to 100Mbps speeds(or your internet speeds, whichever is smaller). Remember that wireless connections are always(at any real distance from wireless source) going to be significant slower than wired ones. That will not be an issue if you are just browsing, but if you start transferring files(internet) you will see a huge drop in speeds. You CAN build a separate router machine and it is a good learning experience, but for most users it is more PITA than it is worth. Do not forget that your routing machine has to be running(correctly) in order for the rest of the machines to talk to each other or to go out to the internet.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gigabit Switch and 100 Mbit peripherals lucazorzi Linux - Networking 3 01-30-2009 03:12 PM
Netgear gs605 gigabit switch no ip-address on boot GATTACA Linux - Networking 2 01-21-2007 10:54 PM
gigabit switch purchase watts3000 Linux - Networking 5 12-14-2006 01:20 PM
SMC 8508T switch and SMC9462TX gigabit NIC problems kobus Linux - Networking 0 09-15-2004 08:40 AM
gigabit switch technology? WeNdeL Linux - Networking 5 07-04-2003 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:42 AM.

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
Open Source Consulting | Domain Registration