Internet connection question

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Lazarus
Jedi Master
Posts: 1082
Joined: 2006-01-12 02:05pm
Location: Southport, UK
Contact:

Internet connection question

Post by Lazarus »

My friend has asked me for some internet connection help, so i thought I'd ask here seeing as I don't know myself. He wants to run two machines off one wired internet connection, using an ethernet switch if that's possible, and without having to buy a router. He describes it like so...
I tried using an ethernet switch.

But apparently a switch only shares things from pc to pc, like datafile through file transfer it doesn't share internet connection, but the thing is if I plug in the internet into the first port I can send the internet into my pc through the second port.

But it wont send through any other ports.
Any ideas?
Image
Image
User avatar
Uraniun235
Emperor's Hand
Posts: 13772
Joined: 2002-09-12 12:47am
Location: OREGON
Contact:

Post by Uraniun235 »

Most residential ISPs these days will only grant one IP address lease per household, which means without a router or other NAT (Network Address Translation) device you can only have one computer online at a time. This sounds like it's the case for your friend, so he has one of two options:

1) Buy/build a router. Yes, build; if he's got an old computer lying around doing nothing, he could install something like Monowall and have that serve as a router. (He'd have to buy a second network card for the Monowall box, but those are really cheap these days.)

2) Install ICS (Internet Connection Sharing) if he's got a Windows computer. This is not really a good way to do things and I strongly urge against it if possible.

edit: damn, beaten
"There is no "taboo" on using nuclear weapons." -Julhelm
Image
What is Project Zohar?
"On a serious note (well not really) I did sometimes jump in and rate nBSG episodes a '5' before the episode even aired or I saw it." - RogueIce explaining that episode ratings on SDN tv show threads are bunk
User avatar
Lazarus
Jedi Master
Posts: 1082
Joined: 2006-01-12 02:05pm
Location: Southport, UK
Contact:

Post by Lazarus »

What's ICS, and why would you recommend against it?
Image
Image
User avatar
Uraniun235
Emperor's Hand
Posts: 13772
Joined: 2002-09-12 12:47am
Location: OREGON
Contact:

Post by Uraniun235 »

ICS (Internet Connection Sharing) requires that the computer it runs on be on for other computers to be able to access the Internet. So if you're using your computer and for whatever reason it goes down (whether it's for Windows Updates or the hard drive dies or your pirated version of Princess Fucker 2007 has a virus), so does the internet connection. It's also not nearly as full-featured as a real router.

It would also require that there be two network cards in the computer, so you'd wind up having to at least buy a network card either way.

Buying a proper router or building a monowall box is a much better solution than ICS, but if your friend is hellbent on cheap-assing his way through this as much as possible, there's a guide to setting up ICS here.
Last edited by Uraniun235 on 2007-01-01 06:30pm, edited 1 time in total.
"There is no "taboo" on using nuclear weapons." -Julhelm
Image
What is Project Zohar?
"On a serious note (well not really) I did sometimes jump in and rate nBSG episodes a '5' before the episode even aired or I saw it." - RogueIce explaining that episode ratings on SDN tv show threads are bunk
User avatar
SCRawl
Has a bad feeling about this.
Posts: 4191
Joined: 2002-12-24 03:11pm
Location: Burlington, Canada

Post by SCRawl »

Lazarus wrote:What's ICS, and why would you recommend against it?
ICS is just what he said: Internet Connection Sharing. It uses software to share an internet connection between two computers. It's an okay solution if that's all that's available to you, but the router method is much better -- it uses hardware to do what ICS does using software. As a result it's faster. You also don't have to rely on having the host computer on in order to use the client computers.

There might be other reasons why ICS sucks, but I've only ever used it to try it out.
73% of all statistics are made up, including this one.

I'm waiting as fast as I can.
User avatar
Uraniun235
Emperor's Hand
Posts: 13772
Joined: 2002-09-12 12:47am
Location: OREGON
Contact:

Post by Uraniun235 »

To be fair, Monowall is basically a software solution, and it's a good solution too; the only difference is that a Monowall box is only a Monowall box, so the CPU won't ever be taken up by other tasks as might occur on a regular comptuer that someone is sitting at.
"There is no "taboo" on using nuclear weapons." -Julhelm
Image
What is Project Zohar?
"On a serious note (well not really) I did sometimes jump in and rate nBSG episodes a '5' before the episode even aired or I saw it." - RogueIce explaining that episode ratings on SDN tv show threads are bunk
User avatar
Faram
Bastard Operator from Hell
Posts: 5271
Joined: 2002-07-04 07:39am
Location: Fighting Polarbears

Post by Faram »

Do it the easy way, buy a dirt cheap home router.

D-Link DI-604 works and is cheap.
[img=right]http://hem.bredband.net/b217293/warsaban.gif[/img]

"Either God wants to abolish evil, and cannot; or he can, but does not want to. ... If he wants to, but cannot, he is impotent. If he can, but does not want to, he is wicked. ... If, as they say, God can abolish evil, and God really wants to do it, why is there evil in the world?" -Epicurus


Fear is the mother of all gods.

Nature does all things spontaneously, by herself, without the meddling of the gods. -Lucretius
User avatar
Braedley
Jedi Council Member
Posts: 1716
Joined: 2005-03-22 03:28pm
Location: Ida Galaxy
Contact:

Post by Braedley »

As mentioned before, some ISP's will only grant one IP to household/cable modem/DSL modem, and if that's the case, there's not much that can be done other than use ICS or turn one of your computers into a server for the other(s). This second option has the exact same drawbacks as ICS, plus you also need a second ethernet card on the server.

However, some ISP's allow customers to have more than one IP. In that case, they will sometimes charge the customer at the commercial rate rather than the residential rate, or simply double the residential rate. Note that the only way avoid this is to display one IP to the world by using ICS, a local server, or a router. I highly suggest the router because it also includes a hardware firewall, and allows for more options (like easy port forwarding and DMZs) that are otherwise unavailable.
Image
My brother and sister-in-law: "Do you know where milk comes from?"
My niece: "Yeah, from the fridge!"
Post Reply