Hi. /31 on ethernet links

Sebastian Hyrwall sh at keff.org
Fri Oct 30 22:27:37 UTC 2009


Freddie Cash skrev:
> Reading the man page for ifconfig will show the "ptp" option for 
> ifconfig, that configures the interface as a point-to-point 
> interface..  :)
>

It will also show that it seems to be only for bridgeing,

# ifconfig  fxp0 ptp fxp0
ifconfig: unable to get bridge flags: Invalid argument

>
>
> On Fri, Oct 30, 2009 at 5:22 PM, Sebastian Hyrwall <sh at keff.org 
> <mailto:sh at keff.org>> wrote:
>
>     Chuck Swiger skrev:
>
>         On Oct 30, 2009, at 4:46 PM, Sebastian Hyrwall wrote:
>
>             Is there any way to use /31's on ordinary ethernet links
>             in 7.2? "ifconfig addr dest-addr" does not work either. It
>             keeps setting the last ip as broadcast.
>
>
>         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.
>
>         Regards,
>
>     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.
>
>     Sincerely,
>
>     Sebastian H
>     _______________________________________________
>     freebsd-net at freebsd.org <mailto:freebsd-net at freebsd.org> mailing list
>     http://lists.freebsd.org/mailman/listinfo/freebsd-net
>     To unsubscribe, send any mail to
>     "freebsd-net-unsubscribe at freebsd.org
>     <mailto:freebsd-net-unsubscribe at freebsd.org>"
>
>
>
>
> -- 
> Freddie Cash
> fjwcash at gmail.com <mailto:fjwcash at gmail.com>



More information about the freebsd-net mailing list