Use dhcp or dnsmasq as DHCP server in libvirt-based environment

By | 2015年8月26日

Default dhcp and dnsmasq are conflict in a OS.
Just change to another if one failed.

yum install dhcp

/etc/sysconfig/dhcpd is no longer needed in RHEL-7. However, it is still working in other distributions. Just assign an IP to the interface which in the subnet you want dhcp serve.

dnsmasq

Dnsmasq is very useful in libvirt/qemu/docker based environment.
To bind 192.168.200.0/24 to interface br0(192.168.200.22-bridge2eth1):

发表评论

邮箱地址不会被公开。