Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 NICS, how to address a specific one for each task?
Message
 
À
12/01/2008 04:25:04
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Divers
Thread ID:
01281314
Message ID:
01281420
Vues:
9
>>Hi
>>I have a workstation that runs 24/7 many routines, connects to vfp9 web services worldwide, create xmlhttp objects to connect to other apps, runs web services and executes work in the lan and many many more.
>>Lately, one of the connections required and IPSEC VPN connection, which forced me to use 2 NICS ( network cards ) for that computer.
>>Now i have the following setup:
>>Card 1, IP: 10.103.37.8 ---> this one creates a socket connection through vpn
>>Card 2, IP: 192.168.1.5 ---> this is the normal one, does all the work, web services, browses the internet, etc...
>>For card1, when i create the socket connection, i can specify my ip address, which works great.
>>The problem is that i noticed that when browsing the internet now, it takes the system a long time to figure out what ip to use ( card 2 ), and it sometimes even timeout.
>>I sometimes try: CREATEOBJECT("Microsoft.XMLHTTP") then when trying the .Send() method, i get a "resource not found error" , then i retry and it works.
>>Same for web services, mssoapinit fails many times.
>>How can i tell microsoft.xmlhttp and mssoap.soapclient objects to specifically use the CARD2 ip address?
>>
>>TIA
>>JAime
>
>You can use routing, see ROUTE command in windows cmd.exe

Thanks Dorin
I checked the ROUTE help, but it's quite hierogliphic...Googled it a bit then got myself into more trouble...In the meantime, i set a lower metric in the tcp/ip options for the card2, and a higher one for card1, but i still don't know for sure if that did the trick completely :-(

Thanks for your help
Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform