View previous topic :: View next topic |
Author |
Message |
Dr. Z2A n00b

Joined: 15 Sep 2005 Posts: 11
|
Posted: Wed Jan 11, 2006 4:37 am Post subject: sharing an internet connection |
|
|
Ok I have a router sending out wifi in one room in my house and I have 4 computers located in another. I can't move the 4 into the room with the router to have a wired connection because I don't have the space. In the room with 4 computers, one of them is a Gentoo laptop with an orinoco classic gold wifi card, it also has an ethernet port on it. I also have a spare router that has no wifi, it can only do wired down networks. I have heard that it would be possible to plug the ethernet cable on the router that normally goes to the modem into the ethernet port on the laptop and then plug the other 3 computers into the router to share the internet connection that the laptop picks up with the other 3 computers. So I know what I would do to hook it all up, but I have no clue what I would have to do configuration wise to be able to share the connection. Can anyone tell me what I would have to do configuration wise or link me to a guide on the subject that would help me out? |
|
Back to top |
|
 |
ecosta Guru


Joined: 09 May 2003 Posts: 477 Location: Brussels,BE
|
Posted: Wed Jan 11, 2006 4:52 am Post subject: |
|
|
Well, this would be very theoretical but all you need to do is imagine the second network as another "node" on the internet.
What I would probably do is have a different range between your single computer with wifi router and the other 4.
excuse the bad drawing.
Code: |
internet<->[router][eth]<->192.168.0.x/24 (single PC)
[router][wifi]<->192.168.1.x/24 (laptop wifi)<->[router][eth]<->192.168.2.x/24 (3 PC)
|
The Laptop would be on a different IP range via wifi and would route the traffic with iptables. The fun part will be to configure it in a way for the 4 PCs to view the single PC.
Like I said, very theoretical and maybe not the best idea but the best I could think of at 6AM
Good luck.
Ed. _________________ Linux user #201331
A8N-SLI Delux / AMD64 X2 3800+ / 1024 MB RAM / 5 x 250 GB SATA RAID 1/5 / ATI Radeon X700 256MB. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|