Warning: Ignoring duplicate client

George Chelidze george.chelidze at magticom.ge
Tue Jun 1 15:54:33 CEST 2021


Hello,

I am trying setup a sample dhcp server with freeradius 3.0.22. The same 
configuration is working fine with freeradius-3.0.12. The only 
difference is a warning at the end of server's startup:

Ignoring duplicate client 10.0.0.0

There is just one entry in clients.conf:

client x {
     ipaddr = 10.0.0.0/8
     secret = xxxxxx
}

What else can be the reason for this warning?

debug output:

# /opt/freeradius-server/sbin/radiusd -X
FreeRADIUS Version 3.0.22
Copyright (C) 1999-2021 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file 
/opt/freeradius-server-3.0.22/share/freeradius/dictionary
including dictionary file 
/opt/freeradius-server-3.0.22/share/freeradius/dictionary.dhcp
including dictionary file 
/opt/freeradius-server-3.0.22/share/freeradius/dictionary.vqp
including configuration file 
/opt/freeradius-server-3.0.22/etc/raddb/radiusd.conf
including configuration file 
/opt/freeradius-server-3.0.22/etc/raddb/clients.conf
including files in directory 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/
including configuration file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/dhcp
including configuration file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/linelog
including configuration file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
including files in directory 
/opt/freeradius-server-3.0.22/etc/raddb/sites-enabled/
including configuration file 
/opt/freeradius-server-3.0.22/etc/raddb/sites-enabled/dhcp
main {
  security {
      user = "radiusd"
      group = "radiusd"
      allow_core_dumps = no
  }
     name = "radiusd"
     prefix = "/opt/freeradius-server-3.0.22"
     localstatedir = "/opt/freeradius-server-3.0.22/var"
     logdir = "/opt/freeradius-server-3.0.22/var/log"
     run_dir = "/opt/freeradius-server-3.0.22/var/run"
}
main {
     name = "radiusd"
     prefix = "/opt/freeradius-server-3.0.22"
     localstatedir = "/opt/freeradius-server-3.0.22/var"
     sbindir = "/opt/freeradius-server-3.0.22/sbin"
     logdir = "/opt/freeradius-server-3.0.22/var/log"
     run_dir = "/opt/freeradius-server-3.0.22/var/run"
     libdir = "/opt/freeradius-server-3.0.22/lib"
     radacctdir = "/opt/freeradius-server-3.0.22/var/log/radacct"
     hostname_lookups = no
     max_request_time = 30
     cleanup_delay = 5
     max_requests = 16384
     pidfile = "/opt/freeradius-server-3.0.22/var/run/radiusd.pid"
     checkrad = "/opt/freeradius-server-3.0.22/sbin/checkrad"
     debug_level = 0
     proxy_requests = no
  log {
      stripped_names = no
      auth = yes
      auth_badpass = yes
      auth_goodpass = yes
      colourise = yes
      msg_denied = "You are already logged in - access denied"
  }
  resources {
  }
  security {
      max_attributes = 200
      reject_delay = 1.000000
      status_server = no
      allow_vulnerable_openssl = "no"
  }
}
radiusd: #### Loading Realms and Home Servers ####
radiusd: #### Loading Clients ####
  client x {
      ipaddr = 10.0.0.0/8
      require_message_authenticator = no
      secret = <<< secret >>>
   limit {
       max_connections = 16
       lifetime = 0
       idle_timeout = 30
   }
  }
Debugger not attached
radiusd: #### Instantiating modules ####
  modules {
   # Loaded module rlm_dhcp
   # Loading module "dhcp" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/dhcp
   # Loaded module rlm_linelog
   # Loading module "dhcp_log" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/linelog
   linelog dhcp_log {
       filename = 
"/opt/freeradius-server-3.0.22/var/log/debug/dhcp-log-%Y%m%d"
       escape_filenames = no
       syslog_severity = "info"
       permissions = 384
       group = "radiusd"
       reference = 
"messages.%{%{%{reply:DHCP-Message-Type}:-%{request:DHCP-Message-Type}}:-default}"
   }
   # Loaded module rlm_always
   # Loading module "reject" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   always reject {
       rcode = "reject"
       simulcount = 0
       mpp = no
   }
   # Loading module "fail" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   always fail {
       rcode = "fail"
       simulcount = 0
       mpp = no
   }
   # Loading module "ok" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   always ok {
       rcode = "ok"
       simulcount = 0
       mpp = no
   }
   # Loading module "handled" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   always handled {
       rcode = "handled"
       simulcount = 0
       mpp = no
   }
   # Loading module "invalid" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   always invalid {
       rcode = "invalid"
       simulcount = 0
       mpp = no
   }
   # Loading module "userlock" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   always userlock {
       rcode = "userlock"
       simulcount = 0
       mpp = no
   }
   # Loading module "notfound" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   always notfound {
       rcode = "notfound"
       simulcount = 0
       mpp = no
   }
   # Loading module "noop" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   always noop {
       rcode = "noop"
       simulcount = 0
       mpp = no
   }
   # Loading module "updated" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   always updated {
       rcode = "updated"
       simulcount = 0
       mpp = no
   }
   # Instantiating module "dhcp_log" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/linelog
   # Instantiating module "reject" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   # Instantiating module "fail" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   # Instantiating module "ok" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   # Instantiating module "handled" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   # Instantiating module "invalid" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   # Instantiating module "userlock" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   # Instantiating module "notfound" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   # Instantiating module "noop" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
   # Instantiating module "updated" from file 
/opt/freeradius-server-3.0.22/etc/raddb/mods-enabled/always
  } # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /opt/freeradius-server-3.0.22/etc/raddb/radiusd.conf
} # server
server dhcp { # from file 
/opt/freeradius-server-3.0.22/etc/raddb/sites-enabled/dhcp
  # Loading dhcp DHCP-Discover {...}
Compiling dhcp DHCP-Discover for attr DHCP-Message-Type
  # Loading dhcp DHCP-Request {...}
Compiling dhcp DHCP-Request for attr DHCP-Message-Type
  # Loading dhcp DHCP-Decline {...}
Compiling dhcp DHCP-Decline for attr DHCP-Message-Type
  # Loading dhcp DHCP-Inform {...}
Compiling dhcp DHCP-Inform for attr DHCP-Message-Type
  # Loading dhcp DHCP-Release {...}
Compiling dhcp DHCP-Release for attr DHCP-Message-Type
} # server dhcp
radiusd: #### Opening IP addresses and Ports ####
listen {
       type = "dhcp"
       ipaddr = 0.0.0.0
       port = 67
  client x {
      ipaddr = 10.0.0.0/8
      require_message_authenticator = no
      secret = <<< secret >>>
   limit {
       max_connections = 16
       lifetime = 0
       idle_timeout = 30
   }
  }
Ignoring duplicate client 10.0.0.0
No "interface" setting is defined.  Only unicast DHCP will work
}
Listening on dhcp address * port 67 bound to server dhcp
Ready to process requests


Thanks in advance,

George Chelidze



More information about the Freeradius-Users mailing list