Computing.Net > Forums > Networking > NIC priority set - DNS lookup fails

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

NIC priority set - DNS lookup fails

Reply to Message Icon

Name: Decker
Date: August 25, 2007 at 00:39:21 Pacific
OS: XP pro
CPU/Ram: Celeron/1GB
Product: custom
Comment:

Hello all,

I have two NICs in my XP pro machine. One goes to my ADSL router and provides LAN and internet. The other is peered to my test server.

Problem: When both NICs are enabled, internet connections dont work properly. Using IE to access the net provides no results. The internet connection is up but no connection can be established, i.e. no google, no computing.net, no nada.

Facts: 1.if i disable the local p2p nic, everything works fine on the ADSL side (hence why i can write this).
2.I have set the device priority correctly in 'adapters and bindings' in the advanced tab of net connections.
3.if i ping a remote site(eg google.com), the namespace will be resolved to an IP address by DNS but the ping packets will all fail. again, disabling the local (2nd) NIC allows the ping to complete.
4.packet capturing shows that with both cards enabled, the DNS service is returning the IP from the CNAME record correctly when the pages are requested in IE, but no further connection is being established. Soon as the 2nd card is disabled, TCP SYN ACK negotiations complete fine.

So: Why is the 2nd card interrupting the services of the 1st card when the priorities have been set and how do i prevent this from happening so that internet connections can be established with both cards enabled?

This is driving me insane so if you have any ideas, i will be most grateful.

-D-

-D-

nosey aren't ya, readin me sig?



Sponsored Link
Ads by Google

Response Number 1
Name: Curt R
Date: August 25, 2007 at 06:49:06 Pacific
Reply:

Typical windows behaviour with more than one NIC. I've experience problems with multihoming windows since NT 4.0.

My suggestion, remove the second card, get a switch and plug your server and PC into it. Then you can communicate with the server while having the ability to surf the web without having to play enable/disable games with the NIC's.


0

Response Number 2
Name: SmittyZ3M
Date: August 25, 2007 at 06:52:03 Pacific
Reply:

How exactly do you have the priorities setup? Using metrics? Do you simply have numeric metrics setup on a NIC basis, or do you have gateway metrics setup as well? If I remember correctly, a lower metric indicates higher priority. My first suspicion is that maybe the NIC you wish to have the higher priority is being used only for the DNS resolution, and the second NIC is being used for the rest of the traffic.

On your NIC that goes to your test server, do you even have a gateway IP configured? If not, then disregard this message. Are the IP addresses on both interfaces on different subnets?

Just trying to get a feel for your physical setup. Seems like you already took a proactive step by sniffing some traffic...


0

Response Number 3
Name: Decker
Date: August 25, 2007 at 10:15:44 Pacific
Reply:

looks like what might be happening is like Smitty hit on there.

the metrics for both gateways routes are the same.

i ran ROUTE PRINT from command line and the routing tables show both gateways have a metric of 20. i am just trying to work out how to run a CHANGE command to adjust the metric manually and configure it as a persistant route. if anyone knows the syntax for that, i would be grateful.

route print output is

0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.253 20
0.0.0.0 0.0.0.0 192.168.255.2 192.168.255.101 20

-D-

nosey aren't ya, readin me sig?


0

Response Number 4
Name: Decker
Date: August 25, 2007 at 10:38:54 Pacific
Reply:

I have solved it cheers folks.

i went into advanced settings on TCP/IP properties - you can set gateway and NIC metrics manually from there so just gave the 2nd gateway a higher metric and bada-bing. primary gateway gets the cheese everytime.

cheers for that pointer Smitty. did a bit of googling and it was simple in the end

-D-

nosey aren't ya, readin me sig?


0

Response Number 5
Name: SmittyZ3M
Date: August 25, 2007 at 11:46:17 Pacific
Reply:

No problem, glad I could be of assistance.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: NIC priority set - DNS lookup fails

DNS and Trace Troubles... www.computing.net/answers/networking/dns-and-trace-troubles/19894.html

FTP problem www.computing.net/answers/networking/ftp-problem/32094.html

DNS Test Failed www.computing.net/answers/networking/dns-test-failed/8344.html