Hi,

Thank you for the information.
ULOG is not for me, because I want to add virtual network interfaces for each service.

therefore, the same vswitch will send information to a NetFlow / sFlow.

And I will not have to configure iptables....
Traffic will be reached with the vswitch to virtual interface (ie the source, where the service is running).
speaking services, I mean: FTP, www, email...


I turn off any service without having to restart the network interface.
I make the command ifconfig vif0 up / down and everything

Can you hint me how it should look in the linux routing table for my scheme?

Tom

Dnia 21-12-2010 o 00:51:56 Peter Phaal <peter.ph...@inmon.com> napisał(a):

It sounds like you are simply interested in obtaining traffic accounting data from different services running on a host. If you aren't using virtual machines, then it isn't clear why you would need a vswitch. There are a number of traffic accounting options for Linux servers based on netfilter/iptables/ULOG. The following article describes an sFlow solution:
http://blog.sflow.com/2010/12/ulog.html

Peter


On Dec 20, 2010, at 2:38 PM, Admin HRD.pl wrote:

Dnia 20-12-2010 o 00:49:26 Jesse Gross <je...@nicira.com> napisał(a):

On Sun, Dec 19, 2010 at 3:00 PM, Admin HRD.pl <ad...@hrd.pl> wrote:
Hi All

Can I do something like this?

I have one NIC eth0
And create tree vif0, vif1, vif2
Create br0

+--------|eth0|--------+
|                      |
|         br0          |
|                      |
+-|vif0|-|vif1|-|vif2|-+


eth0 didn't have ip
br0 didn't have ip

vif0..2 have ip (this is a external IP not NAT)
193.x.0.100
193.x.0.101
193.x.0.102

GW is 193.x.0.1
Subnet /24

How create routing table for openvswitch interfacess and how set gateway in
routing table correctly ?

You need to set up the routing table in the VMs.  Open vSwitch is not
doing any routing, only switching.  It's the same as if you had a
number of machines connected to a physical Ethernet switch.

Thank you for response.
But i use openvswitch not for VM but for services on host where is
installed openvswitch.

I want to create aa pair of of interfaces , one for each service and use
the sFlow or NetFlow ,to count bandwidth consumption.

Tom

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org

Reply via email to