* [LARTC] Making packets be reflected in a router
@ 2003-06-06 8:30 BALU Frédéric
2003-06-10 7:38 ` BALU Frédéric
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: BALU Frédéric @ 2003-06-06 8:30 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 394 bytes --]
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 ...).
Regards,
--
M. BALU Frederic.
[-- Attachment #2: Type: text/html, Size: 933 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [LARTC] Making packets be reflected in a router
2003-06-06 8:30 [LARTC] Making packets be reflected in a router BALU Frédéric
@ 2003-06-10 7:38 ` BALU Frédéric
2003-06-11 5:16 ` BALU Frédéric
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: BALU Frédéric @ 2003-06-10 7:38 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
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 ...).
Regards,
--
M. BALU Frederic.
[-- Attachment #2: Type: text/html, Size: 920 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re:[LARTC] Making packets be reflected in a router
2003-06-06 8:30 [LARTC] Making packets be reflected in a router BALU Frédéric
2003-06-10 7:38 ` BALU Frédéric
@ 2003-06-11 5:16 ` BALU Frédéric
2003-06-11 6:32 ` BALU Frédéric
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: BALU Frédéric @ 2003-06-11 5:16 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
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 ...).
Regards,
--
M. BALU Frederic.
[-- Attachment #2: Type: text/html, Size: 929 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re:[LARTC] Making packets be reflected in a router
2003-06-06 8:30 [LARTC] Making packets be reflected in a router BALU Frédéric
2003-06-10 7:38 ` BALU Frédéric
2003-06-11 5:16 ` BALU Frédéric
@ 2003-06-11 6:32 ` BALU Frédéric
2003-06-16 17:56 ` [LARTC] " BALU Frédéric
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: BALU Frédéric @ 2003-06-11 6:32 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
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 ...).
Regards,
--
M. BALU Frederic.
[-- Attachment #2: Type: text/html, Size: 929 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [LARTC] Making packets be reflected in a router
2003-06-06 8:30 [LARTC] Making packets be reflected in a router BALU Frédéric
` (2 preceding siblings ...)
2003-06-11 6:32 ` BALU Frédéric
@ 2003-06-16 17:56 ` BALU Frédéric
2003-06-19 7:20 ` BALU Frédéric
2003-06-19 7:55 ` Giannis Stoilis
5 siblings, 0 replies; 7+ messages in thread
From: BALU Frédéric @ 2003-06-16 17:56 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
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 ...).
Regards,
--
M. BALU Frederic.
[-- Attachment #2: Type: text/html, Size: 920 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [LARTC] Making packets be reflected in a router
2003-06-06 8:30 [LARTC] Making packets be reflected in a router BALU Frédéric
` (3 preceding siblings ...)
2003-06-16 17:56 ` [LARTC] " BALU Frédéric
@ 2003-06-19 7:20 ` BALU Frédéric
2003-06-19 7:55 ` Giannis Stoilis
5 siblings, 0 replies; 7+ messages in thread
From: BALU Frédéric @ 2003-06-19 7:20 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 576 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 1327 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LARTC] Making packets be reflected in a router
2003-06-06 8:30 [LARTC] Making packets be reflected in a router BALU Frédéric
` (4 preceding siblings ...)
2003-06-19 7:20 ` BALU Frédéric
@ 2003-06-19 7:55 ` Giannis Stoilis
5 siblings, 0 replies; 7+ messages in thread
From: Giannis Stoilis @ 2003-06-19 7:55 UTC (permalink / raw)
To: lartc
----- Original Message -----
From: "BALU Frédéric" <frederic.balu@cegetel.fr>
To: <lartc@mailman.ds9a.nl>
Sent: ÐÝìðôç, 19 Éïõíßïõ 2003 10:20 ðì
Subject: [LARTC] 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
How many times are you going to send this e-mail, until you realize that
people in here don't know the answer? Anyways...
What you are trying to do, is somewhat impossible.
You CANNOT route traffic inside a linux box, between aliased interfaces. You
could, using some old kernels, but this feature was removed from the kernel
long ago. I remember seeing a patch somewhere but, if I remember correctly,
it us outdated.
Besides, when a subnet is connected directly on an interface, it is
automatically using a metric of 0, which automatically overrides any routing
command you may give. Any routing command uses the metric of 1 and above.
I wonder what EXACTLY were you supposed to do for the course, to imagine the
configuration you mentioned. I am curious...
- Giannis Stoilis
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-06-19 7:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-06 8:30 [LARTC] Making packets be reflected in a router BALU Frédéric
2003-06-10 7:38 ` BALU Frédéric
2003-06-11 5:16 ` BALU Frédéric
2003-06-11 6:32 ` BALU Frédéric
2003-06-16 17:56 ` [LARTC] " BALU Frédéric
2003-06-19 7:20 ` BALU Frédéric
2003-06-19 7:55 ` Giannis Stoilis
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.