Two ethernet cards in XP Pro

  • Thread starter Thread starter David Jones
  • Start date Start date
D

David Jones

You'll need to add the following to the route table of
the XP machine:

"route -p add <IP address or IP subnet of the VPN server>
MASK <255.255.255.255 or IP subnet mask of the VPN
server> <NIC address you want to use> METRIC 1"

eg, if my VPN server that I want to hit is 155.2.2.40,
and the NIC I want to use is 192.168.0.4, I'd do the
following:

route -p add 155.2.2.40 MASK 255.255.255.255 192.168.0.4
METRIC 1.

This tells XP to use the 192.168.0.4 interface for all
requests to 155.2.2.40, and to persist that change even
after reboots.
 
DO you know - I had a feeling in my water it was going to be something
to do with the routing table!!

The thing is though - I don't want to be a VPN client, I want to be a
server - so my brother can (eventually) map a drive to a shared folder
on my PC. I've already got the sharing working OK with my old Win98SE
machine on my subnet.

Thinking on - will what you describe below force my "standard"
internet apps to use the 1st NIC, the one I wont be accepting incoming
VPN connections on?

Hmmmm. The plot thickens.

-
Alfie.
 
It's been a while since I've done incoming connections on
XP Pro. I /think/ you can choose which NIC to listen on
when you set it up, I know for sure you can with Server
versions.

All the other stuff will use whichever NIC is set as the
default gateway (or if you do a route print, the one that
shows up for 0.0.0.0 and the lowest metric). If that NIC
ever goes down or connections fail over it, they'll
switch to the other NIC.
 
Outstanding stuff.

All that remains is for me to give it a try. "Suck it and see" I think
they call it.

Thanks again for the info.
Alfie.

PS It'll never work of course!
 
Back
Top