Routing between 2 Class of IP Networks.

V

Vikrant

Hi,
I have 2 networks. 192.168.0.0 and 10.0.0.0 segments.
How do i accompolish routing between the two with a single
windows 2000 server configured as a router.
Want a host in 192 segment to talk to another host in 10
segment.
I am able to ping to the router interface of 192 segment
from my 10 segment host.
Can anyone help in this?
Before I had problem with enabling routing and it is
solved.Thanks Bill.
Regards
Vikrant
 
R

Robert L [MS-MVP]

enable ip routing should work. if not post the result of server ipconfig
here.

--
For more and other information, go to http://www.ChicagoTech.net

Don't send e-mail or reply to me except you need consulting services.
Posting on MS newsgroup will benefit all readers and you may get more help.

Robert Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on
http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.
 
D

Dusty Harper {MS}

You need to enable IP Routing as well as point your clients to their
respective router interface.

To enable IP Routing, you can either install RRAS, or set
HKLM\System\CurrentControlSet\Services\TCPIP\IPEnableRouter =0x01.

To point your clients to the router, you can use Route Add, DHCP Options,
or use the default gateway in the IP Configuration. Which one you use is
best determined by your infrastructure. This needs to be done for clients
on both subnets, so they know where to send traffic destined for the other
subnet.
 
B

Bill Grant

As Dusty said, there are two things that have to happen. Once you enable
IP routing, the router will forward traffic for the "other" subnet. The
second thing is that the traffic must actually get to the router.

If there are no other routers, just set all your clients to use the
router as their default gateway. eg

192.168.0.x dg 192.168.0.1
|
192.168.0.1 dg blank
router
10.0.0.1 dg blank
|
10.0.0.x dg 10.0.0.1

If the machines in one subnet use another router (such as an Internet
gateway), then their default gateway setting will be to that router, and
traffic will never get to your Windows router. You would need to add extra
routing to get the traffic to your internal router. eg

Internet
|
Internet router
192.168.0.1
|
192.168.0.x dg 192.168.0.1
|
192.168.0.254 dg 192.168.0.1
Windows router
10.0.0.1 dg blank
|
10.0.0.x dg 10.0.0.1

In a case like this, you would need extra routing on the Internet router,
so that it knows where the 10.0.0.0 subnet is. You could add a static route
to the Internet router to "bounce" the 10.0.0.0 traffic to the internal
router. eg

10.0.0.0 255.0.0.0 192.168.0.254
 

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