Link to home
Start Free TrialLog in
Avatar of andrew5499
andrew5499Flag for United States of America

asked on

server with 2 NIC's name resolution

I have 2 servers both with 2 NIC's each.
is there a command to force 1 server to resolve the name of the other server to a seperate IP address.

example
server 1 has 2 nic's (10.0.0.1 network and a 192.168.1.1 network).
server 2 has 2 nic's (10.0.0.2 and 192.168.1.2)
 I want server 1 to resolve  to server 2 to the 192.168 ip address
so when I run command "ping server 2", it replies to the 192.168.1.2 Ip address and not the 10.0.0.2.

running windows 2003 on both
Avatar of bill_lynch
bill_lynch
Flag of United States of America image

are you pinging from a client on the 192.168.1 network?  Is DNS setup for both subnets?
Avatar of omarfarid
if you have dns then you can use views, if you have /etc/hosts then you can use different hostname / ip addresses
SOLUTION
Avatar of elawad
elawad
Flag of Lebanon image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of andrew5499

ASKER

Host file worked - but I am working on removing the second NIC