Solved

Application Chooses Wrong IP as default IP

Posted on 2004-10-18
8
262 Views
Last Modified: 2010-04-10
I have two Ethernet Adapters each with unique Ip address that are assigned from two separate networks. I have an application that starts up and chooses a specific IP.  Currently it is grabing the IP associated with Ethernet Adapter 2 and I need it to grab the IP associated with Ethernet Adapter 1. Is there a way in Windows XP to ensure that the applications will only associate with the first Ethernet adapter?
0
Comment
Question by:infutech
8 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 12340666
0
 
LVL 49

Expert Comment

by:sunray_2003
ID: 12340708
Try this and see

go to network connection and LAN properties of one of the connection
go to tcp/ip properties and then go to advanced
uncheck "automatic metric" and assign the number 1

give a lower number for ethernet adapter 2 ....

check if that would help
0
 
LVL 5

Expert Comment

by:NashvilleGuitarPicker
ID: 12340714
Which program(s) is/are giving you problems?  This is dependant on the programming of the specific application, and some may have workarounds.  Since many programs will pick the first card, you may have to work around this by swapping IP address settings and switching cables between your "first" card and your "second" card.  Of course then you will run into problems with programs that assume you wanted to use your last card.

I am not sure how XP determines which card is listed first, but it may depend on the slot order in your PC, assuming that it is not built-in to the motherboard.  Also, it might be sorted by vendor ID, MAC address, or something like that.  You MIGHT be able to delete the first card, and have it redetect as a second card.

- Will
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 2

Expert Comment

by:Martone
ID: 12340908
what about the application you are using?  have you looked in there to see if you can change which ip it uses?  what application is it?

martone
0
 
LVL 8

Accepted Solution

by:
cooljai1 earned 500 total points
ID: 12340976
What about changing the priority of the NICs so that the second NIc is given the priority?
If that is what you want, do this,
Open the Network Communications folder, choose the Advanced menu at the top. Choose advanced settings. On this screen, you can list your network adapters (and the services that use them) in order of priority (which to use or check first when contacting a network).
0
 
LVL 6

Expert Comment

by:vand
ID: 12341099
You can also try making the network associated with adapter 1 the primary. You just go into your network connections. Right click the network and select "make primary".

Just out of curiousity, what does a "route print" from the cmd prompt indicate?
0
 
LVL 5

Expert Comment

by:NashvilleGuitarPicker
ID: 12342629
Duh, I forgot about setting the priority.  Martone's method is much better than what I suggested, if you want to manually change the priority.

- Will
0
 

Author Comment

by:infutech
ID: 12347903
Thanks for all the advice.  Changing the priority seemed to work well even after multiple restarts and system re-boot
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
policy routing to fw2 18 68
Point to point connection slow in one direction only 15 49
IPv6 NAT to IPv4 27 49
Network cabling explanation? Copper, twinaxial, SFP+, fiber? 4 49
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question