Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2009 15:37:25 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Sebastian Hyrwall <sh@keff.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Hi. /31 on ethernet links
Message-ID:  <BCE5F8B9-D52A-4F58-A5B9-DDDCF78B7D1B@mac.com>
In-Reply-To: <4AEB834D.1050907@keff.org>
References:  <4AEB7AE8.5090101@keff.org> <18C758A7-1908-4D1A-BDCA-80FF7FD8BC22@mac.com> <4AEB834D.1050907@keff.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 30, 2009, at 5:22 PM, Sebastian Hyrwall wrote:
>> A /31 subnet is only defined for point-to-point network links, per:
>>
>>  http://www.rfc-editor.org/rfc/rfc3021.txt
>>
>> Ordinary ethernet links have BROADCAST flag set instead of  
>> POINTOPOINT.
>>
>
> Well how do I set the POINTOPOINT flag and remove the BROADCAST-flag  
> on ethernet links? Or are you implying that it does not belong on  
> ethernet links :)  Cause Cisco and Linux support /31 (ptp's) on  
> ordinary ethernet links.

Ethernet point-to-point links are normally handled by ppp / pppd in  
PPPoE mode, but possibly something like:

   ifconfig en0 inet 192.1.1.10 inet 192.1.1.2

...would give you a POINTOPOINT link instead.  If not, you can  
probably fake things out by either using a /30 and wrapping the /31  
inside, or using  a /32 and an explicit default route via your  
ethernet interface.

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BCE5F8B9-D52A-4F58-A5B9-DDDCF78B7D1B>