INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to force use of IP address in multi NIC setup?  (Read 2720 times)

sirkus

  • World Citizen
  • ***
  • Posts: 121
How to force use of IP address in multi NIC setup?
« on: June 02, 2013, 01:25:55 pm »

Hello, I have 2 LAN cards in my MC client/server setup, on 2 different subnets. How can I be sure that MC uses the desired subnet? It asks only for the access key when connecting to server's library.
Logged

Boltron

  • Junior Woodchuck
  • **
  • Posts: 94
Re: How to force use of IP address in multi NIC setup?
« Reply #1 on: June 02, 2013, 02:41:20 pm »

You will most likely need to configure Windows networking to do this via the route command. This is done from the command line and you must use an Elevated (run as administrator) command prompt.

Some examples:
1) To force all network traffic to NIC with IP of 192.168.2.1:
route add 0.0.0.0 mask 0.0.0.0 192.168.2.1

2) To clear the route from above:
route delete 0.0.0.0 mask 0.0.0.0 192.168.2.1

3) To send network traffic for IP 216.151.153.84 via NIC 192.168.2.1:
route add 216.151.153.84 mask 255.255.255.255 192.168.2.1

The route command is not for the faint hearted though, I dread whenever I need to use it ;)
Logged
For every expert, there is an equal and opposite expert.

sirkus

  • World Citizen
  • ***
  • Posts: 121
Re: How to force use of IP address in multi NIC setup?
« Reply #2 on: June 02, 2013, 04:27:56 pm »

Thanks, it helps me for Windows configuration. But, how can I tell to MC which subnet (NIC) to use (both exist in all my systems)?
Logged

Boltron

  • Junior Woodchuck
  • **
  • Posts: 94
Re: How to force use of IP address in multi NIC setup?
« Reply #3 on: June 02, 2013, 05:26:47 pm »

Presumably you are configuring MC18 to access your media on some other system like a NAS for example. I assume both NICs can access that system so when MC18 opens a video or sound file it will seemingly randomly choose one NIC over the other. I gather that you would like it to favor one of the NICs.

- When you setup JRiver, use the network name of the NAS (ex. \\nas1\movies).
- Create a route as above to send network traffic for nas1 via the NIC you prefer (in our case 192.168.2.1).
route add <NAS1-IP> mask 255.255.255.255 192.168.2.1
- Now when MC18 reads from NAS1, Windows will force traffic over the 192.168.2.1 NIC.

Without the route command, that NAS1 traffic may be routed to either NIC. MC18 does not have the ability to choose a specific NIC, it just uses the operating system network stack. Windows will actually choose what goes over which NIC based on the routing table and maybe a few other parameters.

Is this making sense or did I not understand your question?
Logged
For every expert, there is an equal and opposite expert.

sirkus

  • World Citizen
  • ***
  • Posts: 121
Re: How to force use of IP address in multi NIC setup?
« Reply #4 on: June 02, 2013, 07:10:17 pm »

Exactly, I use one NIC for OS (backups, Internet, remote access, etc...) and another one for multimedia streaming. I didn't saw that you can enter a network address instead of the access key  :-[
But, now I have another problem. The client hangs when trying to connect, if the server library access is password protected (Windows Server 2012)? Any idea?
Logged

stevemac

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 303
Re: How to force use of IP address in multi NIC setup?
« Reply #5 on: June 03, 2013, 02:16:12 am »

Hi,

There are some comments in another thread regarding stability issues with WD TV Live and multple NICs & how they were addressed.  See bottom of page 2 / beginning of page 3 for details

http://yabb.jriver.com/interact/index.php?topic=73744.50

hope it helps,

Steve
Logged
Pages: [1]   Go Up