[ovs-discuss] Question about configuration ovs-ctl and routing

Peter Phaal peter.phaal at inmon.com
Mon Dec 20 23:51:56 UTC 2010


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 <jesse at nicira.com> napisał(a):
> 
>> On Sun, Dec 19, 2010 at 3:00 PM, Admin HRD.pl <admin at 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 at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org





More information about the discuss mailing list