Dear Mr Justin!
One more small question:
When I export the netflow traffic to my ubuntu computer and using flow-capture
to capture it. I saw the result is like this:
srcIP dstIP prot srcPort dstPort octets packets
10.0.0.1 10.0.0.2 17 23335 12336 8442000 5628
10.0.0.1 10.0.0.2 17 23335 12336 10108500 6739
10.0.0.1 10.0.0.2 6 0 0 6417000 4278
10.0.0.1 10.0.0.2 6 0 0 9633000 6422
10.0.0.1 10.0.0.2 17 23335 12336 7992000 5328
10.0.0.1 10.0.0.2 17 23335 12336 9889500 6593
But in fact in my openvswitch, there are 3 physical ports. I would like to ask
how can I realize which physical port that the above flows belong to
Thank you
Trinh Minh Tri
-------------------------------------------------
PhD Student, Department of Electrical Engineering
Chulalongkorn University, Bangkok 10330, Thailand.
Phone:0824566602
Email: no...@yahoo.com
________________________________
From: trinh tri <no...@yahoo.com>
To: trinh tri <no...@yahoo.com>; Justin Pettit <jpet...@nicira.com>
Cc: "dev@openvswitch.org" <dev@openvswitch.org>
Sent: Thursday, July 5, 2012 9:32 PM
Subject: Re: [ovs-dev] asking the example to use openflow protocol to limit the
flow rate in openvswitch
Dear Mr Justin!
1 more question.
I would like to take the traffic statistic which is classified by vlan.
I would like to ask whether netflow can export that kind of information?
Thank you
Trinh Minh Tri
-------------------------------------------------
PhD Student, Department of Electrical Engineering
Chulalongkorn University, Bangkok 10330, Thailand.
Phone:0824566602
Email: no...@yahoo.com
________________________________
From: trinh tri <no...@yahoo.com>
To: trinh tri <no...@yahoo.com>; Justin Pettit <jpet...@nicira.com>
Cc: "dev@openvswitch.org" <dev@openvswitch.org>
Sent: Wednesday, July 4, 2012 10:53 AM
Subject: Re: [ovs-dev] asking the example to use openflow protocol to limit the
flow rate in openvswitch
Hi Mr Justin!
I would like to ask about export the netflow from openvswitch to a remote
ubuntu computer:
netflow
[ovs]=========>[ubuntu-pc]
Following the manual, I configure netflow exporter like this
[ovs]:
$./ovs-vsctl -- set bridge br0 netflow=@nf -- --id=@nf create NetFlow
targets=\"161.200.90.74:5566\" active-timeout=30
$./ovs-vsctl list netflow
_uuid : 6741d14c-f382-4a03-82ff-cb9339a54758
active_timeout : 30
add_id_to_interface : false
engine_id : []
engine_type : []
external_ids : {}
targets : ["161.200.90.74:5566"]
But when I monitor the output port using tcpdump:
$tcpdump -i eth0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
I don't see any netflow packets sending out of my eth port to [ubuntu].
I would like to ask, whether there is any wrong with my configuration?
How to check whether netflow packets are sent out of openvswitch?
Thank you very much
Trinh Minh Tri
-------------------------------------------------
PhD Student, Department of Electrical Engineering
Chulalongkorn University, Bangkok 10330, Thailand.
Phone:0824566602
Email: no...@yahoo.com
________________________________
From: trinh tri <no...@yahoo.com>
To: Justin Pettit <jpet...@nicira.com>
Cc: "dev@openvswitch.org" <dev@openvswitch.org>
Sent: Monday, July 2, 2012 12:56 PM
Subject: Re: [ovs-dev] asking the example to use openflow protocol to limit the
flow rate in openvswitch
Thank you very much, Mr Pettit!
I have finished setting up the system with openvswitch and openflow. Now trying
to configure queue on openvswitch.
Trinh Minh Tri
-------------------------------------------------
PhD Student, Department of Electrical Engineering
Chulalongkorn University, Bangkok 10330, Thailand.
Phone:0824566602
Email: no...@yahoo.com
________________________________
From: Justin Pettit <jpet...@nicira.com>
To: trinh tri <no...@yahoo.com>
Cc: "dev@openvswitch.org" <dev@openvswitch.org>
Sent: Friday, June 29, 2012 10:01 AM
Subject: Re: [ovs-dev] asking the example to use openflow protocol to limit the
flow rate in openvswitch
ovs-openflowd has been deprecated in favor of ovs-vswitchd. If you're not
using a distribution that already has OVS support built in, the INSTALL.Linux
file in the OVS distribution contains a instructions for getting it started.
--Justin
On Jun 28, 2012, at 10:51 AM, trinh tri wrote:
> Dear Mr Justin!
>
> Yep! I want to connect openvswitch to NOX and let NOX dynamically control the
> bandwidth providing to each flow.
> I viewed from some website, they use this command for the openvswitch to
> connect to NOX:
> ./utilities/ovs-openflowd dp0 --datapath-id=0000004E46324304
> tcp:192.168.0.100 port 6633 --out-of-band
> But in the new version of openvswitch (1.6.1), I cannot find the tool
> ovs-openflowd. In your last email I think you give me solution of connecting
> openvswitch to NOX by ovs-ofctl and ovs-vsctl. Could you help me to write
> what command is equivalant to the above commands?
>
> Thank you very much
> Trinh Minh Tri
> -------------------------------------------------
> PhD Student, Department of Electrical Engineering
> Chulalongkorn University, Bangkok 10330, Thailand.
> Phone:0824566602
> Email: no...@yahoo.com
> From: Justin Pettit <jpet...@nicira.com>
> To: trinh tri <no...@yahoo.com>
> Cc: "dev@openvswitch.org" <dev@openvswitch.org>
> Sent: Thursday, June 28, 2012 12:18 PM
> Subject: Re: [ovs-dev] asking the example to use openflow protocol to limit
> the flow rate
in openvswitch
>
> What do you mean by hands-on? From NOX? I don't think it speaks OVSDB. I'd
> probably start off by using ovs-vsctl and ovs-ofctl to manually configure
> what you want. Translating from ovs-ofctl to OpenFlow should be pretty
> straight-forward, since the commands map pretty directly to OpenFlow. For
> OVSDB, you could configure ovsdb-server so that you can run ovs-vsctl on the
> NOX system and connect over TCP/SSL. Or you could do it programmatically by
> looking at some of the other programs in the OVS distribution that make use
> of the database.
>
> --Justin
>
>
> On Jun 28, 2012, at 1:08 AM, trinh tri wrote:
>
> > Thank you very much Mr. Petit for the prompt reply.
> > Do you know any hand-on example to implement that?
> >
> > Trinh Minh Tri
> > -------------------------------------------------
>
> PhD Student, Department of Electrical Engineering
> > Chulalongkorn University, Bangkok 10330, Thailand.
> > Phone:0824566602
> > Email: no...@yahoo.com
> > From: Justin Pettit <jpet...@nicira.com>
> > To: trinh tri <no...@yahoo.com>
> > Cc: "dev@openvswitch.org" <dev@openvswitch.org>
> > Sent: Thursday, June 28, 2012 11:49 AM
> > Subject:
Re: [ovs-dev] asking the example to use openflow protocol to limit the flow
rate in openvswitch
> >
> > The configuration of QoS is done
through the OVSDB protocol, which handle switch-level configuration. You can
then use OpenFlow to direct flows to particular queues that you've configured
through OVSDB. There are C and Python bindings to OVSDB (but I don't think NOX
makes use of them) or you can use ovs-vsctl as a CLI interface to OVSDB.
> >
> > There's an example of configuring QoS towards the end of the ovs-vsctl man
> > page. The ovs-ofctl man page describes the enqueue and set_queue actions
> > that can be used to direct flows to the queues you've configured.
> >
> > --Justin
> >
> >
> > On Jun 28, 2012, at 12:43 AM, trinh tri wrote:
> >
> > > Dear openvswitch dev!
> > >
> > > I'm trying to implement a system which can dynamically control the flow
> > > rate limiting of openvswitch. And would like control that rate from NOX
> > > controller via openflow protocol.
>
> >
> > > Could you suggest me how to implement that system and is there any
> > > example about that system to follow?
> > >
> > > Thank you very much
> > > Trinh Minh Tri
> > > -------------------------------------------------
> > > PhD Student, Department of Electrical Engineering
> > > Chulalongkorn University, Bangkok 10330, Thailand.
> > > Phone:0824566602
> > > Email: no...@yahoo.com
> > > _______________________________________________
> > > dev mailing list
> > > dev@openvswitch.org
> > > http://openvswitch.org/mailman/listinfo/dev
> >
> >
> >
>
>
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev