-
Notifications
You must be signed in to change notification settings - Fork 4
Environment Set up
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.
-
add a bridge
ovs-vsctl add-br mybridge
-
turn up mybridge interface
ifconfig mybridge up
-
add eth0 to mybridge
ovs-vsctl add-port eth0 mybridge
-
remove eth0's IP addressing
ifconfig eth0 0
-
make mybridge interface get a DHCP IP
dhclient mybridge
-
add tap interfaces
ip tuntap add mode tap vport1
ip tuntap add mode tap vport2
-
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
.
- Adding default hardware-flow in ovs
ovs-ofctl add-flow action=NORMAL