How it work?

G

Guest

Lets imagine 3 computers (windows2003) each with 2 network cards. They are
connected from one side using the first lan card (10.1.1.x) and from the
second side using lan2 card (10.1.2.x). So the first computer has two network
addresses: 10.1.1.1 and 10.1.2.1
From server no 1 I can get to server2 using IP 10.1.1.2 or 10.1.2.2. But
which ip addressed will be used when I will get to the second server by its
name SERVER2?
Can I configure it, so that it alway use 10.1.1.x addresses?

Thanks
Przemo
 
R

Robert L [MS-MVP]

not sure why do you want to use two NICs, but it sounds like routing order issue. quoted from http://www.ChicagoTech.net
Routing order

If you have two NICs in the same subnet on one w2k/xp computer, you wonder which NIC is been used as primary NIC to access the Internet. In most cases, when adding the second NIC on a w2k/xp computer, the first one is the primary NIC. You may change the order by going to Advanced menu of the Network Connection>Advanced Settings>Adapter and Bindings. If the settings doesn't work (by default, the faster NIC will be chooses as primary NIC) or if you want to override the settings, you can assign metric # manually by going to the Properties of the Network Connection>the Properties of the Network Connection>Advanced.


Don't send e-mail or reply to me except you need consulting services. Posting on MS newsgroup will benefit all readers and you may get more help.

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, Remote Access on http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on
This posting is provided "AS IS" with no warranties.
I recommend Brinkster for web hosting!

Lets imagine 3 computers (windows2003) each with 2 network cards. They are
connected from one side using the first lan card (10.1.1.x) and from the
second side using lan2 card (10.1.2.x). So the first computer has two network
addresses: 10.1.1.1 and 10.1.2.1
From server no 1 I can get to server2 using IP 10.1.1.2 or 10.1.2.2. But
which ip addressed will be used when I will get to the second server by its
name SERVER2?
Can I configure it, so that it alway use 10.1.1.x addresses?

Thanks
Przemo
 
H

Herb Martin

Przemo said:
Lets imagine 3 computers (windows2003) each with 2 network cards. They are
connected from one side using the first lan card (10.1.1.x) and from the
second side using lan2 card (10.1.2.x). So the first computer has two network
addresses: 10.1.1.1 and 10.1.2.1
From server no 1 I can get to server2 using IP 10.1.1.2 or 10.1.2.2. But
which ip addressed will be used when I will get to the second server by its
name SERVER2?

The one to which the name resolves.

Can I configure it, so that it alway use 10.1.1.x addresses?

Yes, if you make sure the name ONLY resolves to that address
always.


___
Also note, that it is impractical to have two Windows machine
NICs on the same subnet/segment/"broadcast domain".

Unless you use some form of "teaming NICs" this will offer
very little if any advantage.
 
G

Guest

Tnaks.
But could tou tell me where and how to control way the system resolves names?

Przemo
 
H

Herb Martin

Przemo said:
Tnaks.
But could tou tell me where and how to control way the system resolves
names?

Well, there are two basic name resolution mechanisms
which interact with each other sometimes but are used
separately for distinct types of applications (including
system features):

Internet names (e.g., DNS)
NetBIOS

DNS name resolution includes: the Host file and the
DNS server set for the client ( and maybe help from
NetBIOS.)

NetBIOS includes Broadcasts, WINS server lookup,
LMHosts file (and maybe help from DNS.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top