Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Major Problems w/Internet Connection Sharing
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
Cappy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2003
Posts: 98

PostPosted: Wed Dec 17, 2003 4:31 am    Post subject: Major Problems w/Internet Connection Sharing Reply with quote

Heres the situation: I have 2 systems networked together. The computer with Gentoo on it is also dual booting Windows XP & the one doing the routing for the other system using Windows internet connection sharing. I, for the life of me can't figure out & get ICS working through Gentoo. I've read a ton of posts on this, along with several other websites relating to iptables and IP masquerading. I've tried several different things, but really cant make heads or tails of it. I'll admit I am defiantely in the dark when it comes to networking in linux....even basic stuff. I'm pretty sure I have everything needed that needs to be in the kernel (2.6-test11-r2)....I got at least that much out of what I've read so far. Just setting it up has me all confused.

I have cable service & my gentoo box has 2 onboard NICs. Cat5 coming from the modem to to the one card (eth0), and going from card 2 (eth1) into a hub......and from there, going upstairs to the other computer. Everything works flawlessly when I'm in Windows, but I wan to be able to share the connection when I'm in gentoo so my wife still has internet access.

I'm not even sure if I have the /etc/hosts or /etc/conf.d/net correct to do this properly or if I have to add eth1 to the default runlevel as well (if I do, it fails to start....both NICs are 100% supported by the kernel...RTL8139 & Intel Pro1000). They are both properly detected also.

If someone could please help me out and maybe just give me a simple run through of it because the docs at linuxdocs.org and the others are a bit over my head. I really need to get this working ....or my wife WILL have my head 8O.

Thanks a ton,

Cap :wink:
_________________
Windows??....Yeah, I know what that is....I use that to look out at the pretty blue screen.....ahhh....I mean sky. :)
Back to top
View user's profile Send private message
Baldzius
Apprentice
Apprentice


Joined: 17 Mar 2003
Posts: 154
Location: Lithuania

PostPosted: Wed Dec 17, 2003 10:45 am    Post subject: Reply with quote

First you need to set ip forward
Code:
echo "1" > /proc/sys/net/ipv4/ip_forward


Then all comes to route table
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