Discussion Locked

Win2k Server, Routing

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello

I would like to know how to do a routing job on a server with 2 network cards.
Is it ok if both of them are in the same subnet
(like 192.168.0.10 and 192.168.0.11) ???
I want to route all packets of 192.168.0.11 via 192.168.0.10 when leaving the subnet.
Thanks

3 replies

by lordinfidel

I'm not sure what you are trying to accomplish by having both cards on the same subnet.

Also I'm not sure if you are trying to create a router. If you are trying to create a router, then each card would be on a different subnet
and you can use routing and remote access to configure the routing automatically.

But, if you are trying to say....
I want 2 network cards in my system, and both should be able to receive traffic from the same subnet, but I want to define that all outgoing traffic will leave 1 card.
(I would do it a diffferent way, which I will share at the end)

Then to create a static route, assuming the following.

eth0= 192.168.0.10/24
eth1= 192.168.0.11/24
netid= 192.168.0.0/24

open a cmd prompt

type in route print

look at your default route first, see if you already go out that card. If not then..

route add -p 0.0.0.0 mask 0.0.0.0 192.168.0.10

get rid of the other route by going
route delete 0.0.0.0 mask 0.0.0.0 192.168.0.11

to accomplish all traffic to go out over the .10 interface for the 192.168.0. net then

route add -p 192.168.0.0 mask 255.255.255.0 192.168.0.10

Now for the way I would do it.... Remove the second adapter, and on the first adapter Bind the .11 address to it. This is done by going into tcp/ip properties for that connection, click on advanced and add the ip and mask.

I hope this helps

by aurel_24

Thank you LordInfidel.

The problem is that the first ip (net card) is used by the vpn. Because I want other computers in the same subnet to be able to use the vpn I tried to add 192.168.0.11 as a gateway to those computers. From those computers Icannot even ping the remote vpn server. All I can do is to ping only 192.168.0.11, there is no access to 192.168.0.10 and no access to the remote server.
What shall I do?

by lordinfidel

On the 2K server you need to install Routing And remote Access.

Your Systems can not ping the remote server beacause the 2K server is not forwarding requests.

That is what a router does, it forwards requests.

Routing and Remote Access will take care of that.

There is some configuration involved, but it is pretty straight forward.

This discussion is closed to new replies.