Displaying 1 result from an estimated 1 matches for "rtnh_flag".
Did you mean:
rtnh_flags
2004 Aug 20
1
trouble with nexthop when I try to load balance
...nexthop via 200.200.200.254
The last command fails with the message:"RTNETLINK answers: Invalid argument".
I found a posts that says to fix the iproute2/ip/iproute.c:parse_nexthops()
with change like this:
rtnh->rtnh_ifindex = 0;
+ rtnh->rtnh_flags = 0;
+ rtnh->rtnh_hops = 0;
rta->rta_len += rtnh->rtnh_len;
I fixed the file, but get the same error "Invalid argument".
I don''t know why it fails. I have a 2.4.20 kernel with Julian Anastasov''s
patches. iproute2 version ss010824.
I really need the solution...