Hi,

Could anyone please look into these fundamental queries of OVS & Vlan  and
reply ?


Thanks & Regards
       Ashish


On Thu, Oct 3, 2013 at 9:42 PM, ashish yadav <ashishyada...@gmail.com>wrote:

> Hi,
>
> I was doing some exercise, came across few scenario.
> I need help to understand these cases.
>
> *Environment: *
> a. One Host and one VM in it
> b. OVS running:
>       [root@sholay ashish]# ovs-vsctl show
> 2b113c03-81e5-4c90-ba6c-b2eb2381432a
>     Bridge "ovsbr0"
>         Port "ovsbr0"
>             Interface "ovsbr0"
>                 type: internal
>         Port "vnet0"
>             Interface "vnet0"
>         Port "eth0"
>             Interface "eth0"
>     ovs_version: "1.4.6"
>
> VM is up and I am able to ping:
>   a. External World from VM & Host.
>   b. Ping between HOST & VM fine.
>
> *Scenario 1:*
>       vnet0 is vlan tag:
>    [root@sholay ashish]# ovs-vsctl show
> 2b113c03-81e5-4c90-ba6c-b2eb2381432a
>     Bridge "ovsbr0"
>         Port "ovsbr0"
>             tag: 0
>             Interface "ovsbr0"
>                 type: internal
>         Port "vnet0"
>             tag: 5
>             Interface "vnet0"
>         Port "eth0"
>             tag: 0
>             Interface "eth0"
>     ovs_version: "1.4.6"
>
>         a. From VM, not able to ping Host machine & External world.
>         b. From Host, able to ping External world.
>
>             This is desired behaviour. No problem here.
>
>
>  *Scenario 2:*
>            ovsbr0 & vent0 are Vlan Tag:
>            [root@sholay ashish]# ovs-vsctl show
>  2b113c03-81e5-4c90-ba6c-b2eb2381432a
>     Bridge "ovsbr0"
>         Port "ovsbr0"
>             tag: 5
>             Interface "ovsbr0"
>                 type: internal
>         Port "vnet0"
>             tag: 5
>             Interface "vnet0"
>         Port "eth0"
>             tag: 0
>             Interface "eth0"
>     ovs_version: "1.4.6"
>
>         a. VM is able to Ping host, but Fail to ping External world.
>             *  Why it is so ?*
>         b. Host Machine Fail to ping External world.
>               *Why its is so ?*
>
>
>  *Scenario 3:*
>      eth0 & vent0 are Vlan Tag:
>       [root@sholay ashish]# ovs-vsctl show
> 2b113c03-81e5-4c90-ba6c-b2eb2381432a
>     Bridge "ovsbr0"
>         Port "ovsbr0"
>             tag: 0
>             Interface "ovsbr0"
>                 type: internal
>         Port "vnet0"
>             tag: 5
>             Interface "vnet0"
>         Port "eth0"
>             tag: 5
>             Interface "eth0"
>     ovs_version: "1.4.6"
>
>      a. VM able to ping external world, but fail to ping host ip.
>          * Why it is so ?*
>      b. Host Machine not able to ping external world.
>          *Why  VM can excess external world, but host not ?*
>
>
> Thanks & Regards
>         Ashish
>
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to