tell qc to route to specific ip-adress and connection?

elementdns's picture

hey there,

i want to tell qc to specifically talk to 10.0.0.2 (ethernet, en01) nothing else, even while the wifi/airport is listening/talking via f.e. 195.168.1.10.

Any ideas?

regards, dennis

scalf's picture
Re: tell qc to route to specific ip-adress and connection?

On a similar note, would there be anyway to route the ip address of say an "OSC Sender" patch to the top of a composition and access it that way?

elementdns's picture
Re: tell qc to route to specific ip-adress and connection?

Hi! I don't think that might really do. i'm using artnet tools, which following the artnet specs use the non routable address range. in my case 10.0.0.1 for the enttec ode and 10.0.0.2 for the mac.

What bugs me is the issue with two tcp connections. The first one (ethernet) is used to talk to the ode, and the second one is used to connect to WAN (regular 192.168.1.4)

so, when both connections are active, qc seems to prefer the "wi-fi/WAN" connection and stumbles to say hello to the ode.

i want to vnc into the mac (therefore the Wan connection), because i'm too lazy to walk each time! :) BUT i need the artnet tools to squawk DMX. otherwise i won't even have to sit down to walk afterwards, so to say.

i posted this in the past before, but is anyone aware of ip-routing in osx for single apps?!

cheers, dennis

smokris's picture
Re: tell qc to route to specific ip-adress and connection?

@scalf: Unfortunately, no, because the OSC Sender patch doesn't expose those settings as input ports. (This is why Kineme patches avoid placing parameters in the 'Settings' panel --- the whole point of QC is being able to modulate input ports, yet many of QC's own patches violate that premise.)

@elementdns: For Art-Net, at least, no, you can't restrict that. The Art-Net protocol specifies that packets are to be sent in broadcast mode. That said, every time I've used the Kineme ArtNetTools patches (both during development and when using it in live shows), it's been on a workstation with multiple IP address aliases — the primary network address for a normal local network (for internet access and remote control of the workstation), and an alias for the Art-Net-specific broadcast space. The network stack automatically routes the Art-Net broadcast packets to the correct interface.

So I can confirm that Kineme Art-Net Tools works in that scenario. Are you getting any console messages when opening your composition? Art-Net Tools outputs console messages when the operating system doesn't allow opening the network ports it needs.

franz's picture
Re: tell qc to route to specific ip-adress and connection?

I confirm I can broadcast Artnet packets through my ethernet while surfing through the Wifi, on my MBP.

On my MacPro with 2 ethernet cards, one can send Artnet packets, one can be connected to my intranet at the office, while I can surf with Wifi, all three simultaneously.

No need for some "routing", it just works out of the box.

gtoledo3's picture
Re: tell qc to route to specific ip-adress and connection?

I can reconfirm that from having had wi-fi and artnet tools setup on dozens of dif computers, leopard, sl, lion, since artnet tools has been available. I remember a gig where someone was having trouble, and thought that would be the solution, but they were doing something that was out of the artnet spec on the ip ranges they were picking, had nothing to do with the wi-fi.