Subject: Re: How to set outbound address?
To: Irving Reid <irving@border.com>
From: Alex Barclay <barclay@fairplay.cs.mci.com>
List: current-users
Date: 10/04/1995 09:09:13
-----BEGIN PGP SIGNED MESSAGE-----

On Oct 3,  4:17pm, Irving Reid wrote:
> I think the PPP in NetBSD is smart enough to allow you to use the same 
> IP address for your PPP and internal (Ethernet or whatever) interfaces. 
>  The routing tables can tell which interface to use by the destination 
> address.

NetBSD uses proxy arp for this. One gotcha that you may see is that if the
link is down but the proxy entry is there NetBSD will install an
"Unreachable" route so that next time a packet comes it will send the
unreachable immediately. You need to delete this and all other routes
relating to the ppp interface after ppp is brought up.

Also if you add a static route via the ppp if while the link is up it will
be shown as going via pppx. If you now take down the ppp if and bring it back
up again the static route will still be shown as going via ppp0 but it will
have become inherited (not sure about the use of this word) by ed0 and
subsequent packets will go that way. This is despite the fact that a
netstat -rn shows the interface as being ppp0. I'm not sure whether this is
worth doing a PR about. At the least netstat -rn is giving bad information.


Alex.

- -- 
Alex Barclay						Tel: +1 719 535 1455
BT Fraud Systems Development				Fax: +1 719 535 1870
Temporary Address:	1233/117 (C3-1307), MCI, 2424 Garden Of The Gods Rd,
			Colorado Springs, CO 80919, USA
Permanant Address:	MLBG/79, BT Laboratories, Martlesham Heath, Ipswich,
			IP5 7RE, UK


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMHKjkxdhYv13Bu+tAQHH4gP/RIugplWSyA3TdfHVKtsQHKRjwc3dDHd9
f24tYHAii39j4EMhy15tl9UxmPgFr4IyRe1vtv5hwL9qcSKVzenYdGEVlP5s6sRU
VsgImN3YIBnIA9otctaWlgj1Aos65ZnuCbbUpm6zNWfzN7ZePB/OAXwbas9fMwBg
UVr9dkUl/oE=
=XvBU
-----END PGP SIGNATURE-----