Windows XP network problem...

  • Thread starter Thread starter fungus
  • Start date Start date
F

fungus

I've got three machines here:

Server/Router
-------------
This machine acts as a server, it connects to
the Internet via a cable modem. It also has
Ethernet and Wifi and does Internet connection
sharing.

Modem IP = auto
Ethernet IP = 192.168.0.1
Wifi IP = 192.168.1.1

Machine A
---------
I've got a machine "A" which connects to the
server via Ethernet.

A's IP = 192.168.0.2
A's Gateway = 192.168.0.1

Machine B
---------
I've got another machine "B" which connects
to the server via Wifi.

B's IP = 192.168.1.2
B's Gateway = 192.168.1.1


The setup works. All machines have Internet
access, all machines can ping each other (I've
edited "hosts" to fill in the IP addresses).

The only problem is that A can't see shared
files on B, and B can't see shared files on A.
I look in "My Network Places" and the machines
aren't there, they can only see the server.

How can I get A and B to see each other's files?


--
<\___/>
/ O O \
\_____/ FTB. For email, remove my socks.

In science it often happens that scientists say, 'You know
that's a really good argument; my position is mistaken,'
and then they actually change their minds and you never
hear that old view from them again. They really do it.
It doesn't happen as often as it should, because scientists
are human and change is sometimes painful. But it happens
every day. I cannot recall the last time something like
that happened in politics or religion.

- Carl Sagan, 1987 CSICOP keynote address
 
you need to make the "server" machine as a router. If it is the windows server, you just need to enable ip routing.

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.

I've got three machines here:

Server/Router
-------------
This machine acts as a server, it connects to
the Internet via a cable modem. It also has
Ethernet and Wifi and does Internet connection
sharing.

Modem IP = auto
Ethernet IP = 192.168.0.1
Wifi IP = 192.168.1.1

Machine A
---------
I've got a machine "A" which connects to the
server via Ethernet.

A's IP = 192.168.0.2
A's Gateway = 192.168.0.1

Machine B
---------
I've got another machine "B" which connects
to the server via Wifi.

B's IP = 192.168.1.2
B's Gateway = 192.168.1.1


The setup works. All machines have Internet
access, all machines can ping each other (I've
edited "hosts" to fill in the IP addresses).

The only problem is that A can't see shared
files on B, and B can't see shared files on A.
I look in "My Network Places" and the machines
aren't there, they can only see the server.

How can I get A and B to see each other's files?


--
<\___/>
/ O O \
\_____/ FTB. For email, remove my socks.

In science it often happens that scientists say, 'You know
that's a really good argument; my position is mistaken,'
and then they actually change their minds and you never
hear that old view from them again. They really do it.
It doesn't happen as often as it should, because scientists
are human and change is sometimes painful. But it happens
every day. I cannot recall the last time something like
that happened in politics or religion.

- Carl Sagan, 1987 CSICOP keynote address
 
I assume you are using subnet masks of 255.255.255.0 which puts the
192.168.0.0 and 192.168.1.0 networks on different subnets. Unfortuantely,
browsing across subnets cannot be accomplished through broadcast name
resolution because different subnets are not in the same broadcast domain.
You'll need to do either one of two things...

1. Use WINS (for 2 machines, I wouldn't recommend this)
2. Use LMHOSTS

You'll have to make a static entry in each LMHOSTS file. They can be
located in %system32%\drivers\etc

Here is a KB article that explains LMHOSTS better:
http://support.microsoft.com/default.aspx?scid=kb;en-us;314884

Here is a small excerpt:
Windows recognizes names instead of IP addresses for network requests, and a
name discovery process is used to correctly route network requests with
TCP/IP. Because the name discovery process is generally not routed by an IP
router, the LMHOSTS file allows Windows-based computers to use TCP/IP to
communicate across a subnet.


In addition to this, you'll have to verify several other things need for
network browsing. Both computers should have 'NetBIOS over TCP/IP' enabled.
They should also not have Windows Firewall or other 3rd party firewalls
configured to block MS Networking(almost all do out of the box. You can
disable them for testing, but please re-enable them when you are done). You
will need 'client for microsoft networking' installed and it will also help
to have them in the same workgroup

If you have any more questions, just shoot!
 
Robert said:
you need to make the "server" machine as a router. If it is the windows
server, you just need to enable ip routing.

How do I do that?

It's running XP Pro.


--
<\___/>
/ O O \
\_____/ FTB. For email, remove my socks.

In science it often happens that scientists say, 'You know
that's a really good argument; my position is mistaken,'
and then they actually change their minds and you never
hear that old view from them again. They really do it.
It doesn't happen as often as it should, because scientists
are human and change is sometimes painful. But it happens
every day. I cannot recall the last time something like
that happened in politics or religion.

- Carl Sagan, 1987 CSICOP keynote address
 
Adam said:
I assume you are using subnet masks of 255.255.255.0 which puts the
192.168.0.0 and 192.168.1.0 networks on different subnets.
Yep.

Unfortuantely,
browsing across subnets cannot be accomplished through broadcast name
resolution because different subnets are not in the same broadcast domain.
You'll need to do either one of two things...

1. Use WINS (for 2 machines, I wouldn't recommend this)
2. Use LMHOSTS

You'll have to make a static entry in each LMHOSTS file. They can be
located in %system32%\drivers\etc

I already did this. I can go to a command line
and type "ping B" from machine A and the ping
will get there.

They should also not have Windows Firewall or other 3rd party firewalls

Aha! I just disabled the firewall on machine B
and A could get through. That's what it was.

So...how do I configure Windows Firewall to
let that through? If I turn the firewall off
completely it nags me to death, even though
a firewall is pointless in a machine on an
internal LAN.



--
<\___/>
/ O O \
\_____/ FTB. For email, remove my socks.

In science it often happens that scientists say, 'You know
that's a really good argument; my position is mistaken,'
and then they actually change their minds and you never
hear that old view from them again. They really do it.
It doesn't happen as often as it should, because scientists
are human and change is sometimes painful. But it happens
every day. I cannot recall the last time something like
that happened in politics or religion.

- Carl Sagan, 1987 CSICOP keynote address
 
Adam said:
You should make an exception in Windows Firewall for each computer

The whole firewall setup is a mess. I don't see
how anybody could find it "intuitive".


I found a "don't nag me" button and turned off
the firewall on A and B. It's pretty must useless
anyway.


--
<\___/>
/ O O \
\_____/ FTB. For email, remove my socks.

In science it often happens that scientists say, 'You know
that's a really good argument; my position is mistaken,'
and then they actually change their minds and you never
hear that old view from them again. They really do it.
It doesn't happen as often as it should, because scientists
are human and change is sometimes painful. But it happens
every day. I cannot recall the last time something like
that happened in politics or religion.

- Carl Sagan, 1987 CSICOP keynote address
 
I'm not about to recommend you NOT using a firewall, so don't look for
reassurance from me =)
 
Adam said:
I'm not about to recommend you NOT using a firewall, so don't look for
reassurance from me =)

I've got one on the server, which is the only
machine of the three with a connection to
the big bad 'net.

It seems a bit pointless to have one on the other
two machines, and it's causing me grief. I told
it to allow file and printer sharing but it made
no difference (or maybe I'm just too stupid for
Windows Firewall...)


--
<\___/>
/ O O \
\_____/ FTB. For email, remove my socks.

In science it often happens that scientists say, 'You know
that's a really good argument; my position is mistaken,'
and then they actually change their minds and you never
hear that old view from them again. They really do it.
It doesn't happen as often as it should, because scientists
are human and change is sometimes painful. But it happens
every day. I cannot recall the last time something like
that happened in politics or religion.

- Carl Sagan, 1987 CSICOP keynote address
 
The purpose of win 2000/2003 was to deviate away from having to rely on
netbios name resolution. Get rid of the netbios protocol, you do not need it
and if any thing will cause security concerns and excess broadcast traffic.
Look into setting up a DHCP server utilizing DDNS to resolve host names
across multiple subnets. This is the preferred way now, is more reliable and
faster. But, if you have pre-windows 2000 machines, then you're pretty much
stuck with WINS. If this is the case, consider upgrading.
 
Back
Top