# multicast input from two interfaces

**URL:** <https://community.wowza.com/t/multicast-input-from-two-interfaces/39780>\
**Category:** Wowza Streaming Engine\
**Created:** [April 22, 2013, 12:46pm UTC](https://community.wowza.com/t/multicast-input-from-two-interfaces/39780 "2013-04-22T12:46:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saimir\_Gora](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Saimir\_Gora](https://community.wowza.com/u/Saimir_Gora)\
**Post date:** [April 22, 2013, 12:46pm UTC](https://community.wowza.com/t/multicast-input-from-two-interfaces/39780/1 "2013-04-22T12:46:17Z")

</div>

Hi,

how can i configure wowza to receive multicast from two network cards from two different networks?

Thank you.

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [April 22, 2013, 11:48am UTC](https://community.wowza.com/t/multicast-input-from-two-interfaces/39780/2 "2013-04-22T11:48:41Z")

</div>

Take a look at this article:

[https://www.wowza.com/docs/how-to-listen-for-a-multicast-stream-on-a-particular-network-interface](https://www.wowza.com/docs/how-to-listen-for-a-multicast-stream-on-a-particular-network-interface)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [April 22, 2013, 12:02pm UTC](https://community.wowza.com/t/multicast-input-from-two-interfaces/39780/3 "2013-04-22T12:02:26Z")

</div>

I don’t think that will work. I would try the 2nd method, per application: Make two applications, one for each interface.

Or, two VHosts should work.

I don’t have two IPs to test that. If my suggestion doesn’t not work, let me know and I will see what else I can find out.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [April 22, 2013, 12:18pm UTC](https://community.wowza.com/t/multicast-input-from-two-interfaces/39780/4 "2013-04-22T12:18:11Z")

</div>

I would first try making two applications, making the suggested change in the Application.xml, each pointing to a different interface

If that doesn’t work, you have to add a VHost. Adding a VHost is covered in the Virtual Hosting chapter of the user guide. Hopefully you can avoid that. It complicates tuning.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [April 23, 2013, 2:46pm UTC](https://community.wowza.com/t/multicast-input-from-two-interfaces/39780/5 "2013-04-23T14:46:05Z")

</div>

I will see if there is a better way, but I’m pretty sure the multiple VHost solution will work.

Richard

---

<div class="post-metadata">

**Author:** ![Saimir\_Gora](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Saimir\_Gora](https://community.wowza.com/u/Saimir_Gora)\
**Post date:** [April 22, 2013, 12:55pm UTC](https://community.wowza.com/t/multicast-input-from-two-interfaces/39780/6 "2013-04-22T12:55:26Z")

</div>

Hi Richard,

i can configure to bind to the interface i want, but what about utilizing two network interfaces at the same time? Shall i just add a new line similar to this: 192.168.1.22 but with the IP of the second interface?

---

<div class="post-metadata">

**Author:** ![Saimir\_Gora](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Saimir\_Gora](https://community.wowza.com/u/Saimir_Gora)\
**Post date:** [April 22, 2013, 1:09pm UTC](https://community.wowza.com/t/multicast-input-from-two-interfaces/39780/7 "2013-04-22T13:09:44Z")

</div>

Any of the solutions would be fine, but where do I make the change as there is only one VHosts file? Do i have to copy it to each application folder?

---

<div class="post-metadata">

**Author:** ![Saimir\_Gora](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Saimir\_Gora](https://community.wowza.com/u/Saimir_Gora)\
**Post date:** [April 23, 2013, 3:35pm UTC](https://community.wowza.com/t/multicast-input-from-two-interfaces/39780/8 "2013-04-23T15:35:48Z")

</div>

I have been trying to get the the new streams but no luck so far…this is what i did:

1.Created a copy of application Live with the folder name Live1.

2.Modified application.xml under Live1 and added the following tags inside :

multicastInterfaceAddress

192.168.111.111

…192.168.111.111, is the IP address of the second network card that will be used for multicast input.

I restarted Wowza, but i don’t get the streams on Application Live1 from the second network card.

Then i modified Vhost.xml and put 192.168.111.111 as the MulticastInterfaceAddress. After Wowza restart, i can get the streams from the second network card, but not from the first one.

What else can I test to get the streams from both network cards ?
