Hi,

I dont understand.

eth2 is my VM port. And i have added that to the OVS bridge "mybridge"

Am i missing something?

Thanks, Abhishek

On Wed, Jul 8, 2015 at 8:50 AM, Jesse Gross <[email protected]> wrote:

> On Tue, Jul 7, 2015 at 8:11 PM, Abhishek Verma
> <[email protected]> wrote:
> > 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.
>
> You need to add the VM ports to OVS. Currently only traffic between
> eth2 and the hypervisor host is going through OVS.
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to