Author Topic: Choosing NIC for multicast traffic  (Read 2491 times)

Offline n8huntsman

  • Newbie
  • *
  • Posts: 28
    • View Profile
Choosing NIC for multicast traffic
« on: January 29, 2017, 07:12:28 PM »
I have a dual NIC.  I use one for all the multicast E1.31 traffic and the other to connect to my home LAN and internet.  This allows my to remote in an check on things periodically while shows are running, and also keeps the multicast from bogging down my LAN.  I've looked everywhere and don't see a way to select a NIC for multicast.  Is this possible?  If not what's the alternative?  VLAN?
Thanks

Offline n8huntsman

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Choosing NIC for multicast traffic
« Reply #1 on: February 05, 2017, 09:35:27 AM »
So I guees by no reply that there is no way to select which network interface you're using?  Does anyone else connect their show machine to the LAN so they can remote in?

Offline jnealand

  • Hero Member
  • *****
  • Posts: 1421
    • View Profile
Re: Choosing NIC for multicast traffic
« Reply #2 on: February 05, 2017, 01:44:32 PM »
My show machine the last couple of years has been a Raspberry Pi.  I use two routers, both with wifi.  One for the home network and one for the show network.  The show network wan port is connected to a lan port on the home network.  I can check on the master Pi and any remote Pis by wifi connecting to the show network router or from any computer on the home network by using a route command to let me access the show network from the home network.  All my slave Pis are running multicast except for the ones configured for P10 panels.
Jim Nealand
Kennesaw, GA

Offline Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: Choosing NIC for multicast traffic
« Reply #3 on: February 05, 2017, 01:53:08 PM »
I use wifi to remote in (pi). There is no need to setup NIC for multicast. You can have a network with devices setup for unicast, multicast, etc. So, just give the NIC an address and you are done.

Sent from my Pixel using Tapatalk


Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Choosing NIC for multicast traffic
« Reply #4 on: February 05, 2017, 02:39:42 PM »
I have looked into this several times and I cannot find a way to enumerate and select which Nic to use. The best we can tell you is is check sequence which one was chosen.

Offline n8huntsman

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Choosing NIC for multicast traffic
« Reply #5 on: September 17, 2017, 12:04:04 PM »
Finally getting around to testing with a real sequence on my show computer.  I have one NIC connected to my LAN so that I can remote into the show computer.  The other NIC is connected to my E1.31 network.  I know it's not ideal but both networks are on the same subnet.  I obviously dont want to change my LAN and all the static IP's that are on it.  I would change my e1.31 devices to a new subnet but for some reason I lost the ability to connect to the server of two of my e682 sandevices and can't change the IP.

When I use the xlights test program to test output I get nothing.  Pulling the LAN cable from the computer the lights come on but of course my remote session ends.  Reinsert the LAN cable and the lights stop functioning.  Is this typical?  Is there anyway to allow both to be connected at the same time?
« Last Edit: September 17, 2017, 12:12:55 PM by n8huntsman »

Offline n8huntsman

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Choosing NIC for multicast traffic
« Reply #6 on: September 17, 2017, 12:08:48 PM »
To add one more bit, I connected the LAN to my e1.31 switch and now I can control my lights and remote in at the same time but of course, now Im sending multicast traffic all over my LAN.  I'd like to avoid this if possible.  Any way of accomplishing this?
Thanks

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Choosing NIC for multicast traffic
« Reply #7 on: September 17, 2017, 12:56:54 PM »
I have looked into this several times and I cannot find a way to enumerate and select which Nic to use. The best we can tell you is is check sequence which one was chosen.

I have some code that enumerated the adapters so I could select one for opening a port but it was in c#.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Choosing NIC for multicast traffic
« Reply #8 on: September 17, 2017, 01:29:43 PM »
On settings menu is a force local ip. When set xlights will use the adapter with that IP address to send out data. If that ip is not present then no data will be sent at all. This is the only operating system agnostic way I could find to solve this problem.

Offline n8huntsman

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Choosing NIC for multicast traffic
« Reply #9 on: September 19, 2017, 05:25:15 PM »
On settings menu is a force local ip. When set xlights will use the adapter with that IP address to send out data. If that ip is not present then no data will be sent at all. This is the only operating system agnostic way I could find to solve this problem.

Perfect!  This did exactly what I needed.
Thanks!

Offline n8huntsman

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Choosing NIC for multicast traffic
« Reply #10 on: October 22, 2017, 07:40:19 PM »
Worked great until I tried the scheduler.  How do I accomplish the same thing in the scheduler.  Can't find the comparable setting

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Choosing NIC for multicast traffic
« Reply #11 on: October 22, 2017, 08:21:51 PM »
Worked great until I tried the scheduler.  How do I accomplish the same thing in the scheduler.  Can't find the comparable setting
Scheduler should use the same setting. Run check schedule to check.

Offline n8huntsman

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Choosing NIC for multicast traffic
« Reply #12 on: October 22, 2017, 11:12:27 PM »
"Checking schedule.

IP Address we are outputing data from: 192.168.1.215
If your PC has multiple network connections (such as wired and wireless) this should be the IP Address of the adapter your controllers are connected to. If it isnt your controllers may not receive output data.
If you are experiencing this problem you may need to disable this network connection."

However, in xlights I have the "force local IP" set to "192.168.1.200"

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Choosing NIC for multicast traffic
« Reply #13 on: October 23, 2017, 12:36:57 AM »
Checked the fixes ... this has been fixed but has not been released yet.

Offline n8huntsman

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: Choosing NIC for multicast traffic
« Reply #14 on: October 23, 2017, 09:27:55 AM »
Awesome.  Sounds like the fix will be released shortly but in the meantime, is there a config file that I can manually change or some other way to get it working for Halloween?