Subject: Re: Unnumbered interfaces and routing entries
To: Heiko W.Rupp <hwr@pilhuhn.de>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: tech-net
Date: 08/10/1998 16:04:55
On Mon, Aug 10, 1998 at 12:06:13PM +0200, Heiko W.Rupp wrote:
> Hi,
> 
> on Cisco routers, you can have only one ip address for the entire box
> (at least if you have only one ethernet and multiple p2p interfaces)
> and have routes go to interfaces rather than gateway adresses.
> 
> (e.g. ip route a.b.c.d mask serial5 )
> 
> Is something like (e.g. route add a.b.c.d ppp0) this planned to
> support on NetBSD ?

The 4.4BSD routing doesn't go to interfaces, but rather:

- if it is a broadcast medium, to the network address (local address masked
by netmask)

- if it is a p2p interface, to the REMOTE address of the link, not to the local
one.

The local address of a p2p link is use to create the from IP address, and to
decide packets are "ours", but not for the outgoing routing.

Regards,
	Ignatios