From owner-freebsd-bugs Thu Jan 1 09:51:59 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA25191 for bugs-outgoing; Thu, 1 Jan 1998 09:51:59 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA25185; Thu, 1 Jan 1998 09:51:51 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id SAA26371; Thu, 1 Jan 1998 18:51:39 +0100 (CET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.8.8/8.8.5) id SAA17185; Thu, 1 Jan 1998 18:50:08 +0100 (MET) Message-ID: <19980101185007.59283@uriah.heep.sax.de> Date: Thu, 1 Jan 1998 18:50:07 +0100 From: J Wunsch To: Brian Somers Cc: John-Mark Gurney , freebsd-bugs@hub.freebsd.org, freebsd-hackers@freebsd.org Subject: Re: kern/5404: slXX slip (tun & ppp) interfaces always point to point Reply-To: Joerg Wunsch References: <199801010130.RAA10049@hub.freebsd.org> <199801011325.NAA17803@awfulhak.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801011325.NAA17803@awfulhak.demon.co.uk>; from Brian Somers on Thu, Jan 01, 1998 at 01:25:32PM +0000 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Brian Somers wrote: > I intended to remove the possibility of netmasks and broadcast > addresses for pointopoint links, but retrospectively, this will break > the ability to attach to a peer that proxy arps for you (well, it's > already broken). Why? Proxyarping is done on the Ethernet interface, and this one still has a netmask. > I would suggest (and I'm willing to do it) adding the ability to use > SIOCSIFPOINTOPOINT and SIOCGIFPOINTOPOINT on sl* ppp* and tun*. The > default is that these interfaces are pointopoint, but you can change > that by issuing the `S' ioctl. Nope, you can't. `p2p' is an unchangeable attribute of an interface, see IFF_CANTCHANGE in /sys/net/if.h. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)