How to Set IPv6 Address on RHEL 7 with the of nmcli option !!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to Set IPv6 Address on RHEL 7 with the of nmcli option !!!

    First check the connection and IP address:

    Code:
    #ip addr
    #nmcli connection show
    Then add IPv6 address on default connection:

    Code:
    #nmcli connection modify eth0 [B]ipv6.address 2006:ac81::1105/64[/B]
    #nmcli connection modify eth0 ipv6.method manual
    Then, active the connection:
    Code:
    #nmcli connection up systemeth0
    #nmcli connection reload
    Check IPv6 address is correctly added on the device:

    Code:
    #nmcli connection show eth0 | grep ipv6
    Enable ONBOOT option:

    Code:
    #nmcli connection modify eth0 connection.autoconnect yes
    Finally ping to the IPv6 Address:

    Code:
    #ping 2006:ac18::1105
    !!! Thank you !!!



    #2
    Thank you @gauravd, This really helps !!​

    Comment

    Working...
    X