2 Leased Machines, How do I configure Private Network

Posted on 2006-04-13
Last Modified: 2010-03-19
I'm really a software developer but we're leasing two machines in a datacentre to host our software.
They are both Windows 2003 servers and both have 2 network cards. 1 each to connect to the network and the other one connected with a cross cable to each other.
I want to be able to configure a private network between the two machines but I don't even know how to allocate an IP address to the private NIC cards. Each machine has 5 IP Addresses each. I would also like to at a later date to have VPN connections into this private network from our local machines.
Thanks for any help.

Question by:homedaq
    LVL 27

    Accepted Solution

    On the two NICs connected to each other with a crossover cable, in the TCP/IP properties, enter a "static IP" - not dynamic.

    On Machine1

    On Machine2

    This assumes you're not using a network anywhere else.  I would not put a default gateway on them, because you don't want to do any default traffic out these interfaces, you only want traffic which is specifically going to the other machine.

    That's all you have to do.  The machines will learn of directly attached networks and will be able to talk to each other.

    If you want to make it a little easier for yourself, you could modify the hosts file at,
    You could put in a name for the other machine and the IP address       Othermachinename

    Then you could refer to the other machine by it's name "Othermachinename" instead of the IP - this is a better way to code - to request a variable name for the other machines and then have the code refer to that machine name - that way end users can change IP's without affecting code.

    Hope this helps.


    Author Comment

    Should I use one of my allocated IP on each machine would this be safer in the long run.
    LVL 27

    Expert Comment


    I'm assuming you're going to use your other allocated IP's on your other NIC's right?  Odds are they're in the same network.  

    You want private IP's which the servers will know about and not route out their default gateways (your other NICs)

         |                                             |
    Allocaed IP1                          Allocated IP2                

    Server1                                    Server2

     PrivateIP1                                   PrivateIP2 Crossover Cable----

    Author Comment

    Thanks for help.
    LVL 27

    Expert Comment

    You're welcome.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    What is IRC? IRC (Internet Relay Chat) is a form of communication between multiple users. It is available freely to anyone with inernet access. IRC is a great way to communicate with others e.g. There is an IRC channel for Ubuntu Linux, which is fo…
    This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
    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…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    758 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

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now