Win2k pro accessing 2 routed networks

  • Thread starter Thread starter vos
  • Start date Start date
V

vos

Hi,

I read previous topics about 2 networks but I still didn't find what I
wanted to know, or didn't understand them exactly.
My problem is that I want to access 2 routed networks from my win2k pro
pc, 1 network connects to a simple netgear router for internet access
while the other is on my cisco lab equipment as I am studying for CCNA.
As both networks are routed I think I need gateways for both networks.
I have drawn a diagram here
http://members.iinet.net.au/~vos/lansetup.gif
I tried 2 nics thinking that was the way, but soon realised it was not
the way to do it. I know to add an extra ip address and gateway in the
advance properties of the NIC but I don't know how to set it up to
access both network simultaniously. I can only access one gateway at a
time, with both gateway's metric set to 1, the .100.0 network is
accesible but I loose my internet access through the .2.0 network. If I
set the metric to 2 on the .100.0 gateway I loose access to that
network. I tried playing with the route command but was unsure of what
I was doing. I do have a 2k server on the network but didn't want to
use this to achieve my goal.

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x1000003 ...00 0d 61 31 35 5d ...... Realtek RTL8139/810x Family Fast
Ethernet
NIC
========================================================
========================================================
Active Routes:
Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.50
1
0.0.0.0 0.0.0.0 192.168.100.1 192.168.2.50
2
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
1
192.168.2.0 255.255.255.0 192.168.2.50 192.168.2.50
1
192.168.2.50 255.255.255.255 127.0.0.1 127.0.0.1
1
192.168.2.255 255.255.255.255 192.168.2.50 192.168.2.50
1
192.168.100.0 255.255.255.0 192.168.100.2 192.168.2.50
1
192.168.100.2 255.255.255.255 127.0.0.1 127.0.0.1
1
192.168.100.255 255.255.255.255 192.168.100.2 192.168.2.50
1
224.0.0.0 224.0.0.0 192.168.2.50 192.168.2.50
1
255.255.255.255 255.255.255.255 192.168.2.50 192.168.2.50
1
Default Gateway: 192.168.2.1
=======================================================
Persistent Routes:
None

Any help would be greatly appreciated, thanks in advance

Regards,
Vos
 
In this case, keep 0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.50
1 the same (no change). You need to change this route 0.0.0.0 0.0.0.0 192.168.100.1 192.168.2.50.

make it look like this 192.168.3.0 (assuming Cisco network use 192.168.3.0) 255.255.255.0 192.168.2x (this is Cisco router IP in the 192.168.2.0) 192.168.2.50.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Hi,

I read previous topics about 2 networks but I still didn't find what I
wanted to know, or didn't understand them exactly.
My problem is that I want to access 2 routed networks from my win2k pro
pc, 1 network connects to a simple netgear router for internet access
while the other is on my cisco lab equipment as I am studying for CCNA.
As both networks are routed I think I need gateways for both networks.
I have drawn a diagram here
http://members.iinet.net.au/~vos/lansetup.gif
I tried 2 nics thinking that was the way, but soon realised it was not
the way to do it. I know to add an extra ip address and gateway in the
advance properties of the NIC but I don't know how to set it up to
access both network simultaniously. I can only access one gateway at a
time, with both gateway's metric set to 1, the .100.0 network is
accesible but I loose my internet access through the .2.0 network. If I
set the metric to 2 on the .100.0 gateway I loose access to that
network. I tried playing with the route command but was unsure of what
I was doing. I do have a 2k server on the network but didn't want to
use this to achieve my goal.

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x1000003 ...00 0d 61 31 35 5d ...... Realtek RTL8139/810x Family Fast
Ethernet
NIC
========================================================
========================================================
Active Routes:
Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.50
1
0.0.0.0 0.0.0.0 192.168.100.1 192.168.2.50
2
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
1
192.168.2.0 255.255.255.0 192.168.2.50 192.168.2.50
1
192.168.2.50 255.255.255.255 127.0.0.1 127.0.0.1
1
192.168.2.255 255.255.255.255 192.168.2.50 192.168.2.50
1
192.168.100.0 255.255.255.0 192.168.100.2 192.168.2.50
1
192.168.100.2 255.255.255.255 127.0.0.1 127.0.0.1
1
192.168.100.255 255.255.255.255 192.168.100.2 192.168.2.50
1
224.0.0.0 224.0.0.0 192.168.2.50 192.168.2.50
1
255.255.255.255 255.255.255.255 192.168.2.50 192.168.2.50
1
Default Gateway: 192.168.2.1
=======================================================
Persistent Routes:
None

Any help would be greatly appreciated, thanks in advance

Regards,
Vos
 
Thanks for your time Robert.
ok I got it to look like you said, but I think I disagree with this as
the 192.168.100.0 network is not on the other side of the 192.168.2.0
router, but I tried it anyway and got the routing table to look like
this. Did I do it right??

Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.50
1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
1
192.168.2.0 255.255.255.0 192.168.2.50 192.168.2.50
1
192.168.2.50 255.255.255.255 127.0.0.1 127.0.0.1
1
192.168.2.255 255.255.255.255 192.168.2.50 192.168.2.50
1
192.168.100.0 255.255.255.0 192.168.2.1 192.168.2.50
1 <---
192.168.100.2 255.255.255.255 127.0.0.1 127.0.0.1
1
192.168.100.255 255.255.255.255 192.168.100.2 192.168.2.50
1
224.0.0.0 224.0.0.0 192.168.2.50 192.168.2.50
1
255.255.255.255 255.255.255.255 192.168.2.50 192.168.2.50
1
Default Gateway: 192.168.2.1

removed the line
0.0.0.0 0.0.0.0 192.168.101.1 192.168.2.50
changed the old 192.168.100.0 to
192.168.100.0 255.255.255.0 192.168.2.1 192.168.2.50
I even tried
192.168.100.0 255.255.255.0 192.168.100.1 192.168.2.50
but this didn't work either. Any other ideas?

I did some more reading and from what I can understand windows 2000 pro
can not do what I am attempting. Is this true?
 
Not really. as you mentioned, you have two routers, if one router uses 192.168.2.1 and then another router must be different IP.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
Thanks for your time Robert.
ok I got it to look like you said, but I think I disagree with this as
the 192.168.100.0 network is not on the other side of the 192.168.2.0
router, but I tried it anyway and got the routing table to look like
this. Did I do it right??

Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.50
1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1
1
192.168.2.0 255.255.255.0 192.168.2.50 192.168.2.50
1
192.168.2.50 255.255.255.255 127.0.0.1 127.0.0.1
1
192.168.2.255 255.255.255.255 192.168.2.50 192.168.2.50
1
192.168.100.0 255.255.255.0 192.168.2.1 192.168.2.50
1 <---
192.168.100.2 255.255.255.255 127.0.0.1 127.0.0.1
1
192.168.100.255 255.255.255.255 192.168.100.2 192.168.2.50
1
224.0.0.0 224.0.0.0 192.168.2.50 192.168.2.50
1
255.255.255.255 255.255.255.255 192.168.2.50 192.168.2.50
1
Default Gateway: 192.168.2.1

removed the line
0.0.0.0 0.0.0.0 192.168.101.1 192.168.2.50
changed the old 192.168.100.0 to
192.168.100.0 255.255.255.0 192.168.2.1 192.168.2.50
I even tried
192.168.100.0 255.255.255.0 192.168.100.1 192.168.2.50
but this didn't work either. Any other ideas?

I did some more reading and from what I can understand windows 2000 pro
can not do what I am attempting. Is this true?
 
ok I got a grasp on this now, I added another card without a default
gateway and put my lab network on a class b network, added a static
route. Now I can get it to work, as long as I don't use a class c
address on my lab network it will work fine. I think I will use a non
default subnet mask on my lan segment that has access to the internet,
and then I should be able to use class c addresses on my lab network
with the default class c subnet mask with the addition of some static
routes. Thanks for your time Robert, you got me thinking and with some
reading also I am on the right track. Before tonight I had never used
the route command in windows at all. Anyway need sleep. Bye for now.
Cheers,
Vos
 
Thank you for the update. I have one tip in my web site and you refer to it in the future.

Routing One router goes to the corporation email server and another one goes to the Internet Route command and examples Routing issue if the LAN and VPN are in ...
www.chicagotech.net/routing.htm



Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
ok I got a grasp on this now, I added another card without a default
gateway and put my lab network on a class b network, added a static
route. Now I can get it to work, as long as I don't use a class c
address on my lab network it will work fine. I think I will use a non
default subnet mask on my lan segment that has access to the internet,
and then I should be able to use class c addresses on my lab network
with the default class c subnet mask with the addition of some static
routes. Thanks for your time Robert, you got me thinking and with some
reading also I am on the right track. Before tonight I had never used
the route command in windows at all. Anyway need sleep. Bye for now.
Cheers,
Vos
 
There are a few ways you can do this, here are a couple

1) If you want to keep the IP address on the "lab" router at 192.168.100.1,
the you can add an IP address of 192.168.100.2 to your workstation. Let's
say that it's primary IP address is 192.168.2.2 and your Cisco lab is on the
172.16.0.0/16 network. Your computer's default gateway would be 192.168.2.1.
Then, from the command line (or better, a batch file that executes from your
startup folder) enter:

route add 172.16.0.0 mask 255.255.0.0 192.168.100.1

Devices in your lab would need a default gateway of the router interface on
their side (172.16.0.1?)


2) Use the 192.168.2.1 router as your default gateway. In that router, put
a static route to the Cisco Lab IP network(s) via the other router, which I
would re IP to be on the 192.168.2.0 network, let's say 192.168.2.100.

ip route 172.16.0.0 255.255.0.0 192.168.2.100

The "Lab" router's default route would be 192.168.2.1, and the 192.168.2.1
router's default route would be your DSL router of course.



....kurt
 
Thanks for your time Kurt, I will check out them sites you gave me. I
have a good idea on what to do, but since my devices in my lab don't
need access to the 192.168.2.0 network I don't need the 2nd part, and
packets can get to the 2k pc as the first router will advertise that
network with a routing protocol. As it is a lab the setup will be
constantly changing as I attempt to learn different things, but my main
clouded area when I started this thread was how to configure my 2k pc
to access 2 networks. I started off just putting in 2 cards and putting
a different gateway in each, with the message that 2k gave me regarding
the fact that multiple gateways were for redundancy I soon discovered
it was not the way to go, and to be honest I never put too much thought
into multiple gateways on the pc before I started. I got the lab to
mainly study for cisco certifications, but think I will add to my
skills by learning some Active Directory and Exchange server between
sitting for my ccna and my ccnp.
Again thanks for the help Robert and Kurt.
Regards,
Vos
 
Back
Top