Skip to contentSkip to conversation

how to create a high latency link ?

LARTC Pascal OFFREDO 4 participants 4 messages Mar 26, 2004 – Mar 28, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I'd like to create a high latency link between 2 machines ( more than 700 ms round trip) for simulation purpose.

Is it possible to do that with linux qos management software ?

thanks

Pascal OFFREDO

___[ Pub ]____________________________________________________________ Inscrivez-vous gratuitement sur Tandaime et gagnez un voyage à Venise www.Tandaime.com/index.php?origine=4 Tandaime, et la vie vous sourit !

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 6 lines · Pascal OFFREDO

Hi,

I'd like to create a high latency link between 2 machines ( more than 700 ms round trip) for simulation purpose.

Is it possible to do that with linux qos management software ?

Yes, it is possible.
Check latest rc from 2.4 or 2.6. It contains sch_delay that can do this.

You also need:
http://developer.osdl.org/shemminger/tcp/iproute2-delay.tar.bz2

Example:
tc qdisc add dev eth0 root delay latency 25ms rate 100mbit

Good luck!

Quoted 7 lines

thanks

Pascal OFFREDO

Quoted 8 lines

___[ Pub ]____________________________________________________________ Inscrivez-vous gratuitement sur Tandaime et gagnez un voyage à Venise www.Tandaime.com/index.php?origine=4 Tandaime, et la vie vous sourit !

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

---
Catalin(ux) BOIE
[email protected]
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Pascal OFFREDO

That's great!

now I can use the uid match of iptables, together with MARK, to make really good shapers for some people.... like "tc qdisc add dev eth0 root delay latency 2000ms rate 1k", I think I will use it for that guy who tries to be funny all the time. users will long hair, a nice dress and smiling get the full 10Mb.. :)

Quoted 35 lines · On Fri, 26 Mar 2004 13:39:26 +0200 (EET) Catalin BOIE <[email protected]>…
Quoted 6 lines · Pascal OFFREDO

Hi,

I'd like to create a high latency link between 2 machines ( more than 700 ms round trip) for simulation purpose.

Is it possible to do that with linux qos management software ?

Yes, it is possible.
Check latest rc from 2.4 or 2.6. It contains sch_delay that can do this.

You also need:
http://developer.osdl.org/shemminger/tcp/iproute2-delay.tar.bz2

Example:
tc qdisc add dev eth0 root delay latency 25ms rate 100mbit

Good luck!

Quoted 7 lines

thanks

Pascal OFFREDO

Quoted 7 lines

___[ Pub ]____________________________________________________________ www.Tandaime.com/index.php?origine=4 Tandaime, et la vie vous sourit !

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Quoted 7 lines

---
Catalin(ux) BOIE
[email protected]
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Pascal OFFREDO
Quoted 8 lines · Catalin BOIE
Quoted 6 lines · Pascal OFFREDO

Hi,

I'd like to create a high latency link between 2 machines ( more than 700 ms round trip) for simulation purpose.

Is it possible to do that with linux qos management software ?

Quoted 9 lines

Yes, it is possible.
Check latest rc from 2.4 or 2.6. It contains sch_delay that can do this.

You also need:
http://developer.osdl.org/shemminger/tcp/iproute2-delay.tar.bz2

Example:
tc qdisc add dev eth0 root delay latency 25ms rate 100mbit

or try nistnet:
http://snad.ncsl.nist.gov/itg/nistnet/

Stef
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/