From owner-freebsd-questions Mon Dec 17 16:13:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.avatar.com (ns1.avatar.com [199.33.206.1]) by hub.freebsd.org (Postfix) with ESMTP id 06B3F37B421 for ; Mon, 17 Dec 2001 16:13:29 -0800 (PST) Received: from tomcat (tomcat.avatar.com [199.33.206.20]) by ns1.avatar.com (Postfix) with SMTP id C3E99A4B11; Mon, 17 Dec 2001 16:13:28 -0800 (PST) From: "Kory Hamzeh" To: "David Greenman" Cc: Subject: RE: Does FBSD Support Unnumbered Links? Date: Mon, 17 Dec 2001 16:13:30 -0800 Message-ID: <005101c18758$d2c6cbc0$14ce21c7@avatar.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-Reply-To: <20011216223044.B92038@nexus.root.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > -----Original Message----- > From: David Greenman [mailto:dg@root.com] > Sent: Sunday, December 16, 2001 10:31 PM > To: Kory Hamzeh > Cc: freebsd-questions@freebsd.org > Subject: Re: Does FBSD Support Unnumbered Links? > Importance: High > > > > > >This is a 2nd try -- I did not get any replies to the first attempt. > > > >Does FBSD support unnumbered point-to-point links? I was asked > this question > >by someone recently. Based on what I could find out from the man pages, I > >think the answer is "no". Although I saw some references on > various mailing > >lists that 4.3 BSD release did support it. > > If I understand what you're asking, the answer is "yes", sort > of. You can > assign the local endpoint of a point-to-point as the same address as your > LAN address and FreeBSD will be happy. You need not allocate a seperate > address to the PTP circuit. > > -DG > Hi David, The interesting thing is that if you look at in_control() in /sys/netinet/in.c, ioctl()'s on unnumbered p-t-p link can fail because it looks the the local address to pick the right interface structure. In the case of unnumbered links, the local IP address is no longer unique, so the wrong interface will be used. Maybe I misunderstand how that function works. Kory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message