[TriLUG] throttling bandwidth in a test environment
David Rasch
rasch at raschnet.com
Wed Aug 11 13:21:56 EDT 2004
Unfortunately, this isn't going to simulate a T1 very well as a
null-modem cable can only do 115200bps while a T1 can do approximately
1.5Mbps.
Other than the pf firewall mentioned by Aaron, I've done this previously
with a VPN connection. For example, openvpn has a "--shaper" parameter
which allows you to limit the speed of a connection to an arbitrary
number of bytes/sec.
David
On Wed, Aug 11, 2004 at 01:17:21PM -0400, Greg Brown <gregbrown at mindspring.com> wrote:
> I did this once at Oculan.. sort of. I had two ethernet segments with
> a "wan" in the middle... here's how I did it.
>
> Machine 1: ethernet port 192.168.13.1 network 192.168.13.0/24
> serial port 192.168.14.1
> Machine 2: serial port 192.168.14.2
> ethernet port 192.168.16.1 network 192.168.16.0/24
>
> I connected the serial ports via a null modem cable and, if memory
> serves, I used ppp to connected them together. Or was it slip? No, it
> was slip. I think this is the how-to webpage I used:
>
> http://www.dbaoncall.net/references/ht_connect_2pc.html
>
> That's about all I can recall, other than it worked. Hotgrits on the
> IRC channel might be able to help out with this, as I recall he was a
> wealth of knowledge regarding serial communication and linux.
>
> Greg
>
> On Wednesday, Aug 11, 2004, at 12:50 US/Eastern, Dan Monjar wrote:
>
> >
> >Anyone know of any techniques to throttle bandwidth on a LAN for
> >testing? We want to see how an application would run across a WAN of
> >varying bandwidth. How would I make a Ethernet segment throttle down
> >to something like T1 speeds?
> >
> >--
> >Dan Monjar
> >--
> >TriLUG mailing list :
> >http://www.trilug.org/mailman/listinfo/trilug
> >TriLUG Organizational FAQ : http://trilug.org/faq/
> >TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> >TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
> >
>
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.trilug.org/pipermail/trilug/attachments/20040811/4ac04b25/attachment.pgp>
More information about the TriLUG
mailing list