From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Yat-Tung Cheung Date: Sun, 21 Dec 2003 15:31:09 +0000 Subject: [LARTC] Simulation with Packet Lost and Packet Delays MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------070409000708060106070802" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. --------------070409000708060106070802 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi All, I would like to be able to simulate network congestion and delay on tcp/udp connections between two hosts. I would need to simulate packet lost and packet delay. I think I would need to use a Linux box with two network cards to act as a pass-through ethernet bridge. Is it the case? Does this how-to guide provides good information in this area? Thank you very much! Any advice will be much appreciated. Best Regards, Tony Cheung --------------070409000708060106070802 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All,

I would like to be able to simulate network congestion and delay on tcp/udp connections between two hosts. I would need to simulate packet lost and packet delay.

I think I would need to use a Linux box with two network cards to act as a pass-through ethernet bridge. Is it the case? Does this how-to guide provides good information in this area?

Thank you very much! Any advice will be much appreciated.

Best Regards,
Tony Cheung
--------------070409000708060106070802-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Mon, 22 Dec 2003 16:03:27 +0000 Subject: Re: [LARTC] Simulation with Packet Lost and Packet Delays Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Sunday 21 December 2003 16:31, Tony Yat-Tung Cheung wrote: > Hi All, > > I would like to be able to simulate network congestion and delay on > tcp/udp connections between two hosts. I would need to simulate packet > lost and packet delay. > > I think I would need to use a Linux box with two network cards to act as > a pass-through ethernet bridge. Is it the case? Does this how-to guide > provides good information in this area? http://snad.ncsl.nist.gov/itg/nistnet/ Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Yat-Tung Cheung Date: Wed, 24 Dec 2003 09:02:06 +0000 Subject: Re: [LARTC] Simulation with Packet Lost and Packet Delays (How to MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------070207020902010504000701" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org This is a multi-part message in MIME format. --------------070207020902010504000701 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit >From: Stef Coene >To: tony.cheung@asiayeah.com, > Tony Yat-Tung Cheung , lartc@mailman.ds9a.nl >Subject: Re: [LARTC] Simulation with Packet Lost and Packet Delays >Date: Mon, 22 Dec 2003 17:03:27 +0100 > >On Sunday 21 December 2003 16:31, Tony Yat-Tung Cheung wrote: > > >>Hi All, >> >>I would like to be able to simulate network congestion and delay on >>tcp/udp connections between two hosts. I would need to simulate packet >>lost and packet delay. >> >>I think I would need to use a Linux box with two network cards to act as >>a pass-through ethernet bridge. Is it the case? Does this how-to guide >>provides good information in this area? >> >> >http://snad.ncsl.nist.gov/itg/nistnet/ > >Stef > > Hi Stef and others, Thanks. The NISTNET looks like a very decent package. I have tried it briefly on a Red Hat 7.2 and it seems to work fine. I have another basic question and I would if anyone could help me out. Basically, I am trying a setup a Linux router between two local subnets, 192.168.0.1/24 and 192.168.1.1/24. My Linux box has two ethernet cards, eth0 has IP address 192.168.0.1 (subnet mask 255.255.255.0) and eth1 has IP address 192.168.1.1 (subnet mask: 255.255.255.0). Now I wish my Linux box to be able to route traffic between eth0 and eth1. I have modified '/etc/sysctl.conf' to, # Controls IP packet forwarding net.ipv4.ip_forward = 1 However, it doesn't seem to work right now. Is there anything else I need to do? I wish to set it up quickly and would appreciate any advice! Thank you. Best Regards, Tony Cheung --------------070207020902010504000701 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
From: Stef Coene <stef.coene@docum.org>
To: tony.cheung@asiayeah.com,
	Tony Yat-Tung Cheung <dragonman@asiayeah.com>, lartc@mailman.ds9a.nl
Subject: Re: [LARTC] Simulation with Packet Lost and Packet Delays
Date: Mon, 22 Dec 2003 17:03:27 +0100

On Sunday 21 December 2003 16:31, Tony Yat-Tung Cheung wrote:
  
Hi All,

I would like to be able to simulate network congestion and delay on
tcp/udp connections between two hosts. I would need to simulate packet
lost and packet delay.

I think I would need to use a Linux box with two network cards to act as
a pass-through ethernet bridge. Is it the case? Does this how-to guide
provides good information in this area?
    
http://snad.ncsl.nist.gov/itg/nistnet/

Stef
  
Hi Stef and others,

Thanks. The NISTNET looks like a very decent package. I have tried it briefly on a Red Hat 7.2 and it seems to work fine.

I have another basic question and I would if anyone could help me out.

Basically, I am trying a setup a Linux router between two local subnets, 192.168.0.1/24 and 192.168.1.1/24. My Linux box has two ethernet cards, eth0 has IP address 192.168.0.1 (subnet mask 255.255.255.0) and eth1 has IP address 192.168.1.1 (subnet mask: 255.255.255.0). Now I wish my Linux box to be able to route traffic between eth0 and eth1.

I have modified '/etc/sysctl.conf' to,

# Controls IP packet forwarding
net.ipv4.ip_forward = 1

However, it doesn't seem to work right now. Is there anything else I need to do? I wish to set it up quickly and would appreciate any advice!

Thank you.

Best Regards,
Tony Cheung




--------------070207020902010504000701-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: "andybr" Date: Wed, 24 Dec 2003 21:13:15 +0000 Subject: Re: [LARTC] Simulation with Packet Lost and Packet Delays (How toset Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Did you try a traceroute from subnet so you can see=20 where fails because if you a linux box with two nics,=20 eth0: 192.168.0.1/24 and eth1: 192.168.1.1/24, behind=20 the linux computer A: 192.168.0.2/24 gw 192.168.0.1,=20 computer B: 192.168.1.2/24 gw 192.168.1.1, you must be=20 able to ping from a to b or vice-versa unless if you set=20 a rule to not do it. Check it out and return. []=B4s Anderson >=20 > >From: Stef Coene > >To: tony.cheung@asiayeah.com, > > Tony Yat- Tung Cheung , lartc@mailman.ds9a. nl > >Subject: Re: [LARTC] Simulation with Packet Lost and P acket Delays > >Date: Mon, 22 Dec 2003 17:03:27 +0100 > > > >On Sunday 21 December 2003 16:31, Tony Yat- Tung Cheung wrote: > > =20 > > > >>Hi All, > >> > >>I would like to be able to simulate network congestio n and delay on > >>tcp/udp connections between two hosts. I would need t o simulate packet > >>lost and packet delay. > >> > >>I think I would need to use a Linux box with two netw ork cards to act as > >>a pass- through ethernet bridge. Is it the case? Does this how- to guide > >>provides good information in this area? > >> =20 > >> > >http://snad.ncsl.nist.gov/itg/nistnet/ > > > >Stef > > =20 > > > Hi Stef and others, >=20 > Thanks. The NISTNET looks like a very decent package. I have tried it=20 > briefly on a Red Hat 7.2 and it seems to work fine. >=20 > I have another basic question and I would if anyone cou ld help me out. >=20 > Basically, I am trying a setup a Linux router between t wo local subnets,=20 > 192.168.0.1/24 and 192.168.1.1/24. My Linux box has two ethernet cards,=20 > eth0 has IP address 192.168.0.1 (subnet mask 255.255.25 5.0) and eth1 has=20 > IP address 192.168.1.1 (subnet mask: 255.255.255.0). No w I wish my Linux=20 > box to be able to route traffic between eth0 and eth1. >=20 > I have modified '/etc/sysctl.conf' to, >=20 > # Controls IP packet forwarding > net.ipv4.ip_forward =3D 1 >=20 > However, it doesn't seem to work right now. Is there an ything else I=20 > need to do? I wish to set it up quickly and would appre ciate any advice! >=20 > Thank you. >=20 > Best Regards, > Tony Cheung >=20 >=20 >=20 >=20 >=20 =20 __________________________________________________________________________ Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - =C9 gr=E1tis! http://antipopup.uol.com.br/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/