message erreur quand je fais la commande : set system domain-search domain lan.prive
"System configuration error. Both 'domain-name' and 'domain-search' are specified, but only one of these mutually exclusive parameters is allowed."
Traduction
Erreur de configuration du système. Les deux "nom de domaine" et "recherche de domaine" sont spécifiés, mais un seul de ces paramètres mutuellement exclusifs est autorisé.
après enable de "use-dnsmasq"
voila le contenu du fichier j'ai supprimé presque tous les réservation ici mais elle y sont bien dans le fichier sur erl
#
# autogenerated by /opt/vyatta/sbin/dnsmasq-dhcp-config.pl on Sat May 26 21:20:17 CEST 2018
#
dhcp-leasefile=/var/run/dnsmasq-dhcp.leases
domain=lan.prive
# The following 3 lines were added as global-parameters in the CLI and
# have not been validated
#option rfc3118-auth code 90 = string;
#option SIP code 120 = string;
#option Vendor-specific code 125 = string;
###shared-network LAN_ETH2_DHCP
#subnet 192.168.10.0/24
dhcp-range=set:LANETH2DHCP,192.168.10.3,192.168.10.254,255.255.255.0,86400
domain=lan.prive,192.168.10.0/24,local
dhcp-option=tag:LANETH2DHCP,option:domain-name,lan.prive
dhcp-option=tag:LANETH2DHCP,option:router,192.168.10.1
dhcp-option=tag:LANETH2DHCP,option:dns-server,192.168.10.1
#static reservations for subnet 192.168.10.0/24
dhcp-host=5c:xx:xx:xx:xx:xx,set:LANETH2DHCP,192.168.10.18 #DELL-Vincent-RJ45
host-record=DELL-Vincent-RJ45.lan.prive,192.168.10.18,86400 #DELL-Vincent-RJ45.lan.prive
#end of subnet 192.168.10.0/24
###end of shared-network LAN_ETH2_DHCP
###shared-network LIVEBOX_ETH0_DHCP
#subnet 192.168.2.0/24
interface=eth0.832 #automatically added for this dhcp subnet to work
dhcp-range=set:LIVEBOXETH0DHCP,192.168.2.30,192.168.2.50,255.255.255.0,86400
domain=orange.fr,192.168.2.0/24,local
dhcp-option=tag:LIVEBOXETH0DHCP,option:domain-name,orange.fr
dhcp-option=tag:LIVEBOXETH0DHCP,option:router,192.168.2.1
dhcp-option=tag:LIVEBOXETH0DHCP,option:dns-server,81.253.149.9,80.10.246.1
#static reservations for subnet 192.168.2.0/24
dhcp-host=00:37:xx:xx:xx:xx,set:LIVEBOXETH0DHCP,192.168.2.2 #LIVEBOX
host-record=LIVEBOX.orange.fr,192.168.2.2,86400 #LIVEBOX.orange.fr
# The following 3 lines were added as subnet-parameters in the CLI and
# have not been validated
#option rfc3118-auth 00:00:00:00:00:00:00:00:00:00:00:64:68:63:70:6c:69:76:65:62:6f:78:66:72:32:35:30;
#option SIP 00:06:73:62:63:74:33:67:03:41:55:42:06:61:63:63:65:73:73:11:6f:72:61:6e:67:65:2d:6d:75:6c:74:69:6d:65:64:69:61:03:6e:65:74:00;
#option Vendor-specific 00:00:05:58:0c:01:0a:00:00:00:00:00:ff:ff:ff:ff:ff;
#end of subnet 192.168.2.0/24
###end of shared-network LIVEBOX_ETH0_DHCP
#global settings depending on previous config
dhcp-ttl=43200 #this is half the smallest lease time found
dhcp-fqdn #we have default domain, so we can use dhcp-fqdn
dhcp-authoritative #at least one shared-network was declared authoritative