Avatar of meagord
meagord
 asked on

Connecting two windows 2008r2 servers

Hi

I have two servers each with two network cards.  The first card is linked to the public internet, the second are used to link the two servers together internally via a direct cable between the two machines.

I setup the internal card to use IP addresses 10.10.11.10 and 10.10.11.11 and left the gateway and dns blank.  This is what I have done with win2003 in the past but with win2008 it refuses to connect.

So I tried setting the gateway of 10.10.11.10 to 10.10.11.11 and the reverse on the other server.  That worked and now the machines can communicate but for some reason that breaks the DNS which was working on the other card just fine.  Basicially I have not been able to get both networks connected without problems at the same time.

What are the correct settings to link two 2008r2 servers together?
Windows Server 2008Windows NetworkingDNS

Avatar of undefined
Last Comment
meagord

8/22/2022 - Mon
amr-it

Did you define a subnetmask for the private network?
meagord

ASKER
Yes

Server A
IP 10.10.11.10
subnet 255.255.255.0
Gateway/DNS blank

Server B
IP 10.10.11.11
subnet 255.255.255.0
Gateway/DNS blank

Does not connect at all

Also tried
Server A
IP 10.10.11.10
subnet 255.255.255.0
Gateway 10.10.11.11

Server B
IP 10.10.11.11
subnet 255.255.255.0
Gateway 10.10.11.10

Connects and works perfectly but DNS then fails on the server, it somehow interferes with the dns setting on the internet facing nic..
amr-it

I'm not sure i have a solution, but i'm sure that a gateway on both is net the way.
did you try to ad a route on each server as this on the first:
route add -p 10.10.11.11 mask 255.255.255.0 10.10.11.10
Your help has saved me hundreds of hours of internet surfing.
fblack61
meagord

ASKER
No idea how to "add a route".

All I've done is change the values in the network interface/ip4 settings.
amr-it

remove gateways from private nic's

type in command promt on server 1 -  route add -p 10.10.11.11 mask 255.255.255.0 10.10.11.10

type in command promt on server 2 -  route add -p 10.10.11.10 mask 255.255.255.0 10.10.11.11
meagord

ASKER
No difference, it still says "Unidentified Network".
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
meagord

ASKER
I changed the unidentified network to be a Private network and now I can ping the other server but file transfers all go through the slow public nic rather than the direct connection (even after your routing commends.)

I also disabled the firewall for that nic on both machines.
ASKER CERTIFIED SOLUTION
meagord

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.