Multi-NIC PMS - Cannot get PLEX to run on primary NIC

For some reason PLEX remote access will bind to my secondary NIC. I’ve changed all the options in windows to use my primary NIC (disabled auto-metic), but no matter what I do, Plex will only bind to the secondary NIC.

Any way around this?

What version of Windows are you running?

Have you set the binding order of the NICs under the advanced NIC settings?

@kgarland80 said:
What version of Windows are you running?

Windows 10E

@kgarland80 said:
Have you set the binding order of the NICs under the advanced NIC settings?

Yup.

On windows it is possible to ignore network interfaces

Make sure there is no gateway specified for the network interfaces Plex Media Server is to ignore

@sa2000 said:
On windows it is possible to ignore network interfaces

Make sure there is no gateway specified for the network interfaces Plex Media Server is to ignore

Well I need that interface to work for other applications running.

@seanvree@hotmail.com said:

@sa2000 said:
On windows it is possible to ignore network interfaces

Make sure there is no gateway specified for the network interfaces Plex Media Server is to ignore

Well I need that interface to work for other applications running.

I have never tried it but would a static IP without a gateway value not work ? Having also the external DNS servers defined

@sa2000 said:

@seanvree@hotmail.com said:

@sa2000 said:
On windows it is possible to ignore network interfaces

Make sure there is no gateway specified for the network interfaces Plex Media Server is to ignore

Well I need that interface to work for other applications running.

I have never tried it but would a static IP without a gateway value not work ? Having also the external DNS servers defined

Well, I’m not sure, but if you didn’t put a gateway, that would make the NIC not work, correct?

Not sure - I thought if you have manual configuration then no need for gateway

Google search shows a lot of hits on subject

Why not try it

ifIndex InterfaceAlias AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp ConnectionState PolicyStore


6 VirtualBox Host-Only Network #2 IPv6 1500 25 Enabled Connected ActiveStore
3 VirtualBox Host-Only Network IPv6 1500 25 Enabled Connected ActiveStore
12 Bluetooth Network Connection IPv6 1500 65 Disabled Disconnected ActiveStore
1 Loopback Pseudo-Interface 1 IPv6 4294967295 75 Disabled Connected ActiveStore
15 S1219 IPv6 1452 3 Disabled Connected ActiveStore
6 VirtualBox Host-Only Network #2 IPv4 1500 25 Disabled Connected ActiveStore
3 VirtualBox Host-Only Network IPv4 1500 25 Disabled Connected ActiveStore
7 tap IPv4 1500 35 Enabled Disconnected ActiveStore
12 Bluetooth Network Connection IPv4 1500 65 Enabled Disconnected ActiveStore
8 V1211 IPv4 1500 10 Ena bled Connected ActiveStore
1 Loopback Pseudo-Interface 1 IPv4 4294967295 75 Disabled Connected ActiveStore
15 S1219 IPv4 1500 2 Enabled Connected ActiveStore

The IP address of S1219 is 192.x.x.20
The IP adress of V1211 is 192.x.xx.22

So you’ll see the S1219 is first in priority for both IPv4 and IPv6 (5th Column).

So why is it using the IP for V1211?!?

I believe that if your second NIC is a virtualized NIC, then it will never come up 1st on the list as the primary will always be the physical NIC that is going to be bound first by design. Thus anything external will see it first… I believe…

If you run a NIC without a gateway then all traffic on that NIC will route over any other NIC available that has a configured gateway. If you wish to route traffic over the NIC that does not have a gateway you will need to configure static routes on that NIC interface to the device you wish to communicate with. For example, if you wish to use a second NIC without a gateway to communicate with your NAS then you would enter a static route on the NIC for the IP of that NAS device and all traffic would route over that NIC for that NAS device.

For plex media server also make sure IPv6 is disabled in settings / server / network / show advanced and with only the primary interface having a gateway, plex media server will use that. You will need to restart plex media server or wait until the changes are detected and then disable and re-enable remote access

@kgarland80 said:
I believe that if your second NIC is a virtualized NIC, then it will never come up 1st on the list as the primary will always be the physical NIC that is going to be bound first by design. Thus anything external will see it first… I believe…

If you run a NIC without a gateway then all traffic on that NIC will route over any other NIC available that has a configured gateway. If you wish to route traffic over the NIC that does not have a gateway you will need to configure static routes on that NIC interface to the device you wish to communicate with. For example, if you wish to use a second NIC without a gateway to communicate with your NAS then you would enter a static route on the NIC for the IP of that NAS device and all traffic would route over that NIC for that NAS device.

It’s not a virtualized NIC, it’s a physical 1GB Intel NIC

Yeah, I shouldn’t have to do any routing. Again, the PMS is running on the Windows box with 2 physical INTEL 1GB NICs. I simply want PLEX to use the primary NIC that has the lowest metric…like all of the other windows programs do. I know how to do static routes to external IPs from specific internal IPs, but not for a specific port which PMS runs on.

So, I’m confused?

@sa2000 said:
For plex media server also make sure IPv6 is disabled in settings / server / network / show advanced and with only the primary interface having a gateway, plex media server will use that. You will need to restart plex media server or wait until the changes are detected and then disable and re-enable remote access

Right, so again, if I configure the second NIC to NOT have a gateway, all of the my other applications that use that NIC for traffic will not work, and route all traffic thru the primary NIC, which totally defeats the purpose of having two NICs.

If I stop PMS, then disable the second NIC, then restart PMS, it will bind to the primary NIC, then I can re-enable the second NIC and everything will work fine. Until I reboot the computer.

@“seanvree@hotmail.com”

I was wondering, do you mind adding back the gateway to your second NIC, then setting the gateway metric on both NICs so that your primary NIC has a lower metric than the secondary NIC?

This article might be of assistance: https://superuser.com/questions/198544/how-does-windows-7-decide-which-route-to-take-if-2-connections-to-an-internet-so

@chrisallen said:
@“seanvree@hotmail.com

I was wondering, do you mind adding back the gateway to your second NIC, then setting the gateway metric on both NICs so that your primary NIC has a lower metric than the secondary NIC?

This article might be of assistance: How does Windows 7 decide which route to take if 2 connections to an internet source exist? (e.g. a Wireless and an Ethernet one to a router) - Super User

Yeah, that’s where I have it by default. and for some reason, PMS is binding to the HIGHER metric NIC?

Christmas has come early ! The feature of allowing the user to select a specific network interface is now available as from Plex Media Server version 1.13.5.5291 which was released to Plex Pass beta yesterday

See Release Note Plex Media Server

  • Allow picking a specific network address to bind to (#8492)

Details of the new Advanced Network server setting can be found on this support article https://support.plex.tv/articles/200430283-network/

Please pay attention to the associated notes