Project

General

Profile

Tâche #20648

Scénario #20629: Traitement express MEN (23-25)

Nom d'hôte incorrect dans dhclient

Added by Emmanuel GARETTE over 3 years ago. Updated over 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/06/2017
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Remaining (hours):
0.0

Description

Lorsqu'on met un serveur EOLEbase en DHCP, le nom du client n'est pas transmis correctement au serveur :

2017-05-29T15:15:26.508470+02:00 scribe.ac-test.fr dhcpd[1391]: DHCPDISCOVER from 02:00:c0:a8:00:6a via ens4
2017-05-29T15:15:26.509647+02:00 scribe.ac-test.fr dhcpd[1391]: DHCPREQUEST for 192.168.0.121 (192.168.0.1) from 02:00:c0:a8:00:6a via ens4: unknown lease 192.168.0.121.
2017-05-29T15:15:27.509773+02:00 scribe.ac-test.fr dhcpd[1391]: DHCPOFFER on 192.168.0.136 to 02:00:c0:a8:00:6a (<hostname>) via ens4

Dans dhclient.conf on a bient :

send host-name "<hostname>";

Normalement <hostname> devrait être remplacé automaiquement par le nom de la machine.

Comme c'est un template, je propose de mettre plutot : %%nom_domaine_machine.

Associated revisions

Revision 8708b24f (diff)
Added by Emmanuel GARETTE over 3 years ago

nom de l'hôte correct en cas de requête DHCP (ref #20648)

History

#1 Updated by Emmanuel GARETTE over 3 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Emmanuel GARETTE over 3 years ago

  • Status changed from En cours to Résolu
  • Parent task changed from #20628 to #20629

#3 Updated by Emmanuel GARETTE over 3 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.0 to 0.25

#4 Updated by Emmanuel GARETTE over 3 years ago

  • Parent task changed from #20629 to #20628

#5 Updated by Emmanuel GARETTE over 3 years ago

  • Parent task changed from #20628 to #20629

#6 Updated by Gérald Schwartzmann over 3 years ago

  • Remaining (hours) changed from 0.25 to 0.0
2017-06-08T17:55:45.451277+02:00 scribe.etb1.lan dhcpd[13148]: DHCPREQUEST for 10.1.3.50 (10.1.3.5) from 02:00:0a:01:03:67 (<hostname>) via ens4
2017-06-08T17:55:45.451488+02:00 scribe.etb1.lan dhcpd[13148]: DHCPACK on 10.1.3.50 to 02:00:0a:01:03:67 (<hostname>) via ens4
2017-06-08T17:55:45.451844+02:00 scribe.etb1.lan dhcpd[13148]: DHCPREQUEST for 10.1.3.50 (10.1.3.5) from 02:00:0a:01:03:67 (<hostname>) via 10.1.3.1
Maj-Auto -D
2017-06-08T18:10:56.883224+02:00 scribe.etb1.lan dhcpd[13148]: DHCPDISCOVER from 02:00:0a:01:03:67 via ens4
2017-06-08T18:10:56.883474+02:00 scribe.etb1.lan dhcpd[13148]: DHCPOFFER on 10.1.3.50 to 02:00:0a:01:03:67 via ens4
2017-06-08T18:10:56.883912+02:00 scribe.etb1.lan dhcpd[13148]: DHCPDISCOVER from 02:00:0a:01:03:67 via 10.1.3.1
2017-06-08T18:10:56.884132+02:00 scribe.etb1.lan dhcpd[13148]: DHCPOFFER on 10.1.3.50 to 02:00:0a:01:03:67 via 10.1.3.1
2017-06-08T18:10:56.884589+02:00 scribe.etb1.lan dhcpd[13148]: DHCPREQUEST for 10.1.3.50 (10.1.3.5) from 02:00:0a:01:03:67 via ens4
2017-06-08T18:10:56.884787+02:00 scribe.etb1.lan dhcpd[13148]: DHCPACK on 10.1.3.50 to 02:00:0a:01:03:67 via ens4
2017-06-08T18:10:56.885310+02:00 scribe.etb1.lan dhcpd[13148]: DHCPREQUEST for 10.1.3.50 (10.1.3.5) from 02:00:0a:01:03:67 via 10.1.3.1
2017-06-08T18:10:56.885523+02:00 scribe.etb1.lan dhcpd[13148]: DHCPACK on 10.1.3.50 to 02:00:0a:01:03:67 via 10.1.3.1

2017-06-08T18:12:10.238605+02:00 scribe.etb1.lan dhcpd[13148]: DHCPREQUEST for 10.1.3.50 from 02:00:0a:01:03:67 via ens4
2017-06-08T18:12:10.238834+02:00 scribe.etb1.lan dhcpd[13148]: DHCPACK on 10.1.3.50 to 02:00:0a:01:03:67 via ens4
2017-06-08T18:12:10.239133+02:00 scribe.etb1.lan dhcpd[13148]: DHCPREQUEST for 10.1.3.50 from 02:00:0a:01:03:67 via 10.1.3.1
2017-06-08T18:12:10.239270+02:00 scribe.etb1.lan dhcpd[13148]: DHCPACK on 10.1.3.50 to 02:00:0a:01:03:67 via 10.1.3.1
2017-06-08T18:12:22.941749+02:00 scribe.etb1.lan dhcpd[13148]: DHCPRELEASE of 10.1.3.50 from 02:00:0a:01:03:67 via ens4 (found)
2017-06-08T18:12:32.759093+02:00 scribe.etb1.lan dhcpd[13148]: DHCPDISCOVER from 02:00:0a:01:03:67 via ens4
2017-06-08T18:12:32.759493+02:00 scribe.etb1.lan dhcpd[13148]: DHCPOFFER on 10.1.3.50 to 02:00:0a:01:03:67 (test.etb1.lan) via ens4
2017-06-08T18:12:32.759663+02:00 scribe.etb1.lan dhcpd[13148]: DHCPDISCOVER from 02:00:0a:01:03:67 (test.etb1.lan) via 10.1.3.1
2017-06-08T18:12:32.759821+02:00 scribe.etb1.lan dhcpd[13148]: DHCPOFFER on 10.1.3.50 to 02:00:0a:01:03:67 (test.etb1.lan) via 10.1.3.1
2017-06-08T18:12:32.763115+02:00 scribe.etb1.lan dhcpd[13148]: DHCPREQUEST for 10.1.3.50 (10.1.3.5) from 02:00:0a:01:03:67 (test.etb1.lan) via ens4
2017-06-08T18:12:32.763338+02:00 scribe.etb1.lan dhcpd[13148]: DHCPACK on 10.1.3.50 to 02:00:0a:01:03:67 (test.etb1.lan) via ens4
2017-06-08T18:12:32.763741+02:00 scribe.etb1.lan dhcpd[13148]: DHCPREQUEST for 10.1.3.50 (10.1.3.5) from 02:00:0a:01:03:67 (test.etb1.lan) via 10.1.3.1
2017-06-08T18:12:32.763918+02:00 scribe.etb1.lan dhcpd[13148]: DHCPACK on 10.1.3.50 to 02:00:0a:01:03:67 via 10.1.3.1

CreoleGet --list | grep nom_domaine_machine
nom_domaine_machine="test.etb1.lan" 

#7 Updated by Scrum Master over 3 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF