dnsmasq should ONLY bind the virtual interface, not hog the whole system
Bug #307328 reported by
John Dong
This bug report is a duplicate of:
Bug #231060: packages dnsmasq and libvirt-bin conflict with each other.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dnsmasq (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
dnsmasq's DHCP server binds like
udp 0 0 *:bootps *:*
when being run by libvirt like
nobody 5726 0.0 0.0 14788 1040 ? S 10:14 0:00 dnsmasq --keep-
The problem is that this means I cannot start up another dnsmasq DHCP instance for another interface. Does dnsmasq not listen to --listen-address in DHCP mode? For its DNS server it seems to be behaving well
To post a comment you must log in.
Because a DHCP server has to cope with "strange" packets from unconfigured and half-configured clients, it's not possible always to bind the DHCP listening socket to an IP address. However, when --bind-interfaces is set, dnsmasq does set the SO_REUSEADDRESS flag on the socket, so that it is possible to run another instance of dnsmasq listening on another interface. For this to work ALL instances of dnsmasq have to have --bind-interfaces set, which may be the problem here.
Cheers,
Simon.