Simulation with Packet Lost and Packet Delays
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
Quoted 9 lines · Tony Yat-Tung Cheung
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
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] Simulation with Packet Lost and Packet Delays (How to
In reply to Tony Yat-Tung CheungQuoted 16 lines
From: Stef Coene <[email protected]>
To: [email protected],
Tony Yat-Tung Cheung <[email protected]>, [email protected]
Subject: Re: [LARTC] Simulation with Packet Lost and Packet Delays
Date: Mon, 22 Dec 2003 17:03:27 +0100Quoted 6 lines · Tony Yat-Tung Cheung
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.
Quoted 10 lines
Quoted 5 lines
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
Re: [LARTC] Simulation with Packet Lost and Packet Delays (How toset
In reply to Tony Yat-Tung CheungDid you try a traceroute from subnet so you can see where fails because if you a linux box with two nics,
eth0: 192.168.0.1/24 and eth1: 192.168.1.1/24, behind the linux computer A: 192.168.0.2/24 gw 192.168.0.1, computer B: 192.168.1.2/24 gw 192.168.1.1, you must be able to ping from a to b or vice-versa unless if you set a rule to not do it. Check it out and return.
[]´s
Anderson
Quoted 4 lines
Quoted 4 lines
From: Stef Coene <[email protected]>
To: [email protected],
Tony Yat-
Tung Cheung <[email protected]>, [email protected]. nl
Quoted 1 line
Quoted 1 line
Subject: Re: [LARTC] Simulation with Packet Lost and P
acket Delays
Quoted 3 lines
Quoted 3 lines
Date: Mon, 22 Dec 2003 17:03:27 +0100
On Sunday 21 December 2003 16:31, Tony Yat-
Quoted 5 lines · Tung Cheung
Quoted 5 lines
Quoted 5 lines
Hi All,
I would like to be able to simulate network congestio
n and delay on
Quoted 1 line
Quoted 1 line
Quoted 1 line
tcp/udp connections between two hosts. I would need t
o simulate packet
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
lost and packet delay.
I think I would need to use a Linux box with two netw
ork cards to act as
Quoted 1 line
Quoted 1 line
Quoted 1 line
a pass-
through ethernet bridge. Is it the case? Does this how- to guide
Quoted 11 lines
Quoted 8 lines
Quoted 3 lines
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
Quoted 3 lines
briefly on a Red Hat 7.2 and it seems to work fine.
I have another basic question and I would if anyone cou
ld help me out.
Quoted 2 lines
Basically, I am trying a setup a Linux router between t
wo local subnets,
Quoted 1 line
192.168.0.1/24 and 192.168.1.1/24. My Linux box has two
ethernet cards,
Quoted 1 line
eth0 has IP address 192.168.0.1 (subnet mask 255.255.25
5.0) and eth1 has
Quoted 1 line
IP address 192.168.1.1 (subnet mask: 255.255.255.0). No
w I wish my Linux
Quoted 8 lines
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 = 1However, it doesn't seem to work right now. Is there an
ything else I
Quoted 1 line
need to do? I wish to set it up quickly and would appre
ciate any advice!
Quoted 10 lines
Thank you.
Best Regards,
Tony Cheung
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/