Hi,
I want to test OVS between two virtual machines hosted over the same host.
I created an OVS bridge where i added the NIC that connects the two VMs and
used ifconfig to assign an IP address to the bridge port.
With this i am able to ping the two VMs.
root@VirtualBox:/home/akabra# ovs-vsctl show
e71e7608-7bfe-4293-ac5a-8705355ba16e
Bridge mybridge
Port mybridge
Interface mybridge
type: internal
Port "eth2"
Interface "eth2"
root@VirtualBox:/home/akabra#
root@VirtualBox:/home/akabra# ifconfig
eth2 Link encap:Ethernet HWaddr 08:00:27:7b:2d:b2
inet6 addr: fe80::a00:27ff:fe7b:2db2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1074400 errors:0 dropped:0 overruns:0 frame:0
TX packets:3290 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1003962152 (1.0 GB) TX bytes:363441 (363.4 KB)
mybridge Link encap:Ethernet HWaddr 08:00:27:7b:2d:b2
inet addr:2.2.2.2 Bcast:2.2.2.255 Mask:255.255.255.0
inet6 addr: fe80::c8f8:7cff:fe8a:5b4a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:36387 errors:0 dropped:0 overruns:0 frame:0
TX packets:3160 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8220698 (8.2 MB) TX bytes:340708 (340.7 KB)
I did exactly the same on the other VM and am able to ping between the two
VMs.
I have two questions here:
(1) Am i completely bypassing the Linux kernel stack to get this ping
working?
(2) How do i verify that i am indeed using OVS for packet forwarding.
Thanks, Abhishek
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss