Deshabilitar por completo servidor dhcp
#4
Bueno, al final he encontrado una solución a mi problema.
En mi caso ha sido suficiente con añadir la siguiente línea al dnsmasq.conf



Código:
bind-interfaces
Luego simplemente debemos indicar que interfaces utilizar o cuales ignorar, algo así como esto:



Código:
except-interface=lo
except-interface=docker0
except-interface=lxcbr0


El motivo de necesitar esa línea es:

<<<
        On systems which support it, dnsmasq binds the wildcard address, even when it is listening on only some interfaces. It then discards requests that it shouldn't reply to. This has the advantage of working even when interfaces come and go and change address. This option forces dnsmasq to really bind only the interfaces it is listening on. About the only time when this is useful is when running another nameserver (or another instance of dnsmasq) on the same machine. Setting this option also enables multiple instances of dnsmasq which provide DHCP service to run in the same machine
<<<

Es decir que dnsmasq por defecto intenta engancharse a todas las interfaces independientemente de lo que le indiques, de ahí que entrara en conflicto con los otros dos demonios.

Un saludo
  Responder


Mensajes en este tema
RE: Deshabilitar por completo servidor dhcp - por danielo515 - 15-07-2019, 07:56 PM



Usuarios navegando en este tema: 2 invitado(s)