lkml.org 
[lkml]   [1996]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IP forwarding and ICMP redirects
[lots deleted]
Marc Roger said:
>
> What if I have the following topology:
>
> ----- ----- -----
> | A | | B | | C |
> -+--- --+-- --+--
> | | |
> -----+------------+---------------------+-------+------
> |
> --+--
> | D |
> --+--
> |
> ------------------+-------------------------------------
>
> A, B (def. gw), C being routers, and D being a Linux router and terminal
server.
> Assuming thta A,B,C and D don't run a routing protocol, doesn't D need both
> IP_forwarding and ICMP redirects processing for optimal use ?

Depends. I believe gated etc will solve this, but it may be overkill. If you
have a small number of machines, or all of a subnet, behind D, you can simply
proxy arp for them at D (ie D responds to arp requests on behalf of the
machines behind it with its own hardware address and forwards the packets). As
far as machines A, B and C are concerned everything behind D appears to be on
the local net. All machines behind D use D as the default router. This is how I
handle my network at home living off a PPP connection a machine on the net at
work; the rest of the machines at work just see my machines as if they were
local, meaning I don't have to mess with the gateway at work. Works a charm.

Oh, all this assumes that A, B and C have all of D and the things behind it
covered by a route out the local interface.

David
>
> --
> Marc Roger
>


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.095 / U:2.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site