Need help setting up IPv6 with Kali Linux in VirtualBox

tris

New Member
Joined
Oct 10, 2023
Messages
1
Reaction score
0
Credits
18
Hi all, I'm hoping for a little help in configuring my Kali Linux VM or resolving an issue I am having with setting it up with IPv6. I have IPv6 on my host machine and can ping the internet, e.g., Google (2001:4860:4860::8888), so I know it should work but despite having an IPv6 assigned to the Kali VM, I am unable to ping the internet.

I am connecting to the internet from my laptop via Wi-Fi and on my VirtualBox setup I am using a bridged adaptor in the network settings. Interestingly, the Kali VM has been assigned IPv6 addresses by the router but on the router it says the device is not configured for IPv6 and does not register it as having an address (see attached picture).
┌──(kali㉿kali)-[~]
└─$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.XXX.XXX netmask 255.255.255.0 broadcast 192.168.XXX.XXX
inet6 2a00:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:4b52 prefixlen 64 scopeid 0x0<global>
inet6 2a00:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:3221 prefixlen 64 scopeid 0x0<global>
inet6 fe80::XXXX:XXXX:XXXX:3221 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:ee:32:21 txqueuelen 1000 (Ethernet)
RX packets 17751 bytes 2646668 (2.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12563 bytes 1490461 (1.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

The IPv6 routing seems to point to the router's link local address, and I am able to ping the router at that address using IPv6. I can also ping other guest VMs using IPv6, I just can't get out to the internet (100% packet loss when pinging Google's IPv6).
┌──(kali㉿kali)-[~]
└─$ ip -6 route show
::1 dev lo proto kernel metric 256 pref medium
2a00:23c6:XXXX:XXXX::/64 dev eth0 proto ra metric 100 pref medium
fe80::/64 dev eth0 proto kernel metric 1024 pref medium
default via fe80::XXXX:XXXX:XXXX:13b0 dev eth0 proto ra metric 100 pref medium

Traceroute is also of no help, so I'm not sure what's happening. Does anyone know? Can anyone help?
┌──(kali㉿kali)-[~]
└─$ traceroute 2001:4860:4860::8888
traceroute to 2001:4860:4860::8888 (2001:4860:4860::8888), 30 hops max, 80 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
 

Attachments

  • Router no IPv6 address.png
    Router no IPv6 address.png
    84.9 KB · Views: 113
  • Screenshot 2023-10-10 090631.png
    Screenshot 2023-10-10 090631.png
    83.4 KB · Views: 126



Staff online


Top