2 Nics - one for LAN, one for Crossover

By BubbaGlock ·
I have 2 PCs, (XP and 03 server). BOTH have two nics in separate slots. I am using one nic in each for LAN connectivity. I want to use the other nics for a crossover connection between the two for the purpose of throughput testing, because our LAN (administered by the PRIMARY admin) has been giving smb errors and corrupting the data transmission between my two boxes, causing downtime for my critical app.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Hosts file and static route

by itmanagement In reply to 2 Nics - one for LAN, one ...

Not sure about the transmission errors but here is how you could achieve what you want to:

Give the crossover NIC a static IP address and subnet mask. Do not set a default gateway on this NIC on either the server or the client.

Create an entry in the hosts file (C:\Windows\System32\drivers\etc\hosts) called MYSERVERNAME and type the crossover NIC ip address into it. It will resolve this first before going to DNS.

Do the same on the server.

Then on each machine, create a route to allow the machine to send traffic to it's partner over the crossover link.

Command for this would be:
route add (Server IP) Mask (Client IP) metric 1 -p

What we're saying here is (on the client) to get to, which is the server crossover NIC's IP in this example, go through which is the Client's crossover NIC ip address. The -p means make it persistent so it's there after reboot.

Let me know how you get on.

Related Discussions

Related Forums