# Listen for different protocols over different interface

**URL:** https://discuss.elastic.co/t/listen-for-different-protocols-over-different-interface/202459
**Category:** Beats
**Tags:** packetbeat
**Created:** [October 6, 2019, 5:11pm UTC](https://discuss.elastic.co/t/listen-for-different-protocols-over-different-interface/202459 "2019-10-06T17:11:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Marko\_Todoric](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marko_todoric/32/52975_2.png) [@Marko\_Todoric](https://discuss.elastic.co/u/Marko_Todoric)
#### Post date: [October 6, 2019, 5:11pm UTC](https://discuss.elastic.co/t/listen-for-different-protocols-over-different-interface/202459/1 "2019-10-06T17:11:47Z")

</div>

Hello everyone,

I've been using packetbeat for a while to monitor DHCP traffic on our network and to analyze the work of DHCP Servers.  
Now, i would like to know if there is something i could do here.  
The server that is acting as DHCP has two network interfaces, I've configured packetbeat to listen on interface that the DHCP server is working on. Now i would also like to listen to HTTP and MySQL Traffic, but that traffic is going through another interface.  
If i enable all interfaces, packetbeat will capture DHCP traffic from other interface too, and i wouldn't like that.

How can i make (if i even can) packetbeat listen for DHCP traffic on eth0 and HTTP and MySQL Traffic on eth1.

Packetbeat version is 6.8  
It's on Linux, CentOS 7.6

Thanks in advance.

---

<div class="post-metadata">

### Author: ![adrisr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrisr/32/25423_2.png) [@adrisr](https://discuss.elastic.co/u/adrisr)
#### Post date: [October 10, 2019, 10:09pm UTC](https://discuss.elastic.co/t/listen-for-different-protocols-over-different-interface/202459/2 "2019-10-10T22:09:22Z")

</div>

For this you'll have to run two instances of Packetbeat with different configurations.

---

<div class="post-metadata">

### Author: ![Marko\_Todoric](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marko_todoric/32/52975_2.png) [@Marko\_Todoric](https://discuss.elastic.co/u/Marko_Todoric)
#### Post date: [October 16, 2019, 8:23am UTC](https://discuss.elastic.co/t/listen-for-different-protocols-over-different-interface/202459/3 "2019-10-16T08:23:16Z")

</div>

Thought so. Thanks!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 13, 2019, 8:23am UTC](https://discuss.elastic.co/t/listen-for-different-protocols-over-different-interface/202459/4 "2019-11-13T08:23:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
