Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 04-26-2011, 10:26 AM   #1
LQ Newbie
Registered: Apr 2011
Posts: 1

Rep: Reputation: 0
configuring ECMP multipath route in linux kernel


When we install the linux ECMP routes via the commands "route add -net dev eth0" and "route add -net dev eth1" we noticed routes are programmed in linux. This we verified by checking by "route" command

But if we do it via c program, via netlink socket programming

rtm_flags |= RTM_F_EQUALIZE;
rta_type = RTA_MULTIPATH;
rta_len = RTA_LENGTH (0);
nlmsg_type = RTM_NEWROUTE
nlmsg_flags |= NLM_F_REPLACE

But no error is seen. but routes are not really programmed. Please let us know if anything is missed in my programming



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I disable multipath route caching? SouthPawn Linux - Networking 0 04-26-2010 10:52 AM
Removing multipath from F8/9 kernel Malachite Linux - Kernel 1 09-28-2008 08:34 AM
kernel multipath messages pmc2000 Linux - Server 2 09-21-2007 10:45 AM
Configuring multipath to hds san results in multiple types of errors bret Linux - Software 1 05-12-2006 10:00 AM
if a route fails in a multipath route? eantoranz Linux - Networking 5 07-03-2005 02:03 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration