Re: how does curl-loader use RTNETLINK
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2008-02-20 17:45:09
|
Hi Javier, On Feb 20, 2008 7:32 PM, Javier Miranda <jam...@in...> wrote: > add_secondary_ip_addrs - setting secondary IP 10.111.111.150 > rtnl_talk(): RTNETLINK answers: File exists This means, that the secondary IP-address has been already added to the interface, thus, it will be re-used > > add_secondary_ip_addrs - note: probably, the IP-address > "10.111.111.150/24" already exists. > > this is not really a problem when using the loader, but when I use the > same ip used by another machine (e.g. a virtual machine), the virtual > client replaces it (supplanting) and the host became unreachable (even > when curl-loader is down). Why to use the same IP? Y can use any IP-addresses, from any networks, just ensure routing. > Do you know how to delete the file which is referenced by rtnl_talk() > ?, or if there is another way to solve this problem. Sure. The command ip is your friend: like # ip addr del ..... look at #man ip Sincerely, Robert Iakobashvili "Light will come from Jerusalem" ........................................................... http://curl-loader.sourceforge.net An open-source web testing and traffic generation. |