After so many disappointing days when you tried to find a few things ... it finally worked:
Using Pipework ( https://github.com/jpetazzo/pipework ), the following command worked, but there is a catch -
pipework eth2 $(docker run -d hipache /usr/sbin/hipache) 50.19.169.157/24
running the docker container, just running the specified command did not help me. I had to run tcpdump -i eth2 on my host to capture packets on the eth2 interface, after which it started forwarding packets to the docker container.
Any idea why this works, not just running a command
Sohail
source share