On 16/01/14 07:11, Prashant Abhang wrote:
Hi all,
I was wondering that is it possible get interface name from which the ip
is given to client?
I know there is option of dhcp-script which gives up MAC, IP and
hostname of client. But in addition to that can I get the interface
from which the ip is given? I need it because I have two and more
interfaces running dnsmasq with different IP range(VLAN Scenario).
Yes, the name of the interface is in the environment variable
DNSMASQ_INTERFACE when the script is run. If the only reason you need
this is allocate the correct address range to the correct interface,
then you don't need it - dnsmasq will do that automatically.
Cheers,
Simon.
Thanks and Regards,
Prashant Abhang
_______________________________________________
Dnsmasq-discuss mailing list
[email protected]
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
[email protected]
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss