Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sharing an internet connection
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Dr. Z2A
n00b
n00b


Joined: 15 Sep 2005
Posts: 11

PostPosted: Wed Jan 11, 2006 4:37 am    Post subject: sharing an internet connection Reply with quote

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
View user's profile Send private message
ecosta
Guru
Guru


Joined: 09 May 2003
Posts: 477
Location: Brussels,BE

PostPosted: Wed Jan 11, 2006 4:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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