[ovs-discuss] do the openvswitch support hybrid port ? if yes, how to config the hybrid port ?

Ben Pfaff blp at nicira.com
Fri Mar 8 16:07:07 UTC 2013


On Fri, Mar 08, 2013 at 01:59:34PM +0800, ????????? wrote:
> ??? 2013???03???08??? 12:52, Ben Pfaff ??????:
> >On Fri, Mar 08, 2013 at 09:13:57AM +0800, ????????? wrote:
> >>??? 2013???03???08??? 03:16, Ben Pfaff ??????:
> >>>On Thu, Mar 07, 2013 at 01:58:49PM +0800, ????????? wrote:
> >>>>Q:do the openvswitch support hybrid port ? if yes,how to config the
> >>>>hybrid port ?
> >>>What's a hybrid port?
> >>A bybrid port resembles a trunk port,with the exception that it can
> >>determine a packet that egresses on a hybrid port in the PVID of the
> >>byhrid port will an 802.1Q header or not.just with the support of
> >>trunk port,when I config the port will access or trunk,I don't know
> >>how to let the guests to connect to the external network without a
> >>layer-3 device.
> >I don't understand this description, but the concept appears to be
> >related to PVLANs.  Open vSwitch doesn't implement PVLANs.
> thanks ben,can you help me to resolve the question below?

This question also appears to concern pvids, which Open vSwitch does not
support.  The diagram is illegible.

> 
>                                                             ---------------
>                                                             |   router    |
>                                                             ---------------
>                                   192.168.2.254/24      |  p1
> --------------------------------------
>                                               |       physical
> switch           |
> --------------------------------------
>                                                     | p2
> | p3
> ------------------                           ----------
> |                                                           |
>            --------------------------------------
> ---------------------------------------
>            |               |  eth0 |                 |
> |             |  eth0  |                  |
>            |               ----------                 |
> |             -----------                  |
>            |                     | p4                 |
> |                   |  p5                  |
>            |        -------------------------      |               |
> ------------------------        |
>            |        |            br0           |      |
> |       |          br0           |        |
>            |        -------------------------      |               |
> ------------------------        |
>            |            | port1          | port2 |               |
> | port3     | port4    |
>            |      ----------          ----------    |
> |       -----------    ----------        |
>            |      |  VM1  |         |  VM2 |    |               |
> |  VM3   |   |  VM4  |       |
>            |      ----------          ----------    |
> |       -----------    ----------        |
>            --------------------------------------
> ---------------------------------------
>                   VLAN100         VLAN200
> VLAN100    VLAN200
> 
> 
> ip(vm1):192.168.2.1/24
> ip(vm2):192.168.3.1/24
> ip(vm3):192.168.2.2/24
> ip(vm4):192.168.3.2/24
> 
> p1,p2,p3,p4,p5 are trunk ports
> port1,port2,port3,port4 are access ports
> 
> tag(port1,port3):100
> tag(port2,port4):200
> 
> Ping from VM1 to VM3, this should succeed.
> Ping from VM2 to VM4, this should succeed.
> 
> but Ping from VM1 to 192.168.2.254, failed.so,i changed the pvid of
> p1 to 100,then Ping from VM1 to 192.168.2.254 succeed,but Ping from
> VM2 to 192.168.2.254 failed.
> i don't how to let the VM2 and VM1  ping to 192.168.2.254 successfully.
> if you have ideas,please tell ,thanks again.
> 
> 
> 
> -- 
> 
> ???????????????
> 
> ?????????



More information about the discuss mailing list