Re: IP forwarding and ICMP redirects

David Monro (davidm@cs.su.oz.au)
Tue, 16 Apr 1996 01:15:55 +1000 (EST)


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