From: Filip Sneppe <filip.sneppe@chello.be>
To: lartc@vger.kernel.org
Subject: [LARTC] advanced routing for traffic generator-like setup
Date: Mon, 01 Jul 2002 00:14:22 +0000 [thread overview]
Message-ID: <marc-lartc-102548174524204@msgid-missing> (raw)
Hi,
Given the following two variations of the same setup:
HostA ------------------ HostB
eth0: eth0:
1.1.1.1/24 1.1.1.2/24
2.2.2.1/24 2.2.2.2/24
and:
HostA HostB
eth0:1.1.1.1/24 ------------ eth0:1.1.1.2/24
eth1:2.2.2.1/24 ------------ eth1:2.2.2.2/24
(basically same setup but with two NICs on each host)
How does one set up advanced routing so that when
HostA sends a packet from 1.1.1.1 to 2.2.2.1, it
goes via HostB, and vice versa: a packet from
2.2.2.1 to 1.1.1.1 also goes via HostB.
This setup would allow me to do traffic-generator/
troughput-like tests when HostB is a low-end machine.
I have been fiddling around with ip route/ip rule,
but the biggest problem I seem te be having is that
when I change/delete an entry from the local table,
HostA no longer replies to ARP queries on the wire.
Thanks in advance,
Filip
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2002-07-01 0:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-01 0:14 Filip Sneppe [this message]
2002-07-04 14:49 ` [LARTC] advanced routing for traffic generator-like setup bert hubert
2002-07-04 17:48 ` LIEVEN
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-102548174524204@msgid-missing \
--to=filip.sneppe@chello.be \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.