On Thu, Dec 06, 2001 at 09:23:32PM +0100, Joerg Wunsch wrote: > Ruslan Ermilov <[EMAIL PROTECTED]> wrote: > > > ISTR that I4B uses some special magical destination address for some > > purpose (0.0.0.0 or something). > > The magical destination address is 0.0.0.1. It is used as a > `placeholder' address for the remote side, so you can add a route to > it. > > Should probably be extended to 0.0.0.*, so you can add more than one > interface that way. (The actual PPP negotiation for the remote side > is simply told to acceppt any suggested address, but this address is > then ignored, and the local end still uses 0.0.0.1 for routing > purposes. This is a big hack, but the only feature you lose is to > directly access your remote router. Any other packets have a > destination address different from the remote router anyway.) > > phk has chosen 0.0.0.1 since it obviously cannot be a meaningful > statically configured address. > OK, but is it really necessary? It's much simpler to add routes over P2P interfaces using the interface name rather than the ``other end's IP address'':
route add default -iface tun0 Cheers, -- Ruslan Ermilov Oracle Developer/DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message