Question

Locked

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.

2 total posts (Page 1 of 1)  
| 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 10.0.0.1 (Server IP) Mask 255.255.255.255 10.0.0.2 (Client IP) metric 1 -p

What we're saying here is (on the client) to get to 10.0.0.1, which is the server crossover NIC's IP in this example, go through 10.0.0.2 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.

Back to Networks Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums