INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: LeoH on November 04, 2013, 04:37:28 pm

Title: DLNA filter format?
Post by: LeoH on November 04, 2013, 04:37:28 pm
Under 'Options'; 'Media Network'; 'Advanced'; 'Interfaces to ignore (list of network/bits):' what is the exact format of the network/bits entry for a DLNA-enabled device such as my LG Smart TV? Thx.
Title: Re: DLNA filter format?
Post by: bob on November 04, 2013, 05:58:04 pm
These are interfaces for MC's DLNA services to ignore on the MC PC.

For example, I have several interfaces, an ethernet, a virtualbox interface, vpn, etc.
Say I want to ignore the virtualbox interface.
if I go to a cmd box on windows and do
ipconfig
I see amongst others a virtual box interface with an address of
192.168.0.1
and a netmask of 255.255.255.0

This translates to
192.168.0.1/24
in the interfaces to ignore list.
Title: Re: DLNA filter format?
Post by: LeoH on November 04, 2013, 06:54:29 pm
Many thanks for the quick reply. But just one more question, I assumed the local IP address was part of it, but how does the network mask translate to the '/bits' bit? That is, by what formula does one translate 255.255.255.0 to '/24' to append to the IP address?

Also, wouldn't this ignore list also ignore any IP address/bits on a local network in addition to interfaces on the PC running MC?

Thx.

Title: Re: DLNA filter format?
Post by: Matt on November 04, 2013, 07:15:22 pm
Many thanks for the quick reply. But just one more question, I assumed the local IP address was part of it, but how does the network mask translate to the '/bits' bit? That is, by what formula does one translate 255.255.255.0 to '/24' to append to the IP address?

I'm in a little over my head, but this might help:
http://en.wikipedia.org/wiki/Subnetwork
Title: Re: DLNA filter format?
Post by: bob on November 04, 2013, 10:34:19 pm
Many thanks for the quick reply. But just one more question, I assumed the local IP address was part of it, but how does the network mask translate to the '/bits' bit? That is, by what formula does one translate 255.255.255.0 to '/24' to append to the IP address?
Just a quick note, each 255 above is 8 binary bits. 8+8+8+0 = 24. Start at the most significant end. 
If it was 255.255.255.224 (another common one) it would be 8+8+8+3 = 27 bits (224 = 11100000).
If it was 255.0.0.0 that would be 8.
Quote
Also, wouldn't this ignore list also ignore any IP address/bits on a local network in addition to interfaces on the PC running MC?
I don't think so. The purpose is avoid broadcasting and receiving broadcasts for SSDP discovery on the interfaces in the list.
Title: Re: DLNA filter format?
Post by: LeoH on November 05, 2013, 11:14:03 am
Many thanks for the subnet mask refresher, now I remember.