Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Tony Yat-Tung Cheung <dragonman@asiayeah.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Simulation with Packet Lost and Packet Delays (How to
Date: Wed, 24 Dec 2003 09:02:06 +0000	[thread overview]
Message-ID: <marc-lartc-107226000010382@msgid-missing> (raw)
In-Reply-To: <marc-lartc-107202103804758@msgid-missing>

[-- Attachment #1: Type: text/plain, Size: 1611 bytes --]


>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





[-- Attachment #2: Type: text/html, Size: 2507 bytes --]

  parent reply	other threads:[~2003-12-24  9:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-21 15:31 [LARTC] Simulation with Packet Lost and Packet Delays Tony Yat-Tung Cheung
2003-12-22 16:03 ` Stef Coene
2003-12-24  9:02 ` Tony Yat-Tung Cheung [this message]
2003-12-24 21:13 ` [LARTC] Simulation with Packet Lost and Packet Delays (How toset andybr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-107226000010382@msgid-missing \
    --to=dragonman@asiayeah.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox