Ask Your Question
0

openVswitch is L2 or L3?

asked 2014-01-19 22:33:31 -0500

RHK gravatar image

Hello,

I made a openstack grizzly OVS_multinode setup. I have a question on openVswitch.

openVswitch is L2 or L3 functionality (or) it has both L2 & L3 functionality?

Can any one plz give some more information about openVswitch.

Regards, RHK

edit retag flag offensive close merge delete

Comments

@RHK Can you send the network topology diagram you asked earlier ? I can look at and suggest you something.

dheeru gravatar imagedheeru ( 2014-01-20 02:43:12 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
2

answered 2014-01-19 23:54:18 -0500

updated 2014-01-19 23:55:30 -0500

OpenVSwitch can perform both L2 and L3 functionality. An OpenVSwitch (ovs) contains a flow table. The flow table is similar with that of a primitive switch forwarding table, but it has more columns. A flow table has three main columns, which are header fields, counters and actions. Following table describes the header fields column of a flow table,

-----------------------------------------------------------------------------------------
Ingress| Ether|Ether|Ether| VLAN | VLAN   |IP Src|IP Dst|IP Proto|IP ToS|TCP/UDP |TCP/UDP |
Port   |Source| dst | type| id   |priority|      |      |        | bits |src port|dst port|
-----------------------------------------------------------------------------------------

The action of a packet is performed based on the details of the incoming packet matched with the above fields. A packet can be matched either with ethernet address or ip addresses or vlan ids or all.

Hence, OVS can perform both L2 and L3 functionality.
Do read the specs of Openflow to get a clearer insight.

edit flag offensive delete link more

Comments

Thank you for your response.

RHK gravatar imageRHK ( 2014-01-20 22:33:19 -0500 )edit
0

answered 2014-01-20 22:35:15 -0500

RHK gravatar image

Here is my understanding on OVS functionality.

OVS can do OpenFlow-based IP forwarding, but cannot build its own forwarding table. We need an OpenFlow controller for that. By Default OVS is simple L2 functionality.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-01-19 22:33:31 -0500

Seen: 629 times

Last updated: Jan 20 '14