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 09-18-2003, 12:36 PM   #1
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Rep: Reputation: 15
Internet Connection Sharing Problems


I've been trying to get this setup working for days, but to no avail. I've tried reading many many post about the subject on these boards. I've even used firestarter to set everything up for me. Yet I still can't get on to the web, or even ping my computers from one another. I've got an iBook connected to the web via and airport card (eth1) and a connected to my other pc via its onboard ethernet controller (eth0). This computer is running yellow dog linux 3.0. Then I have a redhat 9.0 box with ethernet controller (eth0) that is hooked up to eth0 on the other box. The IP of eth0 on the ibook is 192.168.0.1. ipv4 forwarding is set to one. And I've played with iptables far too much for this not to work. The client box has an IP of 192.168.0.2, a netmask of 255.255.255.0, and a gateway of 192.168.0.1. Please help me.
 
Old 09-18-2003, 12:44 PM   #2
ede
Member
 
Registered: Aug 2003
Posts: 37

Rep: Reputation: 15
first set up the server to ping all the machines on the network than try iptables, but without ipchains.!!!!
 
Old 09-18-2003, 12:46 PM   #3
ede
Member
 
Registered: Aug 2003
Posts: 37

Rep: Reputation: 15
do i get it ok??? you have an Ibook connected to the internet, to it connects an other computer, and to the other computer connects an rh9 box???
 
Old 09-18-2003, 12:49 PM   #4
ede
Member
 
Registered: Aug 2003
Posts: 37

Rep: Reputation: 15
ok! my bad! you only have to computers! you have to get the pc's to ping each other first! so the ibook to ping both the net and both the opther pc! then you should read the iptables-howto, if you don't want to feed you by the spoon
 
Old 09-18-2003, 12:53 PM   #5
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
How do I go about getting them to ping each other? That's the part i can't get working.
 
Old 09-18-2003, 01:03 PM   #6
gbrad
Member
 
Registered: Sep 2002
Location: St. Louis, MO
Distribution: Red Hat 8
Posts: 89

Original Poster
Rep: Reputation: 15
I don't know if this makes a difference, but I don't get "unknown host" from ping, I get "Destination Host Unreachable"
 
Old 09-18-2003, 01:28 PM   #7
ede
Member
 
Registered: Aug 2003
Posts: 37

Rep: Reputation: 15
1. get the ibook work ok with the internet
2.set up its internal interface correctly
3.set up the rh machine's network card correctly
as result you should be able to ping on the iBook both google.com, both your rh box (possibly 192.168.0.2); likewise you should be able to ping the iBook's 192.168.0.1 interface from the rh machine! if this is done only then continue with iptables!!
 
  


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
Internet Connection Sharing backroger Linux - Networking 2 02-25-2005 01:13 AM
SHaring internet connection bart59 Linux - Networking 1 01-27-2005 08:24 AM
Internet connection sharing problems Gitzo645 Mandriva 5 01-24-2005 05:00 AM
help sharing internet connection kefen Linux - Networking 1 02-26-2004 12:45 PM
Internet Connection Sharing Problems... Artimus Linux - Networking 6 04-28-2003 10:39 AM


All times are GMT -5. The time now is 01:06 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration