Load sharing across multiple interfaces

66 views
Skip to first unread message

Ramakrishnan Durairajan

unread,
Aug 8, 2016, 10:03:19 PM8/8/16
to GENI Users
Hello All,

I created a simple topology in GENI (http://www.geni.net/) and it looks like the following:

A --- Router_1 === Router_2 --- B (Note that there are two links between routers 1 and 2.)

I am trying to load share the traffic across both the links, i.e., between the routers, when the traffic flows from A to B. To do this, I used the following commands at router 1.

sudo modprobe sch_teql 
sudo tc qdisc add dev eth1 root teql0 
sudo tc qdisc add dev eth3 root teql0 
sudo ip link set dev teql0 up

But the load sharing is not happening and packets are always going via eth1 of Router_1. Attached is the rspec that I am using to generate the (above) topology. Any idea what I am missing?
two-routers-two-links.rspec

Ramakrishnan Durairajan

unread,
Aug 8, 2016, 10:08:00 PM8/8/16
to GENI Users
I know that the above procedure is more of a hack. Is there an alternative way to load share the traffic between routers 1 and 2? 

Vicraj Thomas

unread,
Aug 25, 2016, 11:14:14 AM8/25/16
to geni-...@googlegroups.com
Hello Ramakrishnan,

Have you been able to get this to work? Did you assign IP addresses to
the two teql interfaces you created on Router 1 & 2 (they need to be on
the same subnet)?

See http://lartc.org/howto/lartc.loadshare.html for an example of how
this is done.

Let us know if you were able to get this to work.

Best wishes,

< Vic
> --
> GENI Users is a community supported mailing list, so please help by
> responding to questions you know the answer to.
>
> If this is your first time posting a question to this list, please
> review
> http://groups.geni.net/geni/wiki/GENIExperimenter/CommunityMailingList
> ---
> You received this message because you are subscribed to the Google
> Groups "GENI Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to geni-users+...@googlegroups.com
> <mailto:geni-users+...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Ram Durairajan

unread,
Aug 26, 2016, 1:54:28 PM8/26/16
to geni-...@googlegroups.com
Thanks Vic. I got this working. Initially, it wasn't working because of the Linux router implementation that I was using. Instead of the Linux router, I tried the same with quagga and it worked right away.

Ram
> --- You received this message because you are subscribed to a topic in the Google Groups "GENI Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/geni-users/y8fuUtkQx3k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to geni-users+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages