All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] advanced routing for traffic generator-like setup
@ 2002-07-01  0:14 Filip Sneppe
  2002-07-04 14:49 ` bert hubert
  2002-07-04 17:48 ` LIEVEN
  0 siblings, 2 replies; 3+ messages in thread
From: Filip Sneppe @ 2002-07-01  0:14 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] advanced routing for traffic generator-like setup
  2002-07-01  0:14 [LARTC] advanced routing for traffic generator-like setup Filip Sneppe
@ 2002-07-04 14:49 ` bert hubert
  2002-07-04 17:48 ` LIEVEN
  1 sibling, 0 replies; 3+ messages in thread
From: bert hubert @ 2002-07-04 14:49 UTC (permalink / raw)
  To: lartc

On Mon, Jul 01, 2002 at 02:14:22AM +0200, Filip Sneppe wrote:

> 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.

Only by doing NAT at HostB. Linux is way to smart for this to work otherwise
:-)

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] advanced routing for traffic generator-like setup
  2002-07-01  0:14 [LARTC] advanced routing for traffic generator-like setup Filip Sneppe
  2002-07-04 14:49 ` bert hubert
@ 2002-07-04 17:48 ` LIEVEN
  1 sibling, 0 replies; 3+ messages in thread
From: LIEVEN @ 2002-07-04 17:48 UTC (permalink / raw)
  To: lartc

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

You can enable Zebra routing because both host are in different networks
maybe ripd a possible solution this issue


http://www.guadawireless.net
-.-.LievenX..--.

----- Mensaje Original -----
De: bert hubert <ahu@ds9a.nl>
Fecha: Jueves, Julio 4, 2002 4:49 pm
Asunto: Re: [LARTC] advanced routing for traffic generator-like setup

> On Mon, Jul 01, 2002 at 02:14:22AM +0200, Filip Sneppe wrote:
> 
> > 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.
> 
> Only by doing NAT at HostB. Linux is way to smart for this to work 
> otherwise:-)
> 
> Regards,
> 
> bert
> 
> -- 
> http://www.PowerDNS.com          Versatile DNS Software & Services
> http://www.tk                              the dot in .tk
> http://lartc.org           Linux Advanced Routing & Traffic 
> Control HOWTO
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 


[-- Attachment #2: Card for LIEVEN <LIEVEN@terra.es> --]
[-- Type: text/x-vcard, Size: 51 bytes --]

begin:vcard
n:;LievenX
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-04 17:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-01  0:14 [LARTC] advanced routing for traffic generator-like setup Filip Sneppe
2002-07-04 14:49 ` bert hubert
2002-07-04 17:48 ` LIEVEN

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.