not adding duplicate interface

Herb Lewis herb at chomps.engr.sgi.com
Tue Jan 23 18:12:01 GMT 2001


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.

Thoughts?
-- 
======================================================================
Herb Lewis                               Silicon Graphics 
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
======================================================================




More information about the samba-technical mailing list