[OT] Re: dhcp relay

Thomas Liske liske at ibh.de
Tue Oct 13 12:01:04 UTC 2009


Hi,

wlanmac wrote:
> As mentioned, you shouldn't have two DHCP servers listening for

I now it's OT, but:

It's _absolute legal_ (to get some high available) to have more than one 
DHCP server on the same network segment.

Poor man's scenario:

DHCP servers with non overlaping pools (any DHCP server(s)) and 
identical static assignments.

Rich man's scenario:

DHCP server cluster with some replication mechanism (like ISC DHCPD 
version >= 3) and possible overlaping pools and identical static 
assignments.


Getting a HA chilli is another topic I ponder about from time to time ;).


Regards,
Thomas

> broadcasts, but your dhcp relay configuration is starting to look good.
> Though, do be sure that the real dhcp server isn't also replying
> directly to the same request. 
> 
> You might also consider using MAC authentication and Framed-IP-Address
> in an Access-Accept to set "static" IP addresses in your network based
> on MAC address. 
> 
> David
> 
> On Tue, 2009-10-13 at 11:30 +0300, Oguzhan Kayhan wrote:
>> Last correction
>> dhcpgateway 192.168.1.10
>> dhcpgatewayport 67
>> dhcprelayagent  192.168.255.1
>> usetap
>>
>>
>> with this config, it seems client gets necessary ip address which i set on
>> dhcp server running on 192.168.1.10  but on syslog,
>> i keep on getting
>>
>>
>> Oct 13 11:28:44 gw coova-chilli[13573]: dhcp.c: 2262: received DHCP
>> response from host other than our gateway
>> Oct 13 11:28:44 gw coova-chilli[13573]: chilli.c: 4164:
>> dhcp_relay_decaps() failed!
>>
>>
>> But it seems everything is working..
>>
>> So is there a real error, or is it just a bug that keeps on giving this
>> msgs..
>>
>>
>>
>>
>>> Anybody??? :)
>>>
>>> I made a few tests more..
>>> I installed dhcp server to another server.
>>> And i also installed coova.
>>> Lets assume DHCP server is on 192.168.1.10
>>> and coova wan ip is 192.168.1.11
>>> So what i need to enter on coova config i guess is,
>>>
>>> But when i enter dhcpgateway 192.168.1.10
>>>
>>> the msg i got on syslog is
>>>
>>> Oct 13 11:00:04 gw coova-chilli[11812]: dhcp.c: 2262: received DHCP
>>> response from host other than our gateway
>>> Oct 13 11:00:04 gw coova-chilli[11812]: chilli.c: 4164:
>>> dhcp_relay_decaps() failed!
>>>
>>> if i enter dhcprelayagent 192.168.1.10
>>>
>>> nothing happens..it still gives the ip addresses from coova.
>>>
>>> Anybody experienced about that????
>>>
>>>
>>>
>>>
>>>> Hello,
>>>> I wonder am i thinking wrong about dhcprelay..
>>>>
>>>> I am planning to run a dhcpserver on same server with coova.
>>>> And i want to disable coova's own dhcp server, so i can give static ip's
>>>> to some of MACID's (like printers etc)
>>>> I dont wanna use anyip and and dynamic-static ip masks.
>>>> Because it creates other problems too.
>>>>
>>>>
>>>> As i see it seems possible  via freeradius+jradius.
>>>> What i wonder how (or can I) can i set coova to use local dhcp server
>>>> instead of its own or freeradius..
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: chilli-unsubscribe at coova.org
>>>> For additional commands, e-mail: chilli-help at coova.org
>>>> http://www.coova.org/CoovaChilli
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: chilli-unsubscribe at coova.org
>>> For additional commands, e-mail: chilli-help at coova.org
>>> http://www.coova.org/CoovaChilli
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: chilli-unsubscribe at coova.org
>> For additional commands, e-mail: chilli-help at coova.org
>> http://www.coova.org/CoovaChilli
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: chilli-unsubscribe at coova.org
> For additional commands, e-mail: chilli-help at coova.org
> http://www.coova.org/CoovaChilli
> 


-- 
support at ibh.de                              Tel. +49 351 477 77 30
www.ibh.de                                  Fax  +49 351 477 77 39

-----------------------------------------------------------------------
Dipl.-Ing. Thomas Liske
Netzwerk- und System-Design


IBH IT-Service GmbH                         Amtsgericht Dresden
Gostritzer Str. 61-63                       HRB 13626
D-01217 Dresden                             GF: Prof. Dr. Thomas Horn
Germany                                     VAT DE182302907
-----------------------------------------------------------------------
Ihr Partner für: LAN, WAN IP-Quality, Security, VoIP, SAN, Backup, USV
-----------------------------------------------------------------------
        professioneller IT-Service - kompetent und zuverlässig
-----------------------------------------------------------------------



More information about the Chilli mailing list