ads
ads
التصويت
Do You SSH? | ||
---|---|---|
Yes. | 100.0% | |
No. | 0% | |
Not good at it. | 0% |
IGFounder
آني عراقي وهاي هيه
عضو منذ 01-12-2022
مجموع المشاركات4
الاعجاب المتلقى0
الجنسذكر
عضو منذ 01-12-2022
مجموع المشاركات4
الاعجاب المتلقى0
الجنسذكر
Step 1: Use SSH to connect to yourserver
Step 2: Open your server’s network configurationfile
Open the network configuration file located in /etc/systemd/network.
Step 3: Amend the network configurationfile
Using nano, amend the file by adding the following lines to the relevant sections as shown in the examplebelow:
Step 4: Save the file and reboot theserver
Save your changes to the file and then restart the network or reboot your server to apply thechanges.
Step 5: Test the IPv6connectivity
64 bytes from 2001:4860:4860::8888: icmp_seq=1 ttl=57 time=4.07 ms
64 bytes from 2001:4860:4860::8888: icmp_seq=2 ttl=57 time=4.08 ms
64 bytes from 2001:4860:4860::8888: icmp_seq=3 ttl=57 time=4.08 m
64 bytes from 2001:4860:4860::8888: icmp_seq=4 ttl=57 time=4.07 ms
--- 2001:4860:4860::8888 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 4.075/4.079/4.083/0.045 ms
Step 2: Open your server’s network configurationfile
Open the network configuration file located in /etc/systemd/network.
Step 3: Amend the network configurationfile
Using nano, amend the file by adding the following lines to the relevant sections as shown in the examplebelow:
توسيع
كود:
[Network]
Destination=Gateway_Address
توسيع
كود:
[Address]
Address=IPv6_Address/64
توسيع
كود:
[Route]
Destination=Gateway_Address
Scope=link
Step 4: Save the file and reboot theserver
Save your changes to the file and then restart the network or reboot your server to apply thechanges.
Step 5: Test the IPv6connectivity
You can test the IPv6 connectivity by running the commands shownbelow:
توسيع
كود:
ping6 -c 4 2001:4860:4860::8888
A response like this will display:
64 bytes from 2001:4860:4860::8888: icmp_seq=1 ttl=57 time=4.07 ms
64 bytes from 2001:4860:4860::8888: icmp_seq=2 ttl=57 time=4.08 ms
64 bytes from 2001:4860:4860::8888: icmp_seq=3 ttl=57 time=4.08 m
64 bytes from 2001:4860:4860::8888: icmp_seq=4 ttl=57 time=4.07 ms
--- 2001:4860:4860::8888 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 4.075/4.079/4.083/0.045 ms
آخر تحرير بواسطة IGFounder. 14-12-2022 05:06. السبب: ترتيب الأكواد بصورة صحيحة
#1
14-12-2022 05:04