Re: DHCP with multiple interfaces

2011-10-18 Thread Alan DeKok
Francois Gaudreault wrote: > Another quick question, if we want to use perl in the "dhcp > DHCP-Discover" section, which sub should I redefine in the perl script? post-auth - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: DHCP with multiple interfaces

2011-10-18 Thread Francois Gaudreault
HI Alan, On 11-10-18 3:37 PM, Alan DeKok wrote: You configure different virtual servers. See raddb/sites-available/README Right. That one was obvious. Sorry about that :S It was not clear that the listen statement was also supporting the virtual-server flag. Maybe I am tired... PS. By

Re: DHCP with multiple interfaces

2011-10-18 Thread Alan DeKok
Francois Gaudreault wrote: > I configured (basic) DHCP on two different interfaces : ... > I need to establish a different (basic for now) lease policy by > interface (ie. different network range). How can I know from which > interface the request came? You configure different virtual servers.

DHCP with multiple interfaces

2011-10-18 Thread Francois Gaudreault
Hi, I configured (basic) DHCP on two different interfaces : listen { ipaddr = * port = 67 type = dhcp interface = eth0 broadcast = yes } listen { ipaddr = * port = 67 type = dhcp interface = eth1.102 broadcast = yes } I need