search for: parse_nexthop

Displaying 1 result from an estimated 1 matches for "parse_nexthop".

Did you mean: parse_nexthops
2004 Aug 20
1
trouble with nexthop when I try to load balance
....100.1 dev eth1 ip route add default scope global nexthop via 100.100.100.254 \ 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 Jul...