S slumer New Member Joined Apr 12, 2021 Messages 2 Reaction score 0 Credits 17 Apr 12, 2021 #1 I try to ping my hostname by ipv6 : ping6 linux And it cant get resolved. Whats the correct form to add it in /etc/hosts . Should i add/edit "::1 linux" ? Also is the same for debian ?
I try to ping my hostname by ipv6 : ping6 linux And it cant get resolved. Whats the correct form to add it in /etc/hosts . Should i add/edit "::1 linux" ? Also is the same for debian ?
f33dm3bits Gold Member Gold Supporter Joined Dec 11, 2019 Messages 6,864 Reaction score 5,279 Credits 50,344 Apr 12, 2021 #2 It should look like this in /etc/hosts Code: ::1 localhost Try running this instead. Code: ping -6 ::1
It should look like this in /etc/hosts Code: ::1 localhost Try running this instead. Code: ping -6 ::1
OP S slumer New Member Joined Apr 12, 2021 Messages 2 Reaction score 0 Credits 17 Apr 12, 2021 #3 f33dm3bits said: It should look like this in /etc/hosts Code: ::1 localhost Try running this instead. Code: ping -6 ::1 Click to expand... i want to ping -6 linux and to get ipv6 replies
f33dm3bits said: It should look like this in /etc/hosts Code: ::1 localhost Try running this instead. Code: ping -6 ::1 Click to expand... i want to ping -6 linux and to get ipv6 replies
f33dm3bits Gold Member Gold Supporter Joined Dec 11, 2019 Messages 6,864 Reaction score 5,279 Credits 50,344 Apr 12, 2021 #4 Then make it look like this. Code: ::1 localhost linux Then ping it. Code: ping -6 linux
craigevil Well-Known Member Joined Feb 24, 2021 Messages 448 Reaction score 455 Credits 3,078 Apr 12, 2021 #5 This is what my /etc/hosts looks like. Code: 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 raspberrypi
This is what my /etc/hosts looks like. Code: 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 raspberrypi