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