Simple WIndows XP routing

P

pasan

Hi all,
I have four computers on a home network. Internet connectivity
is supplied via an ADSL router with ip address 192.168.0.1 and is used
as default gateway by all computers.One is my music and video file
server running linux, two others run Windows XP and the last is on
Windows 98. All five network devices (including ADSL router) hook up to
a 100Mbps switch. I recently obtained a 10Mbps hub an two extra NICs. I
wanted to hook up this hub downstairs, thereby allowing me to place an
additional computer there, but unfortunately, the wiring was carried
out only for one computer therefore, there is only one cable going down
and I do no not wish to put one of my XP machines on a slower network.
So I got the idea that I will attach a second NIC to the XP machine,
and connect the hub to that and then distribute a network through that.
My problem, as you may have guessed now, is how do I get these two
networks to communicate with each other? I have already enabled the
IPRouterEnabled setting in the registry, but I do not have the
knowledge to proceed an further as routing tables confuse me a great
deal. The IP addresses are as follows:

192.168.0.1 - ADSL Router
192.168.0.2 - Upstairs XP machine
192.168.0.3(100Mbps)/192.168.1.1(10Mbps) - Downstairs XP machine
(switched on 24/7 as it is my downloading machine)
192.168.0.4 - Linux media server
192.168.1.5 - Windows 98 machine which has migrated downstairs

the 0 subnetwork is on the 100Mbps switch, while the 1 subnetwork
should exist on the 10Mbps hub.

Any help that could be offered would be recieved most gratefully

Thank you.
 
S

Steve Winograd [MVP]

Hi all,
I have four computers on a home network. Internet connectivity
is supplied via an ADSL router with ip address 192.168.0.1 and is used
as default gateway by all computers.One is my music and video file
server running linux, two others run Windows XP and the last is on
Windows 98. All five network devices (including ADSL router) hook up to
a 100Mbps switch. I recently obtained a 10Mbps hub an two extra NICs. I
wanted to hook up this hub downstairs, thereby allowing me to place an
additional computer there, but unfortunately, the wiring was carried
out only for one computer therefore, there is only one cable going down
and I do no not wish to put one of my XP machines on a slower network.
So I got the idea that I will attach a second NIC to the XP machine,
and connect the hub to that and then distribute a network through that.
My problem, as you may have guessed now, is how do I get these two
networks to communicate with each other? I have already enabled the
IPRouterEnabled setting in the registry, but I do not have the
knowledge to proceed an further as routing tables confuse me a great
deal. The IP addresses are as follows:

192.168.0.1 - ADSL Router
192.168.0.2 - Upstairs XP machine
192.168.0.3(100Mbps)/192.168.1.1(10Mbps) - Downstairs XP machine
(switched on 24/7 as it is my downloading machine)
192.168.0.4 - Linux media server
192.168.1.5 - Windows 98 machine which has migrated downstairs

the 0 subnetwork is on the 100Mbps switch, while the 1 subnetwork
should exist on the 10Mbps hub.

Any help that could be offered would be recieved most gratefully

Thank you.

There's no need for IP routing and all of its complications. You can
disable IP routing and create a network bridge between the two NICs.
All of the computers will be on the 0 subnet and will be able to
access each other with no additional configuration. I've written a
web page with details:

XP ICS - Network Bridge
http://www.practicallynetworked.com/sharing/xp_ics/networkbridge.htm

To set up the network using IP routing, with all computers able to
access each other by name, you'd have to:

1. Assign static IP addresses to all computers.

2. Enable IP routing on the dual-NIC XP machine.

3. Create a static route on each computer pointing to the dual-NIC XP
machine as the gateway.

On the 0 subnet:
route add 192.168.1.0 mask 255.255.255.0 192.168.0.3

On the 1 subnet:
route add 192.168.0.0 mask 255.255.255.0 192.168.1.1

4. Create an Lmhosts file on each computer specifying the mapping of
computer names to IP addresses for the computers on the other subnet.

You could use My Network Places or Network Neighborhood to browse each
computer's own subnet, but not to browse the other subnet. To access
a computer in the other subnet, you could type the other computer's
name or IP address in the Start | Run box in this format:

\\computer
\\w.x.y.z
--
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
 
P

pasan

Hi Steve,
I did as you said and now im able to ping computers from
one side to the other. But for some reason I cannot ping the ADSL
router, and nor can I ping any internet IP address. Do I need to enable
ICS on one of the NICs for that?
 
P

pasan

Hi Steve,
I did as you said and now im able to ping computers from
one side to the other. But for some reason I cannot ping the ADSL
router, and nor can I ping any internet IP address. Do I need to enable
ICS on one of the NICs for that?
 
S

Steve Winograd [MVP]

Hi Steve,
I did as you said and now im able to ping computers from
one side to the other. But for some reason I cannot ping the ADSL
router, and nor can I ping any internet IP address. Do I need to enable
ICS on one of the NICs for that?

You have a router, so you don't need to enable ICS.

Did you create a network bridge, or did you follow the 4 steps that I
listed for IP routing?

Have you assigned static IP addresses to the computers? If so, you
also have to assign the Default Gateway and DNS Server addresses. If
you created a network bridge, I recommend having all of the computers
obtain an IP address automatically.

What happens when you try to ping the ADSL router? What is the error
message?

Which computers are having the problem? All of them? Only the
Windows 98? What is the IP address of each computer that has the
problem? What is the IP address of the router?
--
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top