Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-94932

set the prefix len when get dhcpv6 as dhclient --address-prefix-len do

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • dhcpcd
    • None
    • No
    • None
    • rhel-stacks-services-scripting
    • ssg_core_services
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • 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?

              rhn-support-mosvald Martin Osvald
              rhn-support-jishi Jianlin Shi
              Martin Osvald Martin Osvald
              Frantisek Hrdina Frantisek Hrdina
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: