not adding duplicate interface

Gerald Carter gcarter at valinux.com
Thu Feb 1 15:47:06 GMT 2001


Herb Lewis wrote:
> 
> The file lib/interface.c in the function add_interface first does a
> check to see if the interfaces are on the same subnet and if so
> does not add them printing out the above message at debug level 3.
> 
> This prevents you from using "bind interfaces only = yes" to bind to
> multiple interfaces on the same subnet or to ipaliases on the same
> interface while excluding other unwanted IP addresses.
> 
> What was the reasoning behind this test? If it was to truely exclude
> duplicates then the same_net function needs to be changed and not
> mask the ip address with the netmask.

Did you ever get this resolved herb?






Cheers, jerry

-- 
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )






More information about the samba-technical mailing list