In news:Xns9819B261F7E4Fabinvalid@138.199.67.64, Ingeborg typed:
> Ivan Bútora wrote:
>
>> Hi all,
>>
>> I have two Windows 98 PCs here, networked successfully, with IP
>> addresses 192.168.21.4 and 192.168.21.5, and subnet mask
>> 255.255.255.0.
>>
>> However, recently, due to the inability to connect to an FTP server,
>> my ISP has granted me a public IP address for one of the machines.
>> Thus, one of the computers now has IP 217.73.23.XXX and subnet mask
>> 255.255.255.240, while the other remains with the local addresses. The
>> problem is that now the two computers cannot see each other on the
>> Windows network.
>>
>
> I do not see how this works. Do you have 2 public addresses, one for the
> router and one for the 98 PC? Or does the 98 PC do the routing?
Actually, the two PCs are connected to a simple switch, which is then connected
to a router. My understanding is that the router's address is 192.168.21.1,
which is configured as the default gateway. I'm not sure exactly how it works,
but when I use the public IP address, I am also supposed to use a different
gateway - 217.73.23.XXX. I am not exactly clear on the significance of that,
because the connection works even if I keep the local gateway address, but use
the public IP address.
>
>>
>> Question: Is there any way whatsoever, with these IP addresses, for
>> the two machines to see each other, or is this simply impossible (I
>> don't understand exactly how the combination of IP and subnet
>> determines whether the machines can see each other or not.) They are,
>> of course, in the same workgroup.
>
> Maybe you can add a second NIC, and connect one to your LAN and one to
> the Internet? In that case you should delete the 'default gateway' on the
> TCP/IP of the LAN NIC. For safety you should not bind anything to the
> TCP/IP protocol connected to the internet NIC.
>
>>
>> Lastly, I understand one can add secondary IP configurations under
>> Windows 2000/XP, but not Windows 98.
>>
>
> In fact, it is possible
> <http://www.windowsnetworking.com/articles_tutorials/multiipa.html>
Thanks for this, it! After some experimenting, I was able to get things to work
by writing two IP addresses and subnet masks into the appropriate registry
entries, and also by having two gateway addresses. It seems that the order of
the IP addresses determines whether my IP address is seen from outside as
217.73.23.XXX, or 217.73.16.18 (which is what I get when I use the local IP
setup). Also, if I did not have both gateways, I was able to see the other
computer, but the transfer speeds were significantly slower when copying files -
I guess it's because the connection went through the outside network rather than
just directly through the switch. Finally, I had one situation where I wasn't
able to use the \\computer_name syntax, but I was able to use \\192.168.21.4 to
see the other machine.
I'm kind of confused about how all of this fits together, but somehow with my
current configuration, I have what I want, i.e. I am using a public IP address,
but I also have full capabilities on the local network.
Ivan
|