vMix Forums
»
General
»
NDI
»
I have two networks. Which one will NDI use?
Rank: Advanced Member
Groups: Registered
Joined: 8/2/2013(UTC) Posts: 1,073 Location: Fairhope, Alabama USA Thanks: 555 times Was thanked: 200 time(s) in 166 post(s)
|
I have two networks.
Net1 is a 100Mbps and has internet. Net2 is 1Gbps and has no internet. PC1 and PC2 are connected to both.
I want NDI traffic on Net2 to/from PC1 & PC2. I want internet traffic on Net1 to/from PC2 (stream)and PC1 (Skype).
Obviously I don't want Net1 to carry NDI traffic, but...
1. How do I know? 2. How can I assign?
Am I going about this the wrong way?
- Tom
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/2/2013(UTC) Posts: 1,073 Location: Fairhope, Alabama USA Thanks: 555 times Was thanked: 200 time(s) in 166 post(s)
|
As a corollary to those questions, when using vMix on this dual network setup, vMix appears to be looking on Net2 for content of the Web Browser Input, hence no content. Only way to get content would be to use Net1. But don't want Net1 to be used for NDI.
Ideas on what to do?
Clear as mud, I'm sure.
- Tom
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/3/2015(UTC) Posts: 323 Location: Chicago, IL
Thanks: 22 times Was thanked: 57 time(s) in 47 post(s)
|
Do you have 2 Ethernet ports on the PC? I have an Asrock Motherboard that uses 1 port for Live Web Streaming specifically. And the second port drives my WAN for vMix Web Controllers and Tally Lights. You can specify a separate IP address for each NIC and funnel traffic that way...
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/2/2013(UTC) Posts: 1,073 Location: Fairhope, Alabama USA Thanks: 555 times Was thanked: 200 time(s) in 166 post(s)
|
Cpilcher wrote: You can specify a separate IP address for each NIC and funnel traffic that way... Yes, dual NIC's. PC1 - one on the MB and one on a PCIe card. PC2 - one on the MB and one via USB3.0 NIC adapter. Funnel? Gotta remember, I'm an idiot! My PC did not come with a funnel. - Tom
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/3/2015(UTC) Posts: 323 Location: Chicago, IL
Thanks: 22 times Was thanked: 57 time(s) in 47 post(s)
|
Ha.
I'm not near the Production PC, and to be honest I just upgraded to Windows 10, so I'm not sure how different the settings will be...
But in Network Settings there should be the devices listed as NIC1 & 2. You can change the IPv4 (I think) settings for each NIC to keep the Internet traffic on NIC1, and the NDI traffic on NIC2 which only sees NET2, and Vice Versa.
Chuck
Edit: I see now the problem is getting vMix to see NET2... And I have yet to play around too much with the NDI features, but it has worked fine on my PC when doing a desktop capture over the same network.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2013(UTC) Posts: 280 Location: Poland Thanks: 29 times Was thanked: 40 time(s) in 37 post(s)
|
Tom,
Why do You need to use two networks?
Connect PC1 & PC2 and internet connection to a gigabit switch and that is it.
Gigabit switch carries NDI traffic + uses only maximum of 100 mb traffic to carry the internet.
And what is your real internet traffic? 10 mbps? 20? Even if it is almost 100 mbps, You still have 900+ mbps for NDI.
RafaĆ
P.S. I've had lots of issues when using multiple networks connected to one PC.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/9/2013(UTC) Posts: 261 Location: Katy, Texas
Was thanked: 37 time(s) in 37 post(s)
|
I can see myself running into similar issues in remote locations. My internet connection on the vMix PC will be through a usb or wireless connection to my iPhone acting as a hotspot. At the same time, I could have a second computer running title overlays and graphics to be fed into the vMix PC through a gigabit LAN. I haven't figured out a way to connect the iPhone hotspot directly to the LAN.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2013(UTC) Posts: 280 Location: Poland Thanks: 29 times Was thanked: 40 time(s) in 37 post(s)
|
Kelvin wrote:I haven't figured out a way to connect the iPhone hotspot directly to the LAN. Get the 4G router, really :) I use a Huawei b593 with external 12v power bank and its great. You can also get a simple wireless router, and connect it to your LAN and then set it to a mode, that wirelessly gets your iPhones hotspot internet. It's a bridge mode, if I remember it right.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/2/2013(UTC) Posts: 1,073 Location: Fairhope, Alabama USA Thanks: 555 times Was thanked: 200 time(s) in 166 post(s)
|
r@wisla wrote:Tom,
Why do You need to use two networks?
Connect PC1 & PC2 and internet connection to a gigabit switch and that is it.
Gigabit switch carries NDI traffic + uses only maximum of 100 mb traffic to carry the internet.
And what is your real internet traffic? 10 mbps? 20? Even if it is almost 100 mbps, You still have 900+ mbps for NDI.
RafaĆ
P.S. I've had lots of issues when using multiple networks connected to one PC. I may just have to try this. Thanks! - Tom
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 5/18/2016(UTC) Posts: 3
|
I have a similar scenario. One network which is my LAN and another specialty vlan for connecting some remote NDI gear on the same layer 2 subnet. I have also ran into the issue where vMix seems to pick one of the 2 subnets and only provide NDI access through it. I would add that my TriCaster can see the sources on both subnets. With such a new technology, and such rapid adoption, i'm shocked this stuff is as solid as it is. :) Ran a 5 camera production this past weekend using 2 SDI on a TriCaster and 3 SDI to vMix which sent it NDI to TriCaster. Completely flawless. :) Amazing product.
Thanks!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/21/2015(UTC) Posts: 324 Location: Cornwall, Ontario, Canada Thanks: 18 times Was thanked: 80 time(s) in 60 post(s)
|
sinc747 wrote:I have two networks.
Net1 is a 100Mbps and has internet. Net2 is 1Gbps and has no internet. PC1 and PC2 are connected to both.
I want NDI traffic on Net2 to/from PC1 & PC2. I want internet traffic on Net1 to/from PC2 (stream)and PC1 (Skype).
Obviously I don't want Net1 to carry NDI traffic, but...
1. How do I know? 2. How can I assign?
Am I going about this the wrong way?
- Tom
Tom, This cannot be done to my knowledge, as quoted per Newtek NDI SDK, Quote:Basically, NDI networking consists of just two operations:
1. It detects other NDI sources on the network using mDNS. mDNS uses port 5353. 2. It establishes direct communication between sources using ports provided by the operating system. In Microsoft Windows, for example, you can determine what range of port numbers might be used with:
netsh int ipv4 show dynamicport tcp
High port numbers are relatively common. On modern OSes the port numbers typically start around 49000. if you want vMix to be able see NDI Sources on Net 1 you need to have the port that NDI uses be enabled on both networks, Net 2 needs to see NDI Source coming from vMix also, unless there is a way to make port only visible to vMix and NDI Sources... Here is a link which explains what port are being used for.... https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers...
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/2/2015(UTC) Posts: 364 Location: Sydney Thanks: 283 times Was thanked: 76 time(s) in 62 post(s)
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 10/18/2015(UTC) Posts: 185 Location: Newcastle NSW Australia
Thanks: 2 times Was thanked: 44 time(s) in 33 post(s)
|
Which NIC a program will use is based on the METRIC in the route table.
All IP devices have a route table inside.
For windows, go to the command prompt and type:
route print
Then you have to determine the IP destination by looking at the Network Destination list and Subnet. Then which ever has the lowest metric will have priority for that route.
You can change the metric and setup routing using that "Route" command.
This is advanced networking so you might have to read up more on route tables.
That is if NDI uses layer 3 (IP layer). If it uses layer 2 then the route table may not affect it?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/2/2013(UTC) Posts: 1,073 Location: Fairhope, Alabama USA Thanks: 555 times Was thanked: 200 time(s) in 166 post(s)
|
mashynewie2 wrote:Which NIC a program will use is based on the METRIC in the route table.
All IP devices have a route table inside.
For windows, go to the command prompt and type:
route print
Then you have to determine the IP destination by looking at the Network Destination list and Subnet. Then which ever has the lowest metric will have priority for that route.
You can change the metric and setup routing using that "Route" command.
This is advanced networking so you might have to read up more on route tables.
That is if NDI uses layer 3 (IP layer). If it uses layer 2 then the route table may not affect it?
Looks like I'm going to have to do some homework! Thanks, mashynewie2!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/1/2015(UTC) Posts: 1,151 Location: Houston TX Thanks: 319 times Was thanked: 263 time(s) in 233 post(s)
|
Tom,
There's very likely no benefit to your present arrangement. It definitely adds complexity. You're better off using one gigabit LAN connection for everything.
At times in the past I've run separate subnets so I could keep voip & video traffic separate from plain vanilla stuff. That was one method of ensuring quality-of-service for streaming media.
It was particularly useful when I had IP phones on a modest DSL 1.5M service. Even then, I had just one NIC per computer and let my router to the routing between subnets and traffic prioritization.
Now that my internet access is 50 Mbps it just isn't worth the trouble anymore.
Michael
|
1 user thanked mjgraves for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/24/2016(UTC) Posts: 331 Location: Chicago, IL
Was thanked: 143 time(s) in 94 post(s)
|
Following up on that, use a full speed back plane Ethernet to connect all your NDI devices, then plug your internet router into that. Traffic between NDI sources will never hit the router, just between the clients on the switch, while internet traffic will be the only thing to hit the router. I've not gotten one yet, but I'm looking at one of these Ethernet switches for my setup. 16 ports with 32GB of bandwidth, you can also get a managed version for just a little bit more. http://www.amazon.com/TP...gigabit+switch&psc=1Kane Peterson NewTek
|
1 user thanked kane for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/2/2013(UTC) Posts: 1,073 Location: Fairhope, Alabama USA Thanks: 555 times Was thanked: 200 time(s) in 166 post(s)
|
kane wrote:Following up on that, use a full speed back plane Ethernet to connect all your NDI devices, then plug your internet router into that. Traffic between NDI sources will never hit the router, just between the clients on the switch, while internet traffic will be the only thing to hit the router. I've not gotten one yet, but I'm looking at one of these Ethernet switches for my setup. 16 ports with 32GB of bandwidth, you can also get a managed version for just a little bit more. http://www.amazon.com/TP...gigabit+switch&psc=1Kane Peterson NewTek Aha. The Silver Bullet answer! - Tom
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/20/2014(UTC) Posts: 388
Thanks: 29 times Was thanked: 80 time(s) in 51 post(s)
|
I have a definite need for using two NIC cards- and I don't think that Kane's recommended router is the answer-- but please let me know if I don't understand. Does it have a DHCP server? https://www.amazon.com/T...gigabit+switch&psc=1Here is the setup-- We use wireless cisco radios to connect from the pressbox to the servers located in the main building. This past Friday when using NDI, the bandwidth to the internet got choked off. This is because we were streaming to Youtube, But had an NDI device connected -- this device was traveling through the radio to the main building and then back across the radio to the vmix machine. So both the send and receive NDI traffic was using the radios, despite being right beside each other. This in addition to a 1080 stream, and well it bogged down fairly quickly. I really need to keep the NDI device (graphics) off the radio, while allowing vMix to use the second network to connect to the internet. Tom, you seemed to have it figured out... Can you share? Kane any thoughts? I don't think that router will work because the DHCP server is located on the other end of the radio so all traffic will still go into the main building and return. I am guessing I need a managed solution like ClearOS, but I would really like a simple hardware solution.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/24/2016(UTC) Posts: 331 Location: Chicago, IL
Was thanked: 143 time(s) in 94 post(s)
|
It might help to get a diagram of how you having things connected.
The device I recommend above is a switch not a router. It doesn't offer things like DHCP (switches usually don't). However, a switch would send traffic from point to point. What is the module number of the Cisco device?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/21/2015(UTC) Posts: 324 Location: Cornwall, Ontario, Canada Thanks: 18 times Was thanked: 80 time(s) in 60 post(s)
|
|
|
|
|
vMix Forums
»
General
»
NDI
»
I have two networks. Which one will NDI use?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close