Wednesday, April 27, 2011

Week 1 - Testing and setting up OLSRd

Setup qemu-kvm vms with windows xp sp2 for testing.
Start command for one vm with 3 NICs:

sudo /usr/local/kvm/bin/qemu-system-x86_64 -hda win32.img \
-net nic,vlan=1,macaddr=00:01:00:00:00:01 \
-net tap,vlan=1,ifname=tap1,script=no,downscript=no \
-net nic,vlan=2,macaddr=00:01:00:00:00:02 \
-net tap,vlan=2,ifname=tap2,script=no,downscript=no
-net nic,vlan=3,macaddr=00:01:00:00:00:03 \
-net tap,vlan=3,ifname=tap3,script=no,downscript=no

The next thing to do is to fix the delete_routes() function, which will erase all routes created, after the received "exit" command.