-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi all,
It seems that dnsmasq is running under Fedora 19, and it manages the dns/dhcp for the virtual environment.
So, how does one get either dhcpd or another copy of dnsmasq, or, /etc/dnsmasq.d/*conf to either play or integrate with the running dnsmasq.
That is to say that I have a working dhcpd conf file, but dhcpd can't bind to the dhcp ports.
I have also configured a dnsmasq conf file, and put it in /etc/dnsmasq.d, but that isn't included because the config file for the dnsmasq used for libvirt
/var/lib/libvirt/dnsmasq/default.conf
doesn't contain:
conf-dir=/etc/dnsmasq.d
So, I am curious. Has anyone setup a dhcp server on Fedora 19, and if yes, did you use dhcpd or dnsmasq ?
If you used dhcpd, how did you get around the fact that dnsmasq is using the dhcp ports ? If you are using dnsmasq, how did you integrate with libvirt ?
Thank you in advance.
- -Greg Hosler
- -- +---------------------------------------------------------------------+
Please also check the log file at "/dev/null" for additional information. (from /var/log/Xorg.setup.log)
| Greg Hosler ghosler@redhat.com | +---------------------------------------------------------------------+
On 07/18/13 09:31, Gregory Hosler wrote:
Hi all,
It seems that dnsmasq is running under Fedora 19, and it manages the dns/dhcp for the virtual environment.
So, how does one get either dhcpd or another copy of dnsmasq, or, /etc/dnsmasq.d/*conf to either play or integrate with the running dnsmasq.
That is to say that I have a working dhcpd conf file, but dhcpd can't bind to the dhcp ports.
I have also configured a dnsmasq conf file, and put it in /etc/dnsmasq.d, but that isn't included because the config file for the dnsmasq used for libvirt
/var/lib/libvirt/dnsmasq/default.conf
doesn't contain:
conf-dir=/etc/dnsmasq.d
So, I am curious. Has anyone setup a dhcp server on Fedora 19, and if yes, did you use dhcpd or dnsmasq ?
If you used dhcpd, how did you get around the fact that dnsmasq is using the dhcp ports ? If you are using dnsmasq, how did you integrate with libvirt ?
The config file for dnsmasq is at /etc/dnsmasq.conf
In the config file you'll find.....
# If you want dnsmasq to provide only DNS service on an interface, # configure it as shown above, and then use the following line to # disable DHCP and TFTP on it. #no-dhcp-interface=
I don't see in the documentation if uncommenting and leaving blank indicates all interfaces. Something to play with..... I don't use dnsmasq.
On Thu, 2013-07-18 at 10:34 +0800, Ed Greshko wrote:
On 07/18/13 09:31, Gregory Hosler wrote:
Hi all,
It seems that dnsmasq is running under Fedora 19, and it manages the dns/dhcp for the virtual environment.
So, how does one get either dhcpd or another copy of dnsmasq, or, /etc/dnsmasq.d/*conf to either play or integrate with the running dnsmasq.
That is to say that I have a working dhcpd conf file, but dhcpd can't bind to the dhcp ports.
I have also configured a dnsmasq conf file, and put it in /etc/dnsmasq.d, but that isn't included because the config file for the dnsmasq used for libvirt
/var/lib/libvirt/dnsmasq/default.conf
doesn't contain:
conf-dir=/etc/dnsmasq.d
So, I am curious. Has anyone setup a dhcp server on Fedora 19, and if yes, did you use dhcpd or dnsmasq ?
If you used dhcpd, how did you get around the fact that dnsmasq is using the dhcp ports ? If you are using dnsmasq, how did you integrate with libvirt ?
The config file for dnsmasq is at /etc/dnsmasq.conf
In the config file you'll find.....
# If you want dnsmasq to provide only DNS service on an interface, # configure it as shown above, and then use the following line to # disable DHCP and TFTP on it. #no-dhcp-interface=
I don't see in the documentation if uncommenting and leaving blank indicates all interfaces. Something to play with..... I don't use dnsmasq.
To serve only the interface with 172.16... I use dhcpd with the simple config.:
[root@s194 ~]# cat /etc/dhcpd/dhcpd.conf # # DHCP Server Configuration file. # see /usr/share/doc/dhcp*/dhcpd.conf.example # see dhcpd.conf(5) man page #
# # Custom configuration file for ISC dhcpd - 02-Jul-2013 #
# option definitions common to all supported networks... option domain-name "xx.yy.ro"; option domain-name-servers name_server.xx.yy.ro;
default-lease-time 1200; max-lease-time 15000;
# Use this to enble / disable dynamic dns updates globally. #ddns-update-style none;
# If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. #authoritative; authoritative;
# Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). #log-facility local7;
# A slightly different configuration for an internal subnet. subnet 172.16.0.0 netmask 255.255.0.0 { range 172.16.170.0 172.16.172.0; option domain-name-servers name_server.xx.yy.ro; option domain-name "xx.yy.ro"; option routers 172.16.0.1; option broadcast-address 172.16.255.255; default-lease-time 1200; max-lease-time 15000; }
C.Sava