Greetings, I have a question regarding weight assignment in groups.
Topology: ======= H1 ---- SW1 ======= SW2 ------ H2 On each switch, there are 4 ports. The first port of each switch is connected to host. There are 3 connections between SW1 and SW2. My goal is to perform a load-balancing of traffic from H1 to H2 on the switches by creating openflow group as below. *Group rules* group_id=1,type=select,bucket=weight:5,actions=group:2,bucket=weight:5,actions=group:3,bucket=weight:5,actions=group:4 group_id=4,type=all,bucket=actions=set_field:H2_MAC->eth_dst,output:4 group_id=2,type=all,bucket=actions=set_field:H2_MAC->eth_dst,output:2 group_id=3,type=all,bucket=actions=set_field:-H2_MAC>eth_dst,output:3 *Forward rule* ovs-ofctl -O Openflow13 add-flow openflow in_port=1,nw_src= 10.2.0.22/255.255.255.255,actions=group:1 (port1 connected to host) *Output* cookie=0x0, duration=2220.774s, table=0, n_packets=804886, n_bytes=1216737840, idle_age=1, hard_age=2108, in_port=1 actions=drop (To group1) >From group1, I assigned the weight on 3 buckets equally. I sent 3 kinds of traffic -ARP, ICMP and TCP. ARP, ICMP and TCP traffic are not divided equally among the three links. Traffic is sent only via one link - E.g- TCP on port 2, ICMP on port 3 and ARP port 4 How do i split the traffic equally among 3 links. Best Regards, Pinyarash P
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss