[Lxc-users] Forwarding packets from host to container

Erdem Bayer ebayer at bayer.gen.tr
Fri Jan 14 09:35:42 UTC 2011


Hi there

Çrş, 2011-01-12 tarihinde 18:14 -0800 saatinde, Nirmal Guhan yazdı:
> I worked it around by capturing the packet in eth1 and fwding it to
> the veth of container using libpcap.
> ~Nirmal 

You can also create a bridge in host, turn off bridge aging time (brctl
setageing bridge_name 0), add eth1 to that bridge, use that bridge for
your container.

Then your container can capture any frames that eth1 recieves.

Kind Regards
Erdem Bayer







More information about the lxc-users mailing list