Skip to content
kspviswa edited this page Mar 20, 2015 · 2 revisions

Environment setup


Simulation

For simulation, I'm using Windows 8.1 4gb 64Bit host and hosting Ubuntu 14.1 Server 32Bit on it, via Oracle VirtualBox.

Ubuntu Server will host another end-user VM namely puppy linux 5.5.

Steps

  1. add a bridge ovs-vsctl add-br mybridge

  2. turn up mybridge interface ifconfig mybridge up

  3. add eth0 to mybridge ovs-vsctl add-port eth0 mybridge

  4. remove eth0's IP addressing ifconfig eth0 0

  5. make mybridge interface get a DHCP IP dhclient mybridge

  6. add tap interfaces ip tuntap add mode tap vport1 ip tuntap add mode tap vport2

  7. add tap interfaces to mybridge ovs-vsctl add-port mybridge vport1 -- add-port mybridge vport2

Now, start VirtualBox inside this VM and load puppy linux with vport1 as bridged adapter. You can configure another VM for vport2 if your machine still alive. That's it, now start sniffing or snorting vport1.

  1. Adding default hardware-flow in ovs ovs-ofctl add-flow action=NORMAL
Clone this wiki locally