Yes well this worked. I can’t believe I have been stuffing around with this all 
this time. Oh well, don’t look back.

Anyway I am interested in the mac based tagging below. Do you still add the 
interface?

Regards
Michael Knill




On 25 Oct 2014, at 1:05 am, Lonnie Abelbeck <[email protected]> wrote:

Hi Michael,

The dnsmasq options can be confusing.  To make sure we are on the the page, the 
dnsmasq.conf is something the web interface generates and you do not edit, and 
the dnsmasq.static is something you can edit.

A few points the may help:

1)  dnsmasq acts as the TFTP server (if enabled).  By default the TFTP server 
is available for any interface with DHCP enabled and binds to each DHCP 
interface's IP address.

2) Starting with AstLinux 1.1.4, dnsmasq added an option to allow the TFTP 
server on interfaces other than DHCP enabled interfaces, that is done via 
dnsmasq.static and "enable-tftp" and a list of interface names, for example:
--
enable-tftp=eth1,eth2,eth3
-- or --
enable-tftp=eth*
--

Given that, why are you still using TFTP ?  :-)  It would seem HTTP/HTTPS might 
be a better choice...

In the SVN we just added this to the default dnsmasq.static file for added 
information:
--
## IP Phone Provisioning
## More Info: http://doc.astlinux.org/userdoc:tt_ip_phone_provisioning
## Yealink HTTPS provisioning
#dhcp-mac=set:yealink,00:15:65:*:*:*
#dhcp-option=tag:yealink,option:tftp-server,"https://pbx/phoneprov/yealink/";
## SNOM HTTPS provisioning
#dhcp-mac=set:snom,00:04:13:*:*:*
#dhcp-option=tag:snom,option:tftp-server,"https://pbx/phoneprov/snom/";
--
Which makes another point...

3) The dnsmasq.static file may define the: dhcp-option=option:tftp-server,"..." 
which can be set to a URL the IP Phone will use for it's provisioning rather 
than the default TFTP server IPv4 address.

4) When configuring dnsmasq.static, a handy CLI utility in AstLinux is 
"dhcpdump <-i interface> [-h macaddress]" to monitor what is going on.

And finally, consider using the new'ish "PhoneProv Tab" feature of AstLinux: 
http://doc.astlinux.org/userdoc:tt_ip_phoneprov_howto


Lonnie



On Oct 24, 2014, at 3:44 AM, Michael Knill <[email protected]> 
wrote:

> Hi group
> 
> Could someone please let me know how the TFTP Server address is determined.
> 
> My standard build uses VLAN’s and on LAN2 DNS/DHCP is configured where LAN1 
> has just DNS.
> The TFTP server is given as an IP Address in dnsmasq.conf
> 
> If however I don’t have a Voice VLAN and everything is on LAN1 with DNS/DHCP 
> then the TFTP Server address is the hostname.
> Why is it different? It makes it messy if the interface is not the DNS server 
> for the network.
> 
> Obviously not a big one as I can adjust in dnsmasq.static, I was just 
> wondering why!
> 
> Regards
> Michael Knill




------------------------------------------------------------------------------
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].


------------------------------------------------------------------------------
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to