[CoovaChilli] how to DHCP relay
manpower.john999 at gmail.com
Wed Dec 14 09:17:59 GMT 2016
I found why the redirect problem occurred. It is because DSNmasq sent the
wrong dns server(127.0.0.1) to relay(coovahilli).
After modified the dns server address in function dhcp_relay_encaps() of
dhcp.c, it worked.
For your reference and thanks for your help.
2016-12-09 18:47 GMT+08:00 sebastian villalba <villalba.sebastian at gmail.com>
> Great I'm glad to read that.
> I'm gonna try that config later today and will let u know if I come across
> with any redirect problem. If I don't I can share my config with u.
> On Fri, Dec 9, 2016 at 2:35 AM John Jiang <manpower.john999 at gmail.com>
>> Hi Sebastian,
>> Thank you!! It works but it has another problems(e.g. not redirect to the
>> landing page).
>> Anyway, the relay setting works. Thanks for your kindly reply.
>> 2016-12-03 7:59 GMT+08:00 sebastian villalba <
>> villalba.sebastian at gmail.com>:
>> Hello i'd try this.
>> in coova chilli set the dhcpgateway to 127.0.0.1 (loopback ip), then the
>> dhcplisten parameter should be coovachilli's ip address. set the
>> dhcpgateway port to 67.
>> in dnsmasq set the listen ip to 127.0.0.1 and the listen interface to
>> i dont have a way of trying that right now but it may work. please let me
>> know if it works
>> from mexico
>> El vie., 2 de dic. de 2016 a la(s) 05:20, John Jiang <
>> manpower.john999 at gmail.com> escribió:
>> I want to use external dhcp server (Dnsmasq) for coovachilli. I know I
>> to setup the dhcp relay for this :
>> dhcpgateway=192.168.1.1 (dnsmasq's address)
>> dhcplisten=192.168.183.1 (uam server)
>> Both the coovachilli and dnsmasq are run on the same router.
>> I don't know how to set them working correctly.
>> Does the dhcpgateway mean where the dhcp server is ? Or is it a dhcp
>> And dhcplisten should be coovachilli itself ? Or is it a dhcp relay?
>> Could anyone help me to do this?
>> thanks very much.
>> CoovaChilli mailing list
>> CoovaChilli at brightonchilli.org.uk
More information about the CoovaChilli