On Thu, Jun 9, 2011 at 7:04 AM, Stefan Richter <ste...@02strich.de> wrote:
> Hi,
>
>
>
> I am currently working on a virtualization project on Ubuntu 11.04 with KVM
> and we would like to use tcpbridge to rewrite the ip packets coming from the
> VM and then pass them off to the host. Getting the packets from the VM was
> straightforward, but sending them to the host was not. We tried to use a tap
> device as “output” of tcpbridge but had no luck. Do you have an idea how to
> make this work or are we completely on the wrong track with tcpbridge?

Interesting use case.  My experience has been in the past that packets
tcpreplay/tcpbridge send on a host are not visible by that host's IP
stack.  So to make this work, you'd have to run tcpbridge on the guest
host.

Using a TAP interface should be able to work in theory, but I think it
would require some changes in my sendpacket.[ch] code to support those
devices properly.  I'll open a feature ticket in trac to see about
adding that, but right now I couldn't even guess when something like
that might be done by me.  Patches welcome. :)



-- 
Aaron Turner
http://synfin.net/         Twitter: @synfinatic
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin
"carpe diem quam minimum credula postero"

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to