[Dnsmasq-discuss] Issues with multiple subnets on dnsmasq

Ryan Chapman ryan at rchapman.org
Mon Sep 3 18:02:27 BST 2012


On the host that pulls a 172.16.48 address, try a ping of 172.16.48.4 and then check the arp table to make sure it resolved to a hardware address.  If not, tcpdump arp traffic.

It might be interesting to see what an ifconfig, "route -n" and "arp -a" look like on the 172.16.48 host…


On Sep 3, 2012, at 7:29 AM, subhranshu dwivedi <subhranshu.dwivedi at erminsystems.com> wrote:

> Hi All,
> 
> I have Untangle with DNS masq setup at my end,
> 
> With interface:
> 
> External
> eth0      Link encap:Ethernet  HWaddr 00:04:23:c7:52:63  
>           inet addr:172.16.57.10  Bcast:172.16.57.255  Mask:255.255.255.0
> 
> INTERNAL
> eth1      Link encap:Ethernet  HWaddr 00:04:23:c7:52:62  
>           inet addr:172.16.48.4  Bcast:172.16.51.255  Mask:255.255.252.0
> DMZ
> eth2      Link encap:Ethernet  HWaddr 00:1b:21:0e:1f:46  
>           inet addr:172.16.48.110  Bcast:172.16.49.255  Mask:255.255.254.0
> 
> Extra ones: 
> eth3      Link encap:Ethernet  HWaddr fc:75:16:8e:57:2b  
>           inet addr:172.16.52.20  Bcast:172.16.53.255  Mask:255.255.254.0
> 
> eth4      Link encap:Ethernet  HWaddr fc:75:16:8e:57:42  
>           inet addr:172.16.56.2  Bcast:172.16.56.255  Mask:255.255.255.0
> 
> Now my dnsmasq.conf,
> 
> localise-queries
> server=202.56.224.135 # uplink.1
> server=59.144.127.16 # uplink.1
> expand-hosts
> addn-hosts=/etc/untangle-net-alpaca/dnsmasq-hosts
> no-hosts
> domain=bpl.netlink.com
> interface=eth1
> interface=eth3
> interface=eth4
> dhcp-range=eth1,172.16.49.101,172.16.49.254,14400
> dhcp-range=eth1,172.16.50.1,172.16.50.254,14400
> dhcp-range=eth1,172.16.51.101,172.16.51.254,14400
> dhcp-range=eth4,172.16.56.20,172.16.56.254,14400
> dhcp-range=eth3,172.16.52.21,172.16.53.254,14400
> dhcp-option=eth1,3,172.16.48.1
> dhcp-option=eth4,3,172.16.56.1
> dhcp-option=eth3,3,172.16.52.1
> dhcp-option=eth1,1,255.255.252.0
> dhcp-option=eth4,1,255.255.255.0
> dhcp-option=eth3,1,255.255.254.0
> dhcp-option=eth1,6,172.16.48.146,172.16.48.147
> dhcp-option=eth4,6,172.16.48.146,172.16.48.147
> dhcp-option=eth3,6,172.16.52.3,172.16.48.146
> dhcp-lease-max=500
> dhcp-host=00:13:02:a9:8b:57,172.16.48.106,24h
> dhcp-host=94:39:e5:e6:a7:cf,172.16.48.208,24h
> 
> 
> Now the issue is that i when we assign the ips with dnsmasq running with multiple subnets as mentioned we face issues with range 49:
> dhcp-range=eth1,172.16.49.101,172.16.49.254,14400
> dhcp-range=eth1,172.16.50.1,172.16.50.254,14400
> dhcp-range=eth1,172.16.51.101,172.16.51.254,14400
> 
> it assigns the 50 and 51 series fine with internet access but when assigns 49 series ip cant ping the untangles internal ip:172.16.48.4
> and hence no internet for 49 series 
> 
> Please suggest what can we do to resolve this.
> 
> -- 
> Best Regards,
>  
> Subhranshu Dwivedi
> Technology Support
> Ermin Systems
> subhranshu.dwivedi at erminsystems.com
>  
> Our Expertise: Consulting Services | Data Centre Solutions | Storage Solutions | Network Integration | IT Infrastructure Optimization | Managed Services | Software Licensing | Audio-Visual Integration| Database Migration | ERP Solutions| IVR Services | Virtualization |
> This email and any attachments are sent in confidence, subject to applicable legal privilege and upon the basis that the recipient will conduct appropriate virus checks. If you receive this email in error, please telephone us upon receipt: you are strictly prohibited from using, copying or disseminating it or any information contained in it, save to the intended recipient. Internet communications are not secure and Ermin Systems Pvt. Ltd. is not responsible for their abuse by third parties, nor for any alteration or corruption in transmission, nor for any damage or loss caused by any virus or other defects.
> P Please consider the environment before printing this e-mail.
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20120903/7a5bb32c/attachment.html>


More information about the Dnsmasq-discuss mailing list