Skip to content

SDN Load Balancing Switch #68

Description

@twood02

Write a pox program for a network where four hosts A, B, C, D are connected to a switch. Hosts A and B are clients and C and D are servers (you can use web/iperf/one of our sample program/whatever).

In this setup, the switch has a "virtual IP" that acts as a load balancer. When A or B send traffic to that IP, the switch should automatically rewrite the destination address to load balance the traffic across hosts C and D---one flow should be sent to C, the next flow sent to D, etc. When a packet returns from C or D the switch will need to rewrite the src address so that it matches the virtual IP the clients think they are talking to.

You can use round robin to distribute, or you can calculate a hash based on the src/dest ip/port to decide which server to send to.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions