Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDN Load Balancing Switch #68

Open
twood02 opened this issue Feb 23, 2015 · 8 comments
Open

SDN Load Balancing Switch #68

twood02 opened this issue Feb 23, 2015 · 8 comments
Assignees

Comments

@twood02
Copy link
Member

twood02 commented Feb 23, 2015

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.

@nks5295
Copy link
Member

nks5295 commented Feb 23, 2015

@Atryus, @phil-lopreiato and I will do this.

@twood02
Copy link
Member Author

twood02 commented Feb 23, 2015

no immediate due date for this, but you may find it useful practice for your geni competition entry.

@nks5295
Copy link
Member

nks5295 commented Feb 23, 2015

That was the plan!

@nks5295
Copy link
Member

nks5295 commented Apr 5, 2015

Oops, got sucked into openNetVM stuff... Will finish this tonight :D

@twood02
Copy link
Member Author

twood02 commented Apr 5, 2015

I'm letting grad students who are doing related research projects count their research coding as their class work. We can work out a similar deal for you. If you have this mostly done, then finish it, but if you have lots to do then focusing on netvm will be more useful to the world.

@nks5295
Copy link
Member

nks5295 commented Apr 5, 2015

Its mostly done, I just have to integrate the config file stuff which won't take long. We finished most of it for our GENI project.

@nks5295
Copy link
Member

nks5295 commented Apr 5, 2015

Let's talk about that deal for the future though! :p

@twood02
Copy link
Member Author

twood02 commented Apr 5, 2015

ok, sounds good

nks5295 pushed a commit to nks5295/adv-net-samples that referenced this issue Oct 5, 2015
Added author headers in timer and hist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants