Networking Forums

Networking Forums > Computer Networking > Windows Networking > basic win 98 ip forwarding

Reply
Thread Tools Display Modes

basic win 98 ip forwarding

 
 
Ian Diddams
Guest
Posts: n/a

 
      03-02-2004, 01:26 PM
scenario : pc1 (win98) connected via broadband to internet via USB
modem. Very tickety boo. Also fitted with NIC - ip
192.168.0.1/255.255.255.0 . No default g/w set. dns serverfs
supplied by ISP.. ipconfig shows their IPs.

pc2 (win 98) also fitted with NIC - ip 192.168.0.2/255.255.255.0.
Default g/w set to 192.168.0.1/255.255.255.0 ie pc1. dns servers set
to be ip of pc1.

pcs connected via small hub.

pc1 can ping pc2, and vice versa.

pc1 also set for ip forwarding (registry entry).

However - can ping an external address from pc1 (and loads in web
browser) but cannot do so from pc2

What am I doing wrong/have I missed? basically 2 pcs can see each
other on an internal network, one is set as an ip forwarder and the
gateway for the second, but appears not to be doing simple routing ie
forwarding ip.




secondly (but could be the reason for the above failure?) we have
noticed that when pc2 boots, often pc1 freezes. Certainly when pc2 is
connected to the network physically pc1 will reboot or freeze in an ad
hoc fashion! I've taken the drop cables and hub out of the equation
by using a Xover cable and if anything that exascerbated the
situation! Have I merely indicated that the nics used in the win 98
systems may be shonky? Could this shonkiness be what is stopping my
basic n/w setup from otherwise working correctly


cheers

ian
 
Reply With Quote
 
 
 
 
Steve Winograd [MVP]
Guest
Posts: n/a

 
      03-02-2004, 01:50 PM
In article <(E-Mail Removed) >,
(E-Mail Removed) (Ian Diddams) wrote:
>scenario : pc1 (win98) connected via broadband to internet via USB
>modem. Very tickety boo. Also fitted with NIC - ip
>192.168.0.1/255.255.255.0 . No default g/w set. dns serverfs
>supplied by ISP.. ipconfig shows their IPs.
>
>pc2 (win 98) also fitted with NIC - ip 192.168.0.2/255.255.255.0.
>Default g/w set to 192.168.0.1/255.255.255.0 ie pc1. dns servers set
>to be ip of pc1.
>
>pcs connected via small hub.
>
>pc1 can ping pc2, and vice versa.
>
>pc1 also set for ip forwarding (registry entry).
>
>However - can ping an external address from pc1 (and loads in web
>browser) but cannot do so from pc2
>
>What am I doing wrong/have I missed? basically 2 pcs can see each
>other on an internal network, one is set as an ip forwarder and the
>gateway for the second, but appears not to be doing simple routing ie
>forwarding ip.


IP forwarding on pc1 listens to packets that come in on one network
interface and sends them out, unchanged, on the other interface. That
isn't sufficient to give Internet access to pc2. Turn off IP
forwarding.

Pc2 has a private IP address (192.168.0.2), so even if packets from it
go out via the USB modem and reach a server on the Internet, the
server's reply can't get back to pc2. Internet routers drop packets
addressed to private IP addresses because there are no route table
entries for them.

Giving Internet access to pc2 requires running special software, such
as NAT (Network Address Translation) or a proxy server, on pc1. The
software sends packets from pc2 to the Internet with pc1's public IP
address as the return address, then routes the replies back to pc2.

If pc1 runs Windows 98 Second Edition, you can use its built-in NAT
program, which is called Internet Connection Sharing:

ICS Installation [Win98SE]
http://www.practicallynetworked.com/...icsinstall.htm

>secondly (but could be the reason for the above failure?) we have
>noticed that when pc2 boots, often pc1 freezes. Certainly when pc2 is
>connected to the network physically pc1 will reboot or freeze in an ad
>hoc fashion! I've taken the drop cables and hub out of the equation
>by using a Xover cable and if anything that exascerbated the
>situation! Have I merely indicated that the nics used in the win 98
>systems may be shonky? Could this shonkiness be what is stopping my
>basic n/w setup from otherwise working correctly


It might help to disable Wake-on-LAN in each computer's BIOS setup.
Download and install the latest driver programs for each NIC. If that
doesn't help, replacing the NICs is relatively inexpensive.

>cheers
>
>ian

--
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 - Windows Networking
http://mvp.support.microsoft.com

Steve Winograd's Networking FAQ
http://www.bcmaven.com/networking/faq.htm
 
Reply With Quote
 
Drumstick
Guest
Posts: n/a

 
      03-03-2004, 11:07 AM
In article <(E-Mail Removed)>,
(E-Mail Removed) says...
> In article <(E-Mail Removed) >,
> (E-Mail Removed) (Ian Diddams) wrote:
> >scenario : pc1 (win98) connected via broadband to internet via USB
> >modem. Very tickety boo. Also fitted with NIC - ip
> >192.168.0.1/255.255.255.0 . No default g/w set. dns serverfs
> >supplied by ISP.. ipconfig shows their IPs.
> >
> >pc2 (win 98) also fitted with NIC - ip 192.168.0.2/255.255.255.0.
> >Default g/w set to 192.168.0.1/255.255.255.0 ie pc1. dns servers set
> >to be ip of pc1.
> >
> >pcs connected via small hub.
> >
> >pc1 can ping pc2, and vice versa.
> >
> >pc1 also set for ip forwarding (registry entry).
> >
> >However - can ping an external address from pc1 (and loads in web
> >browser) but cannot do so from pc2
> >
> >What am I doing wrong/have I missed? basically 2 pcs can see each
> >other on an internal network, one is set as an ip forwarder and the
> >gateway for the second, but appears not to be doing simple routing ie
> >forwarding ip.

>


Don't use ICS...been there done that...NOT happy. Instead go to
www.analogx.com and get their free proxy server called PROXY. It's
small, clean and neat...and it works! Well, on my Win98 machine
anyway.

--

Drum-
 
Reply With Quote
 
Ian Diddams
Guest
Posts: n/a

 
      03-03-2004, 08:10 PM
> Don't use ICS...been there done that...NOT happy. Instead go to
> www.analogx.com and get their free proxy server called PROXY. It's
> small, clean and neat...and it works! Well, on my Win98 machine
> anyway.


steve & drumstick - many thanks for your feedback.

i had contemplated a proxy server on pc1 but wanted to avoid tye
hassle but "PROXY" sounds just the job :-)

ref: replacement NICs steve, exactly the path I was contemplating.


many thanks yet again.

ian
 
Reply With Quote
 
Test@test.com
Guest
Posts: n/a

 
      03-04-2004, 08:10 PM
Did you try to ping by name or number to the internet? the dns in pc2 shold
be what the provider "put" in pc1


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very basic question TJ Windows Networking 5 05-12-2008 06:06 PM
Help with BT Basic Bacillus Cereus Broadband 13 10-30-2005 11:53 AM
bt basic Robert Broadband 9 08-01-2004 08:40 PM
bt broadband basic JM Broadband 10 07-02-2004 03:51 PM
Some Basic Help =?Utf-8?B?UGV0ZXI=?= Windows Networking 1 06-09-2004 04:42 PM



1 2 3 4 5 6 7 8 9 10 11