Re: curl-loader crashing network on ubuntu machine
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2008-04-02 10:03:12
|
Hi, On Wed, Apr 2, 2008 at 12:12 PM, MLVJ <ml...@ya...> wrote: > > The problem seems to be that curl-loader changes the > routing table, and blonks out the management interface > route. > > Here's the route -n before running curl: > route -n > Kernel IP routing table > Destination Gateway Genmask Flags > Metric Ref Use Iface > 10.59.70.64 0.0.0.0 255.255.255.240 U > 0 0 0 eth0 > 10.59.241.128 0.0.0.0 255.255.255.224 U > 0 0 0 eth1 > 0.0.0.0 10.59.70.65 0.0.0.0 UG > 100 0 0 eth0 > 0.0.0.0 10.59.241.129 0.0.0.0 UG > 100 0 0 eth1 > > ...and after running curl there's a new default route: > route -n > Kernel IP routing table > Destination Gateway Genmask Flags > Metric Ref Use Iface > 10.59.70.64 0.0.0.0 255.255.255.240 U > 0 0 0 eth0 > 10.59.241.128 0.0.0.0 255.255.255.224 U > 0 0 0 eth1 > 0.0.0.0 10.59.70.65 0.0.0.0 UG > 100 0 0 eth0 > 0.0.0.0 10.59.241.129 0.0.0.0 UG > 100 0 0 eth1 > 10.59.0.0 0.0.0.0 255.255.0.0 U > 0 0 0 eth0 (something like that) > > so maybe an issue with the netmask, set to 16 in the > bulk.conf example. I have just set this to 25 (what > the actual netmask should be). Let's try that. Gosh it > didn't kill the network, and this route was added: > 10.59.250.0 0.0.0.0 255.255.255.128 U > 0 0 0 eth0 Good analyzes! Y mean netmask 24 (not 25), worth trying it. curl-loader opens the secondary ip-addreses similar to the command #ip from the iproute or iproute2 package. try to add these addresses by the command # ip add .... (man ip) If you see, that a new route appears, this means, that this is a kernel's decision logic. Y can argue at linux-netdev, whether the logic is appropriate. The simplest way to workaround it could be to edit the routing table using either of the commands: route ip. Sorry, curl-loader is a userland application and is not in position to control the kernel's decisions. Sincerely, Robert Iakobashvili "Light will come from Jerusalem" ........................................................... http://curl-loader.sourceforge.net An open-source web testing and traffic generation. |