[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] vde-inject 0.0.1
From: |
Jim C. Brown |
Subject: |
Re: [Qemu-devel] vde-inject 0.0.1 |
Date: |
Thu, 9 Feb 2006 00:39:53 -0500 |
User-agent: |
Mutt/1.4.2.1i |
Ok, I managed to fix my VDE issues and get this to work on eth0. Working sources
for vde-inject and vde_pcap_inject attached.
It will cause duplicate packets to occur, but otherwise appears stable.
You need libpcap installed. (According to my pcap.h, I have pcap 2.4 installed.)
Compile vde_pcap_inject with this command:
gcc -o vde_pcap_inject vde_pcap_inject.c -lpcap
Extract the bz2ball, cd into vde-inject and type 'make'. This will build the
module, which you can load via 'insmod vdeinject.ko'
Then load up the VDE network as so (running as root):
vde_switch -hub -daemon
chmod 666 /tmp/vde.ctl
./vde_pcap_inject eth0 /tmp/vde.ctl
This step will connect the VDE to eth0, creating a vmware like bridge.
You can now just run qemu apps with vdeq/vdeqemu normally, and they'll appear
to be running on your LAN.
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
vde_pcap_inject.c
Description: Text document
vde-inject.tbz
Description: Text document