[lxc-users] LXD container with NIC in promiscuous mode

Felipe fmbrieva at gmail.com
Thu May 26 10:23:54 UTC 2016


I want to use a container with a NIC in promiscuous mode for capturing all
the traffic from a mirror port.

I have:

- LXD server with two bridge "br0" and "br1". ("br1" configured as PROMISC
with interface eth1 as PROMISC)
- Container with two interfaces "eth0" and "eth1". ("eth1" configured as
PROMISC)

I can see all traffic from mirror port in LXD Server with "br1" and "eth1"
but i cann´t see traffic in the container. Why?

When container starts a new interface is created in LXD Server for bridge
"br1"  (new interface: veth4Q0L0U)

    bridge name     bridge id               STP enabled     interfaces
    br1                 **************                   no
eth1

    veth4Q0L0U

Also i have setup veth4Q0L0U as PROMISC but i cann´t see traffic from
mirror port in the container.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160526/640a77c6/attachment.html>


More information about the lxc-users mailing list