diff options
author | Enrique Llorente <ellorent@redhat.com> | 2025-02-07 12:36:55 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2025-02-10 18:30:24 +0100 |
commit | 31e8109a86eeebb473ffba8124a3f399cf0aeccf (patch) | |
tree | 799dc645822abe4548203140675d07d402b70d91 /passt.1 | |
parent | a3d142a6f64d89fffe26634e158dedd55fa31e7b (diff) | |
download | passt-31e8109a86eeebb473ffba8124a3f399cf0aeccf.tar passt-31e8109a86eeebb473ffba8124a3f399cf0aeccf.tar.gz passt-31e8109a86eeebb473ffba8124a3f399cf0aeccf.tar.bz2 passt-31e8109a86eeebb473ffba8124a3f399cf0aeccf.tar.lz passt-31e8109a86eeebb473ffba8124a3f399cf0aeccf.tar.xz passt-31e8109a86eeebb473ffba8124a3f399cf0aeccf.tar.zst passt-31e8109a86eeebb473ffba8124a3f399cf0aeccf.zip |
dhcp, dhcpv6: Add hostname and client fqdn ops
Both DHCPv4 and DHCPv6 has the capability to pass the hostname to
clients, the DHCPv4 uses option 12 (hostname) while the DHCPv6 uses option 39
(client fqdn), for some virt deployments like kubevirt is expected to
have the VirtualMachine name as the guest hostname.
This change add the following arguments:
- -H --hostname NAME to configure the hostname DHCPv4 option(12)
- --fqdn NAME to configure client fqdn option for both DHCPv4(81) and
DHCPv6(39)
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.1')
-rw-r--r-- | passt.1 | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -401,6 +401,16 @@ Enable IPv6-only operation. IPv4 traffic will be ignored. By default, IPv4 operation is enabled as long as at least an IPv4 route and an interface address are configured on a given host interface. +.TP +.BR \-H ", " \-\-hostname " " \fIname +Hostname to configure the client with. +Send \fIname\fR as DHCP option 12 (hostname). + +.TP +.BR \-\-fqdn " " \fIname +FQDN to configure the client with. +Send \fIname\fR as Client FQDN: DHCP option 81 and DHCPv6 option 39. + .SS \fBpasst\fR-only options .TP |