Skip to contentSkip to conversation

network simulator

LARTC Florin Andrei 3 participants 4 messages Jun 26, 2007 – Jun 27, 2007

lore
Share & tools
lore
#0 lore raw

I want to build a "network simulator", to create scenarios such as delayed packets, lost packets, low bandwidth, or combinations of such.

This document has been helpful for everything except the bandwidth:

http://linux-net.osdl.org/index.php/Netem

There is some documentation here regarding bandwidth:

http://luxik.cdi.cz/~devik/qos/htb/

What's the best documentation to read so as to understand exactly how tc works and to be able to come up with my own list of commands to create the scenarios described above?

I have a fairly good understanding of the OS in general, networking, iptables, but I never used the LARTC features until now, so I guess I'm looking for the best starting point.

Thank you,

Signature · 7 lines
Florin Andrei

http://florin.myip.org/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#1 lore raw
Quoted 2 lines · Florin Andrei

I want to build a "network simulator", to create scenarios such as delayed packets, lost packets, low bandwidth, or combinations of such.

I guess I should be more specific:

The "simulator" is a dual-homed machine running Linux, sitting between a couple test servers and a bunch of workstations:

Servers------Simulator--------Workstations

Physically, the network is a mix of GigE and FastE.

The delay, loss and bandwidth constraints must be applied to all traffic going through the simulator. For now, there's no need to differentiate between the various protocols, addresses, etc. - everyone is equal.

The simulator is a plain router, nothing fancy. At most, it might NAT the addresses of the servers to IP aliases on the interface facing the workstations.

Signature · 7 lines
Florin Andrei

http://florin.myip.org/
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#2 lore raw
In reply to Florin Andrei

Hey,

Quoted 3 lines
Quoted 3 lines

I want to build a "network simulator", to create scenarios such as delayed packets, lost packets, low bandwidth, or combinations of such.

little offtopic here, but FreeBSD provides DummyNet, which can do what you want.

Regards

Signature · 7 lines
Frank Remetter
http://www.remetter.de/
GPG-FP: 2B07 B7D8 5C27 AB94 7A37  8B0B DEBE DD89 D68B 7BE6
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
#3 lore raw
In reply to Florin Andrei

http://linux-net.osdl.org/index.php/Netem

as well ...

charles

Quoted 10 lines · Frank Remetter

Hey,

Quoted 3 lines
Quoted 3 lines

I want to build a "network simulator", to create scenarios such as delayed packets, lost packets, low bandwidth, or combinations of such.

little offtopic here, but FreeBSD provides DummyNet, which can do what you want.

Regards

Signature · 7 lines
"simplified chinese" is not nearly as easy as they would
have you believe ... a superlative oxymoron" --anonymous

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc