[Dnsmasq-discuss] DHCP over 2 NICs

rath at mglug.de rath at mglug.de
Tue Feb 28 16:50:37 GMT 2012


 Hi Helmut,

 dnsmasq finds the right interface with the static address automaticly. 
 If you write interface=.. you discard the use of the others.

 Simply delete the interface=.. line and your dnsmasq should run fine.

 Hth,
 Oliver

 On 28 Feb 2012 17:33:00 +0100, Helmut Hullen wrote:
> Hallo,
>
> on 2 schools in the neighbourhood we try to connect clients with the
> server (DHCP and many other services) via DHCP.
>
> With 1 NIC all works fine, something like
>
>   interface=eth0
>   dhcp-range=192.168.0.220,192.168.0.240,3d
>
> allows static addresses (defined on the client), DHCP addresses 
> defined
> by "dhcp-host=..." and "free" addresses from the above range.
>
> When we install a second NIC (especially for the private smartphones
> etc) and add the lines
>
>   interface=eth1
>   dhcp-range=192.168.4.10,192.168.4.250,1d
>
> then we can see that pinging over the second card works, routing too.
> When "dnsmasq" gets started then it also tells the new dhcp range.
>
> But if the client has no fixed address then it never gets an IP 
> address
> for the second NIC. We had reduced the range for the first card, we
> remmed it out - nothing did help.
>
> How have we to tell dnsmasq using the second card (and its dhcp 
> range)
> too?
>
> Viele Gruesse!
> Helmut
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss




More information about the Dnsmasq-discuss mailing list