Hi all, I have OpenVSwitch installed on one computer which has a quad-port. I have two other computers connected to two ports eth4 and eth5. I have eth4 connected to openflow port 2 and eth5 connected to openflow port 1.
ovs-ofctl show br0 gives: 1(eth5): addr:a0:36:9f:10:98:f0 config: 0 state: 0 current: 1GB-FD COPPER AUTO_NEG advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG speed: 1000 Mbps now, 1000 Mbps max 2(eth4): addr:a0:36:9f:10:98:f3 config: 0 state: 0 current: 1GB-FD COPPER AUTO_NEG advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG speed: 1000 Mbps now, 1000 Mbps max LOCAL(br0): addr:a0:36:9f:10:98:f0 config: PORT_DOWN state: LINK_DOWN speed: 100 Mbps now, 100 Mbps max OFPT_GET_CONFIG_REPLY (xid=0x3): frags=normal miss_send_len=0 Now I modify the flow table such that I can transfer traffic between the two computers one acting as server and another as client using the commands: ovs-ofctl add-flow br0 "in_port=1,actions=output:2" ovs-ofctl add-flow br0 "in_port=2,actions=output:1" ovs-ofctl dump-flows br0 gives: NXST_FLOW reply (xid=0x4): cookie=0x0, duration=163.71s, table=0, n_packets=0, n_bytes=0, idle_age=163, in_port=2 actions=output:1 cookie=0x0, duration=172.914s, table=0, n_packets=0, n_bytes=0, idle_age=172, in_port=1 actions=output:2 I use iperf to generate traffic between the two machines and I am able to do it. But when I want to create queues at eth5 and enqueue the traffic from different iperf clients connected to eth4, I get connection timed out error or no route to host error. The commands I have used are as follows: ovs-vsctl -- set port eth5 qos=@newqos -- --id=@newqos create qos type=linux-htb other-config:max-rate=1000000000 queues=0=@q0,1=@q1 -- --id=@q0 create queue other-config:min-rate=20000000 other-config:max-rate=20000000 -- --id=@q1 create queue other-config:min-rate=1000000 other-config:max-rate=1000000 ovs-ofctl add-flow br0 "in_port=1,actions=output:2" ovs-ofctl add-flow br0 "in_port=2,dl_type=0x0800,nw_proto=6,tp_dst=9000,actions=enqueue:1:1" ovs-ofctl add-flow br0 "in_port=2,dl_type=0x0800,nw_proto=6,tp_dst=8000,actions=enqueue:1:0" ovs-ofctl dump-flows br0 gives: NXST_FLOW reply (xid=0x4): cookie=0x0, duration=28.215s, table=0, n_packets=0, n_bytes=0, idle_age=28, tcp,in_port=2,tp_dst=9000 actions=enqueue:1q1 cookie=0x0, duration=21s, table=0, n_packets=0, n_bytes=0, idle_age=21, tcp,in_port=2,tp_dst=8000 actions=enqueue:1q0 cookie=0x0, duration=12.712s, table=0, n_packets=0, n_bytes=0, idle_age=12, in_port=1 actions=output:2 I use two iperf clients on machine (static ip:10.6.1.2) connected to eth4 (static ip:10.6.1.1)and two iperf servers on the machine(static ip:10.6.2.2) connected to eth5(static ip:10.6.2.1). On 10.6.2.2 machine, I run iperf -s -p 8000 on one terminal and iperf -s -p 9000 on another terminal On 10.6.1.2 machine, I run iperf -c 10.6.2.2 -p 8000 on one terminal and iperf -c 10.6.2.2 -p 9000 on another terminal I get 'connection timed out' error. If I specify the destination ip address in the flow syntax for the flows, I get a 'no route to host' error. Can someone please tell me where I am going wrong? I basically need to queue the traffic from different clients on different queues and transfer them at different rates. Thank you Regards, Mathumitha
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss