Hi. /31 on ethernet links
sh at keff.org
Fri Oct 30 23:19:47 UTC 2009
Chuck Swiger skrev:
> On Oct 30, 2009, at 5:22 PM, Sebastian Hyrwall wrote:
>>> A /31 subnet is only defined for point-to-point network links, per:
>>> 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 22.214.171.124 inet 126.96.36.199
> ...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.
Unfortunetly that doesn't work. It just sets 188.8.131.52 as broadcast.
Well wrapping a /31 inside of a /30 kinda defeats the purpose :)
If Cisco,Linux and NetBSD support it so should FreeBSD imho.
More information about the freebsd-net