Interface binding problem
Hello, I'm trying to setup FreeRADIUS in a testing setup where the IP address to which it binds needs to be set. The RADIUS server is loaded on-demand on a number of machines, where almost all configuration is the same, except for the IP address to which it needs to listen. Normally this would be setup in the configuration file, but this means that either I can't have a centralized configuration file (which makes things very complicated, as I'm trying to provide a standard service in an experimental environment), or the configuration file needs to be changed before every FreeRADIUS startup, which also is very inconvenient. I'd like to set it up with the commandline switch (-i <ip-addr>), but this does not seem to work (tested on versions 0.2, 1.0.1 and 1.2): the server only takes the address from the configuration file and completely ignores the commandline switch. I do realise that the commandline switch is deprecated, but is it possible to get this to work somehow? Kind regards, Marcel de Boer
On Tue 29 Aug 2006 18:40, Marcel.De_Boer@alcatel.be wrote:
Hello,
I'm trying to setup FreeRADIUS in a testing setup where the IP address to which it binds needs to be set. The RADIUS server is loaded on-demand on a number of machines, where almost all configuration is the same, except for the IP address to which it needs to listen.
Normally this would be setup in the configuration file, but this means that either I can't have a centralized configuration file (which makes things very complicated, as I'm trying to provide a standard service in an experimental environment), or the configuration file needs to be changed before every FreeRADIUS startup, which also is very inconvenient.
I'd like to set it up with the commandline switch (-i <ip-addr>), but this does not seem to work (tested on versions 0.2, 1.0.1 and 1.2): the server only takes the address from the configuration file and completely ignores the commandline switch. I do realise that the commandline switch is deprecated, but is it possible to get this to work somehow?
Firstly, you can always include a file with local config details. I believe that will solve your problem. Secondly, the command line switch should work I believe. If it doesn't we needs to look at it :-) -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Marcel.De_Boer@alcatel.be wrote:
I'd like to set it up with the commandline switch (-i <ip-addr>), but this does not seem to work (tested on versions 0.2, 1.0.1 and 1.2): the server only takes the address from the configuration file and completely ignores the commandline switch. I do realise that the commandline switch is deprecated, but is it possible to get this to work somehow?
You may try a nightly CVS snapshot. I think the -i and -p options are fixed in CVS. -- Nicolas Baradakis
Nicolas Baradakis wrote:
I'd like to set it up with the commandline switch (-i <ip-addr>), but this does not seem to work (tested on versions 0.2, 1.0.1 and 1.2): the server only takes the address from the configuration file and completely ignores the commandline switch. I do realise that the commandline switch is deprecated, but is it possible to get this to work somehow?
You may try a nightly CVS snapshot. I think the -i and -p options are fixed in CVS.
Yes, they are; thank you very much! The CVS snapshot indicates that this will be version 2.0. Is this the next planned release or is it more like a development branch which is maintained together with a stable 1.1-branch? (I'm trying to figure out if it's worthwhile to wait for the next released version or just use a 'stable enough' CVS snapshot for the time being if a release that fixes these options isn't planned for some time.) Thanks very much again! Kind regards, Marcel
Marcel.De_Boer@alcatel.be wrote:
The CVS snapshot indicates that this will be version 2.0. Is this the next planned release or is it more like a development branch which is maintained together with a stable 1.1-branch?
We plan on releasing 2.0 this fall, based on what's in CVS. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
Nicolas Baradakis wrote:
I'd like to set it up with the commandline switch (-i <ip-addr>), but this does not seem to work (tested on versions 0.2, 1.0.1 and 1.2): the server only takes the address from the configuration file and completely ignores the commandline switch. I do realise that the commandline switch is deprecated, but is it possible to get this to work somehow?
You may try a nightly CVS snapshot. I think the -i and -p options are fixed in CVS.
It took a while to check out the 1.1.x CVS branch (company proxy server was in the way...), but I managed to test it with that version too; although the options are fixed in 2.0, it doesn't work in 1.1. I've tried to backport the changes from the 2.0 branch, but there are too many changes for me to properly port it... We'd prefer to use version 1.1.3 for our test setups, because most of our customers probably won't be upgrading to 2.0 until it's been out for quite some time.. Kind regards, Marcel
participants (5)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Marcel.De_Boer@alcatel.be -
Nicolas Baradakis -
Peter Nixon