Hi, I'm new to the community. I need to insert a hostname in the client IP field in RADIUS configuration. When I try, the answer is "ivalid ip address". Can someone help me? Thanks...
Share this post:
Responses (6)
-
Accepted Answer
It is asking for an IP address and not a hostname. The use of hostnames is not recommended by the authors of Freeradius and therefore have not been allowed by ClearOS.
Here is an excerpt from /etc/raddb/clients.conf:#
# A note on DNS: We STRONGLY recommend using IP addresses
# rather than host names. Using host names means that the
# server will do DNS lookups when it starts, making it
# dependent on DNS. i.e. If anything goes wrong with DNS,
# the server won't start!
#
# The server also looks up the IP address from DNS once, and
# only once, when it starts. If the DNS record is later
# updated, the server WILL NOT see that update.
#
-
Accepted Answer
-
Accepted Answer
Thanks for your reply. The problem is that IP is dynamic and so I need a dynamic dns to refer to it. I had read in the documentation that you could enter a "hostname"
Documentation
Is there a different way to solve the problem?
Thanks -
Accepted Answer
But if you understood the quote from /etc/raddb/clients.conf, the hostname is evaluated once only and even if the IP changes the Radius will keep pointing to the old IP so using the hostname will fail. If the host is getting its IP from the DHCP server, can you use "Static Leases" in the DHCP server so it always gets the same IP? -
Accepted Answer
-
Accepted Answer
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »