<p dir="ltr">FYI /etc/config/dhcp is compiled into /var/etc/dnsmasq.conf, I believe /etc/dnsmasq.conf is not used</p>
<div class="gmail_quote">On 19 Jan 2013 02:40, "Richard Brown" <<a href="mailto:Rich.Brown@intermapper.com">Rich.Brown@intermapper.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div style="word-wrap:break-word">
Dave,
<div><br>
</div>
<div>
<div>
<blockquote type="cite">Could you post the generated dnsmasq.conf file and your network file and cc steven barth?<br>
</blockquote>
<div class="gmail_quote"><font color="#0f61c8"><br>
</font></div>
<div class="gmail_quote"><font color="#0f61c8">Here's my /etc/dnsmasq.conf file and the /etc/config/network file. (I have taken out the hemet credentials (!))</font></div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote"><font color="#0f61c8">I don't have Steven Barth's address.</font></div>
<div class="gmail_quote"><font color="#0f61c8"><br>
</font></div>
<div class="gmail_quote"><font color="#0f61c8">Rich</font></div>
<div class="gmail_quote"><font color="#0f61c8">
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">--------------------------</div>
<div class="gmail_quote">root@OpenWrt:/tmp# cat /etc/config/network</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config interface 'loopback'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ifname 'lo'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option proto 'static'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ipaddr '127.0.0.1'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option netmask '255.0.0.0'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config interface 'se00'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ifname 'se00'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option proto 'static'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ipaddr '172.30.42.1'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option netmask '255.255.255.224'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ip6assign '64'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config interface 'ge00'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ifname 'ge00'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option proto 'dhcp'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config interface 'ge01'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ifname '@ge00'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option proto 'dhcpv6'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option broadcast '1'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option metric '2048'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option reqprefix '60'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config interface 'sw00'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option type 'none'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option proto 'static'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ipaddr '172.30.42.65'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option netmask '255.255.255.224'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ip6assign '64'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config interface 'sw10'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option type 'none'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option proto 'static'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ipaddr '172.30.42.97'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option netmask '255.255.255.224'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ip6assign '64'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config switch</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option name 'rtl8366s'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option reset '1'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option enable_vlan '0'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option blinkrate '2'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option max_length '3'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config switch_vlan</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option device 'rtl8366s'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option vlan '1'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ports '0 1 2 3 5t'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config switch_port</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option device 'rtl8366s'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option port '1'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option led '6'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config switch_port</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option device 'rtl8366s'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option port '2'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option led '9'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config switch_port</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option device 'rtl8366s'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option port '5'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option led '2'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config interface 'gw00'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option type 'none'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option proto 'static'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ipaddr '172.30.42.129'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option netmask '255.255.255.224'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ip6assign '64'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config interface 'gw10'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option type 'none'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option proto 'static'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ipaddr '172.30.42.161'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option netmask '255.255.255.224'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ip6assign '64'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config interface 'gw01'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option proto 'ahcp'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config interface 'gw11'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option proto 'ahcp'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">config interface 'henet'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option proto '6in4'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option mtu '1424'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ttl '64'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option peeraddr '<a href="tel:209.51.161.14" value="+12095116114" target="_blank">209.51.161.14</a>'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ip6addr 'xxxx::2/64'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option ip6prefix 'xxxx::/48'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option tunnelid '#######'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option username 'tbxxxxxx'</div>
<div class="gmail_quote"><span style="white-space:pre-wrap"></span>option password 'xxxxxxxx'</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">----------------------------------------------------</div>
<div class="gmail_quote">root@OpenWrt:/etc# cat dnsmasq.conf </div>
<div class="gmail_quote"># Change the following lines if you want dnsmasq to serve SRV</div>
<div class="gmail_quote"># records.</div>
<div class="gmail_quote"># You may add multiple srv-host lines.</div>
<div class="gmail_quote"># The fields are <name>,<target>,<port>,<priority>,<weight></div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote"># A SRV record sending LDAP for the <a href="http://example.com" target="_blank">
example.com</a> domain to</div>
<div class="gmail_quote"># <a href="http://ldapserver.example.com" target="_blank">ldapserver.example.com</a> port 289</div>
<div class="gmail_quote">#srv-host=_ldap._<a href="http://tcp.example.com" target="_blank">tcp.example.com</a>,<a href="http://ldapserver.example.com" target="_blank">ldapserver.example.com</a>,389</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote"># Two SRV records for LDAP, each with different priorities</div>
<div class="gmail_quote">#srv-host=_ldap._<a href="http://tcp.example.com" target="_blank">tcp.example.com</a>,<a href="http://ldapserver.example.com" target="_blank">ldapserver.example.com</a>,389,1</div>
<div class="gmail_quote">#srv-host=_ldap._<a href="http://tcp.example.com" target="_blank">tcp.example.com</a>,<a href="http://ldapserver.example.com" target="_blank">ldapserver.example.com</a>,389,2</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote"># A SRV record indicating that there is no LDAP server for the domain</div>
<div class="gmail_quote"># <a href="http://example.com" target="_blank">example.com</a></div>
<div class="gmail_quote">#srv-host=_ldap._<a href="http://tcp.example.com" target="_blank">tcp.example.com</a></div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote"># The following line shows how to make dnsmasq serve an arbitrary PTR</div>
<div class="gmail_quote"># record. This is useful for DNS-SD.</div>
<div class="gmail_quote"># The fields are <name>,<target></div>
<div class="gmail_quote">#ptr-record=_http._tcp.dns-sd-services,"New Employee Page._http._tcp.dns-sd-services"</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote"># Change the following lines to enable dnsmasq to serve TXT records.</div>
<div class="gmail_quote"># These are used for things like SPF and zeroconf.</div>
<div class="gmail_quote"># The fields are <name>,<text>,<text>...</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">#Example SPF.</div>
<div class="gmail_quote">#txt-record=<a href="http://example.com" target="_blank">example.com</a>,"v=spf1 a -all"</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">#Example zeroconf</div>
<div class="gmail_quote">#txt-record=_http._<a href="http://tcp.example.com" target="_blank">tcp.example.com</a>,name=value,paper=A4</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote"># Provide an alias for a "local" DNS name. Note that this _only_ works</div>
<div class="gmail_quote"># for targets which are names from DHCP or /etc/hosts. Give host</div>
<div class="gmail_quote"># "bert" another name, bertrand</div>
<div class="gmail_quote"># The fields are <cname>,<target></div>
<div class="gmail_quote">#cname=bertand,bert</div>
<div class="gmail_quote"><br>
</div>
</font></div>
</div>
</div>
</div>

<br>_______________________________________________<br>
Cerowrt-devel mailing list<br>
<a href="mailto:Cerowrt-devel@lists.bufferbloat.net">Cerowrt-devel@lists.bufferbloat.net</a><br>
<a href="https://lists.bufferbloat.net/listinfo/cerowrt-devel" target="_blank">https://lists.bufferbloat.net/listinfo/cerowrt-devel</a><br>
<br></blockquote></div>