Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jan 1998 18:50:07 +0100
From:      J Wunsch <j@uriah.heep.sax.de>
To:        Brian Somers <brian@awfulhak.org>
Cc:        John-Mark Gurney <gurney_j@efn.org>, freebsd-bugs@hub.freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: kern/5404: slXX slip (tun & ppp) interfaces always point to point
Message-ID:  <19980101185007.59283@uriah.heep.sax.de>
In-Reply-To: <199801011325.NAA17803@awfulhak.demon.co.uk>; from Brian Somers on Thu, Jan 01, 1998 at 01:25:32PM %2B0000
References:  <199801010130.RAA10049@hub.freebsd.org> <199801011325.NAA17803@awfulhak.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980101185007.59283>