From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?BALU_Fr=E9d=E9ric?= Date: Thu, 19 Jun 2003 07:20:56 +0000 Subject: [LARTC] Making packets be reflected in a router MIME-Version: 1 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C33633.5340E620" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C33633.5340E620 Content-Type: text/plain; charset="iso-8859-1" Hello, I use a debian 2.2 server, with 2 ethernet cards. For a course, I need to make packets from 192.168.1.0/24 to 192.168.2.0/24 go through eth0:0(192.168.1.254), another internal IP, again another internal then out to 192.168.2.0/24 by eth1:0 (192.168.2.254/0). Any idea on how to do this (I know this is NOT the mechanism a router may apply ...) ? eth0 : 192.168.1.1 eth0:0 : 192.168.1.254 eth0:1 : 192.168.3.254 eth0:2 : 192.168.5.254 eth1 : 192.168.2.1 eth1:0 : 192.168.2.254 eth1:1 : 192.168.3.254 eth1:2 : 192.168.5.254 Regards, -- M. BALU Frederic. ------_=_NextPart_001_01C33633.5340E620 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Making packets be reflected in a router

Hello,

 I use a debian 2.2 server, with 2 ethernet = cards.

 For a course, I need to make packets from = 192.168.1.0/24 to 192.168.2.0/24 go through eth0:0(192.168.1.254), = another internal IP, again another internal then out to 192.168.2.0/24 = by eth1:0 (192.168.2.254/0).

 Any idea on how to do this (I know this is NOT = the mechanism a router may apply ...) ?

eth0   : 192.168.1.1
eth0:0 : 192.168.1.254
eth0:1 : 192.168.3.254
eth0:2 : 192.168.5.254
eth1   : 192.168.2.1
eth1:0 : 192.168.2.254
eth1:1 : 192.168.3.254
eth1:2 : 192.168.5.254

Regards,
--
M. BALU Frederic.

------_=_NextPart_001_01C33633.5340E620-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/