LinuxQuestions.org
Help answer threads with 0 replies.
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 04-27-2003, 12:06 PM   #1
Artimus
Member
 
Registered: Feb 2003
Location: Wisconsin
Distribution: Slackware
Posts: 188

Rep: Reputation: 30
Internet Connection Sharing Problems...


Hello, I'm trying to setup internet connection sharing between two boxes. Here's my setup:

Cable Modem --> Slackware/Windows --> Slackware

Slackware/Windows = Gateway
Slackware = Client

I have a crossover cable going from the Gateway to the Client. I went ifconfig eth1 192.168.0.1 on the gateway. Then typed netconfig on the client and told it to do static, that it's IP was 192.168.0.2, the gateway was 192.168.0.1, and the netmask is 255.255.255.0. I left the nameserver/dns thing blank. When I try to from the client to the gateway, it says:

PING 192.168.0.1 (192.168.0.1) 56 octets of data

and it just sits there. It works the same way from the gateway, changing the IP's of course. Each machine can ping itself from its 192.168.0.whatever address.

EDIT: I think I found it out. I don't think eth1 is configured right. If you could help me out with that, I'd appriciate it.

P.S. While in Windows, the box can't even setup the eth1 card(Ne2000 ISA). It found it once and called it 'net'. I tried to load the drivers and gave up. I figured I'd get Linux to get it going first. I tried to remove it and put it back in but its dissappeared again. (Not sure if this means anything to you at all)

Last edited by Artimus; 04-27-2003 at 12:39 PM.
 
Old 04-27-2003, 12:28 PM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
I don't know if it's a typing error but shouldn't the gateway on the client be 192.168.0.1
 
Old 04-27-2003, 12:40 PM   #3
Artimus
Member
 
Registered: Feb 2003
Location: Wisconsin
Distribution: Slackware
Posts: 188

Original Poster
Rep: Reputation: 30
Yes, that was a typing error on the boards. Its 192.168.0.1 on the client's rc.inet1 file.

Any ideas?
 
Old 04-27-2003, 02:30 PM   #4
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
What are the settings for eth1?

If all you are trying to do at the moment is check they can ping each other and haven't setup up any connection sharing or anything on the main one try netconfig again both of them but don't put in any gateway.

Hopefully aswell the cable is working ok.
 
Old 04-27-2003, 02:42 PM   #5
Artimus
Member
 
Registered: Feb 2003
Location: Wisconsin
Distribution: Slackware
Posts: 188

Original Poster
Rep: Reputation: 30
Setting for eth1? Like in rc.inet1?

IPADDR2="192.168.0.1"
NETMASK2="255.255.255.0"
#USE_DHCP2=yes
#DHCP HOSTNAME2="CCHOSTNUM-A"

The setting for eth0 on the client are:
IPADDR="192.168.0.2"
NETMASK="255.255.255.0"
#USE_DHCP=yes
#DHCP_HOSTNAME="CCHOSTNUM-A"

I tried using a patch cable instead of the crossover and it did the same stuff.

Of course my computer can't run like the books say it will...
 
Old 04-27-2003, 03:50 PM   #6
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
At loss myself

I guess the client card is 10mb

and probably the one in the other machine is 10/100mb and alot newer?

If so then they just might not want to play ball when it comes negotiating a speed and mode to work at.

I wonder want anybody else thinks if this is the case.
 
Old 04-28-2003, 10:39 AM   #7
Artimus
Member
 
Registered: Feb 2003
Location: Wisconsin
Distribution: Slackware
Posts: 188

Original Poster
Rep: Reputation: 30
Here's what the cards are:

Gateway eth0 = Dlink Card 10/100MB
Gateway eth1 = Ne2000 ISA ?
Client eth0 = Intel something using eepro100 driver.
 
  


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 gbrad Linux - Networking 6 09-18-2003 01:28 PM


All times are GMT -5. The time now is 07:22 PM.

Main Menu
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