Itshould be like this [DHCPv4] SendHostname=true Hostname=myhostname
Susant From: systemd-devel <systemd-devel-boun...@lists.freedesktop.org> Date: Thursday, 2 April 2020 at 6:18 PM To: systemd Mailing List <systemd-devel@lists.freedesktop.org> Subject: [systemd-devel] systemd-networkd override hostname not being sent to DHCP Hi I have a network file like this: --- [Match] Name=enp2s0 [Network] DHCP=ipv4 Domains=faster rstore Hostname=myhostname SendHostname=True ---- After saving the file, doing a systemctl daemon-reload and a systemdctl restart systemd-networkd it would seem that this is still not being applied. When I do a capture for the traffic, Wireshark tells me for instance that the DHCP Discover packet sent to 255.255.255.255 includes the following: DHCP->Option: (81) Client FQDN: myothername.mycompany.tld Which it repeats a few moments later in the DHCP Request packet Host is Arch Linux 64 bit running 5.5.13 systemd 245 (245.3-2-arch) +PAM +AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid Can anyone see what I am doing wrong here? Thank you Andy _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fsystemd-devel&data=02%7C01%7Cssahani%40vmware.com%7C8e7b09d25a9244a3f0f508d7d70411d9%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637214284889344583&sdata=dlFF9Cy3msJyGu3nub0IpNmYEEa%2B4bmaqp59CrUzaHw%3D&reserved=0
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel