INTERACT FORUM

Please login or register.

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

Author Topic: DLNA filter format?  (Read 1564 times)

LeoH

  • Regular Member
  • World Citizen
  • ***
  • Posts: 109
DLNA filter format?
« 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.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13859
Re: DLNA filter format?
« Reply #1 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.
Logged

LeoH

  • Regular Member
  • World Citizen
  • ***
  • Posts: 109
Re: DLNA filter format?
« Reply #2 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.

Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42344
  • Shoes gone again!
Re: DLNA filter format?
« Reply #3 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
Logged
Matt Ashland, JRiver Media Center

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13859
Re: DLNA filter format?
« Reply #4 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.
Logged

LeoH

  • Regular Member
  • World Citizen
  • ***
  • Posts: 109
Re: DLNA filter format?
« Reply #5 on: November 05, 2013, 11:14:03 am »

Many thanks for the subnet mask refresher, now I remember.
Logged
Pages: [1]   Go Up