Hello Freeradius-Users, Is there any way to reference hostname (in fact hostname -s) in configuration files, in order to have identical configuration files tree on both a normal and a backup freeradius 2.1.8 server ?
For example, to manage differents listen addresse on normal and backup : suppose a variable %{hostname} contains result of command hostname -s, On both normal and backup servers, we could have this : $INCLUDE %{hostname}.listen.conf # expands as $INCLUDE normal.listen.conf on so called normal server # expands as $INCLUDE backup.listen.conf on so called backup server /etc/raddb/normal.listen.conf : listen { type = auth port = 1812 ipaddr = 10.1.1.1 } listen { type = acct port = 1813 ipaddr = 10.1.1.1 } ..... /etc/raddb/backup.listen.conf listen { type = auth port = 1812 ipaddr = 10.1.1.2 } listen { type = acct port = 1813 ipaddr = 10.1.1.2 } ..... best regards, Fred - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html