I have 4 virtual Machine (Ubuntu 12.04) running on a host that is also
running Ubuntu 12.04
The Virtual Machines are named as

    vm-1
    vm-2
    vm-3
    vm-switch

Below are the network settings on switch-vm


    Adapter 1:
    Intel PRO/1000 MT Desktop (Bridged adapter, eth0)
    Adapter 2:
    Intel PRO/1000 MT Desktop (Internal network, 'intnet-1')
    Adapter 3:
    Intel PRO/1000 MT Desktop (Internal network, 'intnet-2')
    Adapter 4:
    Intel PRO/1000 MT Desktop (Internal network, 'intnet-3')

Network settings on vm-1

    Adapter 1:
    Intel PRO/1000 MT Desktop (Bridged adapter, eth0)
    Adapter 2:
    Intel PRO/1000 MT Desktop (Internal network, 'intnet-1')

Network settings on vm-2

    Adapter 1:
    Intel PRO/1000 MT Desktop (Bridged adapter, eth0)
    Adapter 2:
    Intel PRO/1000 MT Desktop (Internal network, 'intnet-2')


Network settings on vm

    Adapter 1:
    Intel PRO/1000 MT Desktop (Bridged adapter, eth0)
    Adapter 2:
    Intel PRO/1000 MT Desktop (Internal network, 'intnet-3')


I have installed ovs and pox controller on vm-swtich

    sudo ovs-vsctl show
    sudo ovs-vsctl add-br lan0
    sudo ovs-vsctl add-port lan0 eth1
    sudo ovs-vsctl add-port lan0 eth2
    sudo ovs-vsctl add-port lan0 eth3
    sudo ovs-vsctl set-controller lan0 tcp:127.0.0.1:6633

    ./pox.py log.level --DEBUG forwarding.l2_learning

On another terminal on the vm-switch,I run the following ping6 script.

for i in {1..10}
do
echo "pinging vm-1 via eth1"
ping6  -I eth1 -c 10 fe80::a00:27ff:fed1:9ced
echo "pinging vm-2 via eth2"
ping6  -I eth2 -c 10 fe80::a00:27ff:febe:3ae6
echo "pinging vm-2 via eth3"
ping6  -I eth3 -c 10 fe80::a00:27ff:fe92:3e72
done


where fe80::a00:27ff:fed1:9ced is the link local ipv6 address on (eth0) on
vm-1
      fe80::a00:27ff:febe:3ae6 is the link local ipv6 address on (eth0) on
vm-2
      fe80::a00:27ff:fe92:3e72 is the link local ipv6 address on (eth0) on
vm-3

The ping commands work successfully with 0% packet loss.However

    ./pox.py log.level --DEBUG forwarding.l2_learning

doesn't seem to show any output at all.

Is this because I am pinging from switch-vm to vm-1 vm-2 and vm-3

Instead if I try pinging from vm-1 to vm-2 etc.It is saying destination
unreachable.

Is this the problem that the appropriate flows are not installed in the POX
controller?
If yes is there an easy way to do that?

Reply via email to