-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.0
-
None
-
No
-
None
-
rhel-stacks-services-scripting
-
ssg_core_services
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
set the prefix len when get dhcpv6 as dhclient --address-prefix-len do
when get ipv6 address from dhcp:
[root@wsfd-advnetlab19 scenario]# cat dhcpcd.conf
interface hv1_vm00_vnet1
ia_na 1
ia_pd 1
[root@wsfd-advnetlab19 scenario]#ip netns exec hv1_vm00 dhcpcd -f /root/networking/openvswitch/ovn/scenario/dhcpcd.conf -C resolv.conf -6 hv1_vm00_vnet1
it would generate ipv6 address with 128 prefix:
74: hv1_vm01_vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether 00:de:ad:01:01:01 brd ff:ff:ff:ff:ff:ff
inet6 2001:db8:102::12/128 scope global noprefixroute
valid_lft forever preferred_lft forever
dhclient can set the prefix len with --address-prefix-len, can dhcpcd do the same thing?