Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Win98SE routing problem

5 views
Skip to first unread message

Eugen Mezei

unread,
Feb 15, 2008, 7:53:37 AM2/15/08
to
Hello!

I have my workstation connected to a Linksys wireless router and
running Win98SE.
Now I installed an ethernet NIC to which I connected my Windows 95c
laptop by cat5.

I wish to acces the internet from my laptop through the Win98SE and
the wireless router.

Set up the the Win98SE machine as follows:


Windows 98 IP Configuration
Host Name . . . . . . . . . : BEBE
DNS Servers . . . . . . . . : 192.168.1.1
Node Type . . . . . . . . . : Broadcast
NetBIOS Scope ID. . . . . . :
IP Routing Enabled. . . . . : Yes
WINS Proxy Enabled. . . . . : No
NetBIOS Resolution Uses DNS : No

0 Ethernet adapter :
Description . . . . . . . . : 3Com EtherLink PCI
Physical Address. . . . . . : 00-10-5A-37-6B-D3
DHCP Enabled. . . . . . . . : No
IP Address. . . . . . . . . : 192.168.2.1
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . :
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . :
Lease Expires . . . . . . . :

1 Ethernet adapter :
Description . . . . . . . . : SMCWUSBT 108Mbps Wireless USB 2.0
Adapter
Physical Address. . . . . . : 00-04-E2-F6-4D-2B
DHCP Enabled. . . . . . . . : Yes
IP Address. . . . . . . . . : 192.168.1.128
Subnet Mask . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . : 192.168.1.1
Primary WINS Server . . . . :
Secondary WINS Server . . . :
Lease Obtained. . . . . . . : 02 15 08 1:20:56 PM
Lease Expires . . . . . . . : 02 16 08 1:20:56 PM

Settings on the laptop (Win95c):
IP Adress: . . . . . . . . . . 192.168.2.2
Subnet Mask: . . . . . . . . 255.255.255.0
Gateway: . . . . . . . . . . . 192.168.2.1

As far everything seems ok to me, the problems are - I think - in the
routing table on the Win98 machine. Just to be sure: I have not to
introduce a gateway for Ethernet Adapter 0, right? (This is the
gateway for the 192.168.2.0 segment.)

I can ping the laptop from the Win98SE workstation.
I can ping from the laptop: 192.168.2.1 and even 192.168.1.128. But
get no answer from 192.168.1.1

Here is the routing table:

Active Routes:

Network Address Netmask Gateway Address Interface
Metric
0.0.0.0 0.0.0.0 192.168.1.1
192.168.1.128 1
127.0.0.0 255.0.0.0 127.0.0.1
127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.128
192.168.1.128 1
192.168.1.128 255.255.255.255 127.0.0.1
127.0.0.1 1
192.168.1.255 255.255.255.255 192.168.1.128
192.168.1.128 1
192.168.2.0 255.255.255.0 192.168.2.1
192.168.2.1 1
192.168.2.1 255.255.255.255 127.0.0.1
127.0.0.1 1
192.168.2.255 255.255.255.255 192.168.2.1
192.168.2.1 1
224.0.0.0 224.0.0.0 192.168.1.128
192.168.1.128 1
224.0.0.0 224.0.0.0 192.168.2.1
192.168.2.1 1
255.255.255.255 255.255.255.255 192.168.2.1
192.168.2.1 1


I think a path for packages wanting to travel from the laptop to the
wireless adapter is missing, but I can not figure out how to set this
up.

Greetings,

Eugen

Steve Winograd

unread,
Feb 15, 2008, 5:02:41 PM2/15/08
to

Enabling IP routing on Win98SE isn't enough -- you have to enable
Internet Connection Sharing. That will assign a static IP address of
192.168.0.1 to the wired Ethernet adapter and enable a DHCP server
that will assign TCP/IP properties to the Win95 computer. This web
page has full details:

ICS Installation [Win98SE]
http://www.practicallynetworked.com/sharing/ics/icsinstall.htm
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com

James Egan

unread,
Feb 15, 2008, 10:09:21 PM2/15/08
to

On Fri, 15 Feb 2008 04:53:37 -0800 (PST), Eugen Mezei
<eugen...@gmx.de> wrote:

>
>As far everything seems ok to me, the problems are - I think - in the
>routing table on the Win98 machine. Just to be sure: I have not to
>introduce a gateway for Ethernet Adapter 0, right? (This is the
>gateway for the 192.168.2.0 segment.)


That's right.


>
>I can ping the laptop from the Win98SE workstation.
>I can ping from the laptop: 192.168.2.1 and even 192.168.1.128. But
>get no answer from 192.168.1.1
>
>Here is the routing table:
>

<snip>

>
>
>I think a path for packages wanting to travel from the laptop to the
>wireless adapter is missing, but I can not figure out how to set this
>up.
>

No. You don't need to set a route for that. As long as routing is
enabled correctly this is okay.

What appears be missing, since you didn't mention it, is the return
route from your router to network 192.168.2.0 The router can't respond
to the pings because it doesn't know where to reply to.

You need to add a static route to your router to send traffic for
network 192.168.2.0 mask 255.255.255.0 to go via 192.168.1.128

That should resolve your ping issue.

For the win95 machine to work, you will have to enable DNS in the
tcp/ip settings and enter the router's ip address or that of your
isp's nameserver.

All this assumes that your router is a NAT device and thus you don't
need to install ICS. If it isn't a NAT device then you will need to
install ICS and you can forget all this.


Jim.

Eugen Mezei

unread,
Feb 16, 2008, 1:34:51 AM2/16/08
to
On 16 Feb., 00:02, Steve Winograd <bc0705...@comcast.net> wrote:

> Enabling IP routing on Win98SE isn't enough -- you have to enable
> Internet Connection Sharing.

Sorry for that, I forgot to mention, that all this is the result of
installing ICS.

> That will assign a static IP address of
> 192.168.0.1 to the wired Ethernet adapter and enable a DHCP server
> that will assign TCP/IP properties to the Win95 computer. This web
> page has full details:

Exactly that was what first happened, only that the DHCP server was
assigned in the 10.x.x.x subnet and could not be found by the
clients.
Than I decided to "rewire" all manually to fixed IP.

That was exactly what I did. I don't at which point something must
have to gone wrong.
Before installing ICS, must have both network cards TCP/IP enabled and
an IP assigned? I tried two variants, once with the 3Com card without
TCP/IP and once with TCP/IP and a fixed IP. The WLAN card had in both
tries an IP.

I will try James suggestion also, my second thought was also, that the
WLAN-router can not respond, as he knows nothing about the 198.168.2.0
network. I keep you informed.

Eugen

James Egan

unread,
Feb 16, 2008, 8:32:07 AM2/16/08
to

On Fri, 15 Feb 2008 22:34:51 -0800 (PST), Eugen Mezei
<eugen...@gmx.de> wrote:

>I will try James suggestion also, my second thought was also, that the
>WLAN-router can not respond, as he knows nothing about the 198.168.2.0
>network. I keep you informed.


If I understand your setup properly, you need to uninstall ICS on
win98 and ensure NAT is enabled on the router.

To enable routing on win98 without installing ics you need to make the
following change to the registry manually.

System Key:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP]
Value Name: EnableRouting
Data Type: (string value)
Value Data: (0 = disabled, 1 = enabled)

Your win98 machine must keep the same ip address all the time so that
it can be set as a gateway on the router (static route).
You can do this by giving it a static ip address of 192.168.1.128 or
reserving a dhcp address for it if your router supports that
functionality.

If you give it a static ip address you will also have to enable dns
and complete the nameserver information like you did on the win95
machine.


Jim.

Steve Winograd

unread,
Feb 16, 2008, 8:35:11 AM2/16/08
to

Thanks for that explanation.

Before installing ICS, both network cards in the host and the network
card in the client must have TCP/IP enabled.

I suggest that you un-install and re-install ICS on Win98SE, and
configure Win95 to obtain its IP address and DNS server automatically.
Then, don't change any network settings manually on either computer.

ICS always uses the 192.168.0.x subnet. The 10.0.0.x addresses must
have come from something else. How have you connected Win98SE to
Win95 -- through a crossover cable, hub, switch, or a second router?
If they're connected through a second router, disable the second
router's DHCP server.

James Egan

unread,
Feb 17, 2008, 5:39:02 AM2/17/08
to

On Fri, 15 Feb 2008 22:34:51 -0800 (PST), Eugen Mezei
<eugen...@gmx.de> wrote:

>On 16 Feb., 00:02, Steve Winograd <bc0705...@comcast.net> wrote:
>
>> Enabling IP routing on Win98SE isn't enough -- you have to enable
>> Internet Connection Sharing.
>
>Sorry for that, I forgot to mention, that all this is the result of
>installing ICS.


Although what you're attempting to do can be worked around by double
natting using ics, it will be more efficient to do it using routing
*without* ics.

I had a trawl through the archives because I remembered something
similar a while back and this is the thread I was looking for
http://groups.google.co.uk/group/microsoft.public.win98.networking/browse_thread/thread/057a496628cf2bd9/8d1f99c162521d34?hl=en#8d1f99c162521d34

short version
http://tinyurl.com/2ber2s
http://preview.tinyurl.com/2ber2s

Although it's not immediately obvious from the title, this poster has
a setup almost identical to yours and resolved the issue using routing
instead of ics.

His biggest problem was that he had set two default gateways. From
your first post you are clear that you only have one default gateway
so you are most of the way there already.


Jim.

Eugen Mezei

unread,
Feb 17, 2008, 5:03:20 PM2/17/08
to
On 16 Feb., 05:09, James Egan <je...@jegan.com> wrote:

> You need to add a static route to your router to send traffic for
> network 192.168.2.0 mask 255.255.255.0 to go via 192.168.1.128
>
> That should resolve your ping issue.

That was it.
I set up a static route in the WLAN router and now it works. Maybe I
set the router also up to give to this WLAN-stick a fixed IP.
Or is it possbile to set the route up with changing IPs? (I doubt it,
but maybe somebody knows some trick.)

Eugen

James Egan

unread,
Feb 18, 2008, 6:36:00 AM2/18/08
to

On Sun, 17 Feb 2008 14:03:20 -0800 (PST), Eugen Mezei
<eugen...@gmx.de> wrote:

>Or is it possbile to set the route up with changing IPs? (I doubt it,
>but maybe somebody knows some trick.)

It's not possible. Look in your router configuration manual for dhcp
reservation so that it uses dhcp but gets the same ip address all the
time. Or use static as explained previously.


Jim.

Eugen Mezei

unread,
Feb 18, 2008, 11:19:39 AM2/18/08
to
On 18 Feb., 13:36, James Egan <je...@jegan.com> wrote:
> On Sun, 17 Feb 2008 14:03:20 -0800 (PST),EugenMezei
>
> <eugen.me...@gmx.de> wrote:
> >Or is it possbile to set the route up with changing IPs? (I doubt it,
> >but maybe somebody knows some trick.)
>
> It's not possible. Look in your router configuration manual for dhcp
> reservation so that it uses dhcp but gets the same ip address all the
> time. Or use static as explained previously.

Yes, I can tell the router to always associate the MAC nr. of my WLAN-
stick with the same IP.
I just asked, not really for a practical solution for this problem,
more out of interest in learning something new.
The routing works now very well with the static route in the router
and for the IP I can assign MAC to IP or I can also instruct the Win98
machine to have a fixed IP and not to ask at the DHCP server (ofcourse
if the IP is occupied it will not work but that is unprobable to
happen). At the moment the DHCP server has lease not to expire so the
card gets the same IP and it is unprobable some other NIC would want
the same IP, they are plenty to choose from.

Eugen

James Egan

unread,
Feb 18, 2008, 10:28:38 PM2/18/08
to

On Mon, 18 Feb 2008 08:19:39 -0800 (PST), Eugen Mezei
<eugen...@gmx.de> wrote:

>or I can also instruct the Win98
>machine to have a fixed IP and not to ask at the DHCP server (ofcourse
>if the IP is occupied it will not work but that is unprobable to
>happen).

The ip will *never* be occupied if you choose a fixed ip address which
is ouside the dhcp pool. You can set the dhcp pool on your router from
(say) 192,168.1.10 to 50 and use 192.168.1.128 for the win98

Jim.

0 new messages