Jump to content

Hi!

 

I have one pc and one server. Both have 2 gigabit ethernet connections to my lan network.

 

I have purchased 2 10gbe fiber nics and have ran a cable between the 2 computers.

 

How can I set it up so that for my PC, when it accesses the servers files (mainly transferring large files and watching plex), it goes through the dedicated 10gbe nic, and when I use the internet it goes through the gigabit ethernet?

 

I do not have a 10gbe switch so I don't have the option of having the fiber being able to access the internet. It is just ran straight from pc to server.

 

Thanks!

Intel i7 3770k @ 4.5GHz, Gigabyte GA-Z77X-UD5H, Gigabyte GTX 770 4GB Windforce, 16GB G.Skill - NT 1600MHz, 250GB Samsung Evo SSD, 2x 1TB Seagate HDD, Corsair H100i CPU cooler w/Noctua Fans, 4x SP120, Fractal Design Define R4, LG W224T, Func MS-3, Apple Numeric Keyboard


-   BBR4 Hackintosh   - Server Rig

Link to comment
https://linustechtips.com/topic/440382-setting-up-multiple-nics-for-files/
Share on other sites

Link to post
Share on other sites

I'm not too familiar with this type of setup, and others may be able to provide you with more info. But I'll provide you with some personal knowledge that may or may not be correct.

 

You could try some type of switch software on the server to act as a switch/router to allow the connections to work. Basically, with the way your doing it, some type of software, or windows config would need to be done to get it up and working. However, that depends on your OS and what software options there are out there -- you may end up requiring a switch for a 10GB NIC cards.

 

Good luck with the setup, I'm sure more people will post after me with more in-dept info. Also, Google is your friend in the meantime, as you will likely not be given a play-by-play on how to set it up, just basic knowledge to point you in the right direction. 

Link to post
Share on other sites

Installing ForceBindIP

Head over to the ForceBindIP download page, and grab a copy of the zipped version.

image9.png

Once it has downloaded, extract the contents of the zip file.

image10.png

You will need to copy both files.

image11.png

Then paste them in:

C:\Windows\System32

image12.png

Now press the Win + R keyboard combination and type cmd into the run box, then press enter.

image13.png

When the command prompt opens, run the following:

cd C:\Windows\System32

image14.png

Now we can bind an application to a network adapter, to do this type:

ForceBindIP %NetworkCardsIP% %PathToProgram%

For example:

ForceBindIP 127.0.0.1 “C:\Program Files (x86)\Mozilla Firefox\firefox.exe”

This assumes:

  • The network card you want to bind the application to has an IP of 127.0.0.1
  • The program you want to bind to that network card is Firefox.

image17.png

Just a few things to remember:

  • You have to give the full path to your program.
  • If the path contains spaces, enclose it in quotes.
  • You will have to launch the program via this method every time you want to bind it to that network card.

That’s all there is to it.

 

Link to post
Share on other sites

I stand corrected, looks like  MatthewEnderle was able to provide you a step-by-step with a software solution, awesome! Good luck with the setup and be sure to post back with some speed results. It would be interesting to see some real world speeds you are able to pull off.

 

Keep in mind, that the bottle neck of the speeds would now be based on both the computer & server specs. Mainly the hdds(or ssds) and processor.

Link to post
Share on other sites

I wouldn't go through using this type of software since it isn't needed. The easiest thing to do is to set up a small network consisting of just the PC and the server on the 10Gb NICs. So your setup would look like this:

  • PC
    • 1Gb NIC - connected to regular network with DHCP, such as 192.168.1.105 or etc
    • 10Gb NIC - connected to server directly, setup to have a static IP - such as 10.0.0.1
  • Server
    • 1Gb NIC - connected to regular network with DHCP, such as 192.168.1.2 or etc
    • 10Gb NIC - connected to PC directly, setup to have a static IP - such as 10.0.0.2

The IPs used won't matter, so long as the 1Gb and 10Gb are different subnets. When you try to access anything from a computer, it will first look to see if the IP you are accessing is directly on one of it's networks, like 10.0.0.* or 192.168.1.* . If the destination is on the same network, it just sends it directly over whatever NIC/Network is proper. When the device finds that the destination isn't directly on one of it's networks, it will send it to whatver default gateway it has defined. You will get a default gateway set up on teh 1Gb NICs through DHCP or manual settings, and the default gateway would be going to your router. You wouldn't set a default gateway on the 10Gb NICs since A) you don't want internet traffic going over it, and B) if the traffic was sent from the PC to ther server of the server to teh PC, it wouldn't ever end up going to the internet (unless you make your server also do routing functions, which is possible but there's no reason to do that here)

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to post
Share on other sites

/snip

 

Thanks, I will be trying this after brwainer's.

 

/snip

Haha i didnt expect that either :P I will be sure to update this thread when I get my nics

 

/snip

Thanks! I will be trying this first, hopefully it works fine :D

Intel i7 3770k @ 4.5GHz, Gigabyte GA-Z77X-UD5H, Gigabyte GTX 770 4GB Windforce, 16GB G.Skill - NT 1600MHz, 250GB Samsung Evo SSD, 2x 1TB Seagate HDD, Corsair H100i CPU cooler w/Noctua Fans, 4x SP120, Fractal Design Define R4, LG W224T, Func MS-3, Apple Numeric Keyboard


-   BBR4 Hackintosh   - Server Rig

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×