Re: dnsmasq configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2009-03-28 at 11:54 +1100, Simon Slater wrote:
> 	G'day all,
> 		I've a qustion about the dhcp server configuration in dnsmasq.  The
> way I've configured it it is listening on eth1 as it ought, but is
> offering on eth0 which it oughtn't.  What have I missed in the
> configuration?
> 
> # Configuration file for dnsmasq.
> #
> interface=eth1
> except-interface=eth0
> dhcp-range=192.168.1.100,192.168.1.199,255.255.255.0,10m
> dhcp-option=28,192.168.1.255
> log-queries
> log-dhcp
> [simon@dell ~]$
> and /var/log/messages:
> Mar 28 11:45:33 dell dnsmasq[12161]: DHCP packet: transaction-id is
> 1613319306          
> Mar 28 11:45:33 dell dnsmasq[12161]: Available DHCP range: 192.168.1.100
> --
> 192.168.1.199                                                                                       
> Mar 28 11:45:33 dell dnsmasq[12161]: DHCPDISCOVER(eth1) 192.168.1.103
> 00:10:5a:62:2a:a5 
> Mar 28 11:45:33 dell dnsmasq[12161]: DHCPOFFER(eth1) 192.168.1.103
> 00:10:5a:62:2a:a5    
> Mar 28 11:45:33 dell dnsmasq[12161]: requested options: 1:netmask,
> 28:broadcast, 2:time-offset,
> 3:router,                                                                       
> Mar 28 11:45:33 dell dnsmasq[12161]: requested options: 15:domain-name,
> 6:dns-server,
> 12:hostname,                                                                              
> Mar 28 11:45:33 dell dnsmasq[12161]: requested options: 40:nis-domain,
> 41:nis-server,
> 42:ntp-server                                                                             
> Mar 28 11:45:33 dell dnsmasq[12161]: sent size:  1 option:
> 53:message-type  02          
> Mar 28 11:45:33 dell dnsmasq[12161]: sent size:  4 option:
> 54:server-identifier
> c0:a8:01:01                                                                                    
> Mar 28 11:45:33 dell dnsmasq[12161]: sent size:  4 option: 51:lease-time
> 00:00:02:58   
> Mar 28 11:45:33 dell dnsmasq[12161]: sent size:  4 option: 58:T1
> 00:00:01:2c           
> Mar 28 11:45:33 dell dnsmasq[12161]: sent size:  4 option: 59:T2
> 00:00:02:0d           
> Mar 28 11:45:33 dell dnsmasq[12161]: sent size:  4 option:  1:netmask
> ff:ff:ff:00      
> Mar 28 11:45:33 dell dnsmasq[12161]: sent size:  4 option:  3:router
> c0:a8:01:01       
> Mar 28 11:45:33 dell dnsmasq[12161]: sent size:  4 option:  6:dns-server
> c0:a8:01:01   
> Mar 28 11:45:33 dell dnsmasq[12161]: sent size: 11 option:
> 15:domain-name
> 6c:6f:63:61:6c:64:6f:6d:61:69:6e                                                                     
> Mar 28 11:45:33 dell dnsmasq[12161]: sent size:  4 option: 28:broadcast
> c0:a8:01:ff    
> Mar 28 11:45:33 dell kernel: [IPTABLES DROP] : IN= OUT=eth0
> SRC=192.168.1.9 DST=192.168.1.103 LEN=333 TOS=0x00 PREC=0x00 TTL=64
> ID=19755 PROTO=UDP SPT=67 DPT=68 LEN=313 
> 
> How do I configure dnsmasq to offer dhcp on eth1?
> 
> Thanks in advance.
> 
	I've been slowly plugging away at this and may have found something
useful.  After a reboot I got the message:

dnsmasq failed to bind DHCP server socket: address already in use.

In the startup sequence as it scrolls on the screen, dnsmasq is near the
end, but is running:
[root@dell ~]# service dnsmasq status
dnsmasq (pid 2613) is running...

	So is the problem with the configuration or at startup?  How do I find
what is conflicting for the socket address?

-- 
Regards,
Simon Slater
Registered Linux User #463789. Be counted at: http://counter.li.org/

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux