How to configure IPV6 address in Centos Via Command Prompt
To configure IPV6 address in Centos Via Command Prompt
An Internet Protocol Version 6 address (IPv6 address) relates to the identification of a computer' s network interface or a network node which is related to an IPv6 computer network. This article covers the step by step configuration method of IPv6 through command prompt.
Configuration of IPV6
Before beigining the configuration, check for the availability of network connections through the following command.
[root@linuxhelp Desktop]# nmcli connection show
AME UUID TYPE DEVICE
virbr0 55871fc1-16dc-4d3a-a9c2-5abfedb769e2 bridge virbr0
Wired connection 1 677ef363-9999-49d5-9fac-1773a9dd530c 802-3-ethernet --
eno16777736 43601f95-a22f-4e8f-b224-ac0870d1db1c 802-3-ethernet eno16777736
Check the status device information by invoking the following command.
[root@linuxhelp Desktop]# nmcli device status
DEVICE TYPE STATE CONNECTION
virbr0 bridge connected virbr0
eno16777736 ethernet connected eno16777736
virbr0-nic ethernet disconnected --
lo loopback unmanaged --
Now, use the following command to modify the IPv6 connection.
[root@linuxhelp Desktop]# nmcli connection modify " eno16777736" ipv6.addresses fddb:fe2a:ab1e::c0a8:64/64 ipv6.method manual
Running the below mentioned command brings up network connections automatically.
[root@linuxhelp Desktop]# nmcli connection modify " eno16777736" connection.autoconnect yes
Now, enable the network connections through the following command.
[root@linuxhelp Desktop]# nmcli connection up " eno16777736"
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/3)
Once it is done, use the ping6 command to check the status of IPv6 you have just configured. Use the following command for the same purpose.
[root@linuxhelp Desktop]# ping6 fddb:fe2a:ab1e::c0a8:64
PING fddb:fe2a:ab1e::c0a8:64(fddb:fe2a:ab1e::c0a8:64) 56 data bytes
64 bytes from fddb:fe2a:ab1e::c0a8:64: icmp_seq=1 ttl=64 time=0.093 ms
64 bytes from fddb:fe2a:ab1e::c0a8:64: icmp_seq=2 ttl=64 time=0.069 ms
.
.
Finally, use the below command to check the connection at outside network.
[root@linuxhelp Desktop]# ping google.com
PING google.com (172.217.26.206) 56(84) bytes of data.
64 bytes from maa03s23-in-f14.1e100.net (172.217.26.206): icmp_seq=1 ttl=57 time=6.24 ms
64 bytes from maa03s23-in-f14.1e100.net (172.217.26.206): icmp_seq=2 ttl=57 time=17.0 ms
.
.
Comments ( 0 )
No comments available