Re: help tgt segfault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FUJITA Tomonori schrieb:
On Tue, 03 Feb 2009 11:46:35 +0100
Tomasz Chmielewski <mangoo@xxxxxxxx> wrote:

FUJITA Tomonori schrieb:

(...)

2) you use slow network in this configuration, as you said before?
Yes.
Slow connection is just 5 kB/s in both directions.
It's easy to reproduce the problem this way.
Slow link is the third target above.
So the connections between the target box and 192.168.4.52 are slow
while the connections between the target box and 192.168.111.173 is
not slow.

Right?
Yes, it is correct.
But I'm sure the same will happen with only one target connected (using a slow link).

OK, I guess that I need to see if I can reproduce it.

Is there a good way to emulate a slow link?

I use OpenVPN for that and a basic configuration with no encryption.
OpenVPN is shipped with most distributions. It needs "tun" kernel module.

Commands I used.

First machine:

openvpn --remote 192.168.111.177 --dev tun --ifconfig 192.168.4.52 192.168.4.51 --verb 1 --comp-lzo \
       --resolv-retry 999999 --ping-restart 120 --ping 6 --port 5123 --fragment 1400 --mssfix 1400 \
       --shaper 5000

Second machine:

openvpn --remote 192.168.111.175 --dev tun --ifconfig 192.168.4.51 192.168.4.52 --verb 1 --comp-lzo \
       --resolv-retry 999999 --ping-restart 120 --ping 6 --port 5123 --fragment 1400 --mssfix 1400 \
       --shaper 5000


--shaper 5000 - it is about 5 kB/s

Change --remote addresses to match your IP addresses.

After running these two commands, you should be able to ping 192.168.4.52, 192.168.4.51 from both hosts.


--
Tomasz Chmielewski
http://wpkg.org
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux