cvs commit: src/sys/netinet in.c

Brian Somers brian at
Tue Aug 30 12:48:41 GMT 2005

On Mon, 29 Aug 2005 08:59:30 +0000 (UTC) Gleb Smirnoff <glebius at> wrote:
> glebius     2005-08-29 08:59:30 UTC
>   FreeBSD src repository
>   Modified files:        (Branch: RELENG_5)
>     sys/netinet          in.c 
>   Log:
>   MFC 1.87:
>     In order to support CARP interfaces kernel was taught to handle more
>     than one interface in one subnet. However, some userland apps rely on
>     the believe that this configuration is impossible.
>     Add a sysctl switch net.inet.ip.same_prefix_carp_only. If the switch
>     is on, then kernel will refuse to add an additional interface to
>     already connected subnet unless the interface is CARP. Default
>     value is off.
>     PR:                           bin/82306
>     In collaboration with:        mlaier
>   Revision  Changes    Path
>  +12 -2     src/sys/netinet/in.c

This would be much more useful on a per-interface level, although
it would be a bit awkward to implement.

This change allows a (user) ppp server machine to allocate dynamic
IP numbers properly again, but I don't know if documenting it is the
right way to go...

Brian Somers                                          <brian at>
Don't _EVER_ lose your sense of humour !               <brian at>

More information about the cvs-src mailing list