LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-04-2004, 10:17 AM   #1
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra, Australia
Distribution: Fedora Core 9
Posts: 242

Rep: Reputation: 30
Sharing a win98 internet connection with RH9


I have set up Internet Connection Sharing (ICS) on my Windows 98 laptop with the intention of connecting my Redhat 9 host through it so it can see the world (my modem doesn't work on linux).

I'm not sure where I'm going wrong and I'm quite tired so hopefully I can be clear.

The win98 box has 2 ethernet cards. The unused one is set to 192.168.0.1. My local network address range being used is 10.0.0.0. A dump of my ipconfig /all when connected to my dialup ISP is:

Windows 98 IP Configuration

Host Name . . . . . . . . . : HITHLUM
DNS Servers . . . . . . . . : 203.12.160.35
203.12.160.36
Node Type . . . . . . . . . : Broadcast
NetBIOS Scope ID. . . . . . :
IP Routing Enabled. . . . . : Yes
WINS Proxy Enabled. . . . . : No
NetBIOS Resolution Uses DNS : No

0 Ethernet adapter : <-- dial up adapter

Description . . . . . . . . : ICSHARE Adapter.
Physical Address. . . . . . : 44-45-53-54-00-00
DHCP Enabled. . . . . . . . : Yes
IP Address. . . . . . . . . : 203.xxx.84.xx
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 203.xxx.84.xx
DHCP Server . . . . . . . . : 255.255.255.255
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . : 01 01 80 12:00:00 AM
Lease Expires . . . . . . . : 01 01 80 12:00:00 AM

1 Ethernet adapter :

Description . . . . . . . . : SiS NIC SISNIC
Physical Address. . . . . . : 00-90-F5-08-29-32
DHCP Enabled. . . . . . . . : No
IP Address. . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . :
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . :
Lease Expires . . . . . . . :

2 Ethernet adapter :

Description . . . . . . . . : NETGEAR FA411 PCMCIA Mobile Adapter
Physical Address. . . . . . : 00-40-F4-22-B4-D9
DHCP Enabled. . . . . . . . : No
IP Address. . . . . . . . . : 10.0.0.2
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . :
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . :
Lease Expires . . . . . . . :


The connection settings on my linux box are
HOST: ERESSEA
IP: 10.0.0.1
MASK: 255.255.255.0
GATEWAY: 10.0.0.2
(no IP routing listed. Maybe this is the problem)


Testing results
-------------------

While dialed in and online, the windows machine can surf the web and while online, the following ping results occur:

ping 10.0.0.1 (from windows) [OK]
ping 10.0.0.2 (from linux) [OK]
ping eressea (from windows) [OK]
ping hithlum (from linux) [OK]
ping 203.213.84.152 (from linux) [OK]
ping 203.12.160.35 (from linux) [FAIL]
ping 203.12.160.36 (from linux) [FAIL]
ping any other IP (from linux) [FAIL]
ping google.com (from linux) [FAIL]

So it's interesting to see that I can ping the assigned dialup IP address from the linux box. Therefore I must be very close to cracking this.

I'd appreciate any help or advice.

Last edited by david_ross; 06-06-2004 at 12:07 PM.
 
Old 06-06-2004, 12:06 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Perhaps you can post the actual routing tables from windows and linux:

Windows:
route print

Linux:
route -n

I assume the hosts you tried pinging were external? Can you post the output from:
ping -c3 www.linuxquestions.org
ping -c3 64.179.4.149
traceroute 64.179.4.149
 
Old 06-09-2004, 05:33 AM   #3
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra, Australia
Distribution: Fedora Core 9
Posts: 242

Original Poster
Rep: Reputation: 30
Hi David,

Thanks for the reply. Although I did say that I had no routing on the linux side, that was because I was looking at the redhat network gui which had nothing listed under the ROUTE tab. However, using the route command you mentioned, I get the following information (please note that the 203. addresses are the new allocated IP from my dial-up provider)


Linux (using "route -n")
------------------------------

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0 <-- this one is junk, can't get rid of it
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.0.0.2        0.0.0.0         UG    0      0        0 eth0



Windows (using "route print")
--------------------------------------

Code:
Active Routes:

  Network Address          Netmask  Gateway Address        Interface
          0.0.0.0          0.0.0.0    203.xxx.85.xx    203.xxx.85.xx
         10.0.0.0    255.255.255.0         10.0.0.2         10.0.0.2
         10.0.0.2  255.255.255.255        127.0.0.1        127.0.0.1
   10.255.255.255  255.255.255.255         10.0.0.2         10.0.0.2
        127.0.0.0        255.0.0.0        127.0.0.1        127.0.0.1
      192.168.0.0    255.255.255.0      192.168.0.1      192.168.0.1
      192.168.0.1  255.255.255.255        127.0.0.1        127.0.0.1
    192.168.0.255  255.255.255.255      192.168.0.1      192.168.0.1
     203.xxx.85.0    255.255.255.0    203.xxx.85.xx    203.xxx.85.xx
    203.xxx.85.xx  255.255.255.255        127.0.0.1        127.0.0.1
   203.xxx.85.255  255.255.255.255    203.xxx.85.xx    203.xxx.85.xx
        224.0.0.0        224.0.0.0      192.168.0.1      192.168.0.1
        224.0.0.0        224.0.0.0    203.xxx.85.xx    203.xxx.85.xx
        224.0.0.0        224.0.0.0         10.0.0.2         10.0.0.2



Pings from Windows (dial up PC)
-----------------------------------------

C:\WINDOWS>ping www.linuxquestions.org

Pinging www.linuxquestions.org [64.179.4.149] with 32 bytes of data:

Reply from 64.179.4.149: bytes=32 time=518ms TTL=51
Reply from 64.179.4.149: bytes=32 time=517ms TTL=51
Reply from 64.179.4.149: bytes=32 time=513ms TTL=51
Reply from 64.179.4.149: bytes=32 time=508ms TTL=51

C:\WINDOWS>ping 64.179.4.149

Pinging 64.179.4.149 with 32 bytes of data:

Reply from 64.179.4.149: bytes=32 time=513ms TTL=51
Reply from 64.179.4.149: bytes=32 time=487ms TTL=51
Reply from 64.179.4.149: bytes=32 time=520ms TTL=51
Reply from 64.179.4.149: bytes=32 time=517ms TTL=51

C:\WINDOWS>tracert 64.179.4.149

Tracing route to web1.linuxquestions.org [64.179.4.149]
over a maximum of 30 hops:

1 278 ms 279 ms 279 ms syd-ts17-2600.tpgi.com.au [202.7.209.208]
2 277 ms 279 ms 278 ms syd-ibo-cup-1-vlan-2.tpgi.com.au [202.7.209.1]
3 272 ms 279 ms 279 ms syd-ibo-zeu-1-ge-9-0.tpg.com.au [203.12.160.32]
4 277 ms 279 ms 279 ms TPG-ge-3-1-0-ar1.syd1.gblx.net [203.192.167.21]
5 278 ms 279 ms 279 ms ge0-0-0-1000M.cr2.SYD1.gblx.net [203.192.136.85]
6 etc etc etc


Pings from Linux (client needing access to the internet)
---------------------------------------------------------------------

[root@eressea test]# ping -c3 www.linuxquestions.org
ping: unknown host www.linuxquestions.org
[root@eressea test]# ping -c3 64.179.4.149
PING 64.179.4.149 (64.179.4.149) 56(84) bytes of data.

--- 64.179.4.149 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2010ms

[root@eressea test]# traceroute 64.179.4.149
traceroute to 64.179.4.149 (64.179.4.149), 30 hops max, 38 byte packets
1 hithlum (10.0.0.2) 0.378 ms 0.211 ms 0.770 ms
2 * * *
3 * * *
4 * etc etc etc




That's a lot of IP addreses.... hope you can help me clear up where I am going wrong.

Last edited by sausagejohnson; 06-09-2004 at 05:37 AM.
 
Old 06-09-2004, 12:47 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
The traceroute is certainly the most useful. The fact that your system is trying to access the outside world through 10.0.0.2 is enough to convince me that the linux box is configured correctly.

It most likely seems to be a configuration problem on the windows 98 machine. Have you followed the steps in:
http://support.microsoft.com/default...b;en-us;230151
 
  


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
ssh over internet connection sharing (win98) andra Linux - Networking 1 09-20-2005 11:37 AM
Win98 and RedHat 6.0 Internet Connection Sharing with a crossover cable lorisdaboris Linux - Networking 3 03-13-2005 10:24 AM
sharing internet connection between Fedora host and Win98 VMware guest NGShake Linux - Software 2 12-20-2003 12:13 PM
Sharing internet connection in RH9 rainmasterrr Linux - Networking 1 04-29-2003 02:14 AM
Internet connection sharing with win98 RecoilUK Linux - Networking 10 10-30-2001 06:08 PM


All times are GMT -5. The time now is 05:46 AM.

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