I have a Kali Linux machine up and running in VirtualBox using the bridged adapter.

My settings in VirtualBox:

  • Attached to: Bridged Adapter
  • Name: Qualcomm Atheros AR5BWB222 Wireless Network Adapter
  • Adapter Type: Intel PRO/1000 MT Desktop (8240EM)
  • Promiscuous Mode: Allow All
  • Cable Connected: Checked

Kali Linux ifconfig:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet  netmask  broadcast
    inet6 2xx:xxxx:xxxx:8xxxx:xxxx:xxxx:6xxx:xx7  prefixlen 64  scopeid 0x0<global>
    inet6 xxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxx:xx  prefixlen 64  scopeid 0x0<global>
    inet6 xxx::xxx:xxx:xxx:xxx  prefixlen 64  scopeid 0x20<link>
    ether 08:00:27:b9:25:a4  txqueuelen 1000  (Ethernet)
    RX packets 32  bytes 3577 (3.4 KiB)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 66  bytes 5446 (5.3 KiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

It's really weird because my Kali Linux machine gets an ipv4 address assigned, but can't really ping, update or browse the web.


ip route of my Kali Linux Machine

default via dev eth0 proto dhcp metric 100 dev eth0 proto kernel scope link src metric 100

I tried pinging Google, but no results. However, pinging through ipv4 works (pinging my host machine + default gateway)

  • 2
    1. Please add output of ip route to your question. 2. Are you using IPv4 or IPv6 for your Internet access? – roaima Mar 29 '18 at 21:37
  • Can you ping the gateway/router, both with IPv4 and IPv6? – dirkt Mar 30 '18 at 4:56
  • @roaima Job done! And concerning question 2, it's IPv6, if you look at my ifconfig you'll see that there's 3 inet6. @dirkt I can ping my default gateway and my host machine with IPv4, how do you ping the gateway with IPv6? Is it using ping -6 ? If so, no I can't ping through. However a normal ping works which i think is IPv4. – KoyaCho Mar 30 '18 at 15:18
  • What do you mean when you say it "can't really ping [...] the web"? What do you get if you try the following two commands? ping -c1 -w2 and ping -c1 -w2 bbc.co.uk? If the first works and the second fails then you have Internet connectivity but your DNS is broken. If both fail then I can't help you further. – roaima Mar 30 '18 at 15:49
  • @roaima when I said "can't really ping [...] the web" I meant that if i try ping google.com it won't go through. About those commands you told me to do, ping -c1 -w2 returns a 2 packets transmitted, 0 received, 100% packet loss, time 1016ms while ping -c1 -w2 bbc.co.uk didn't show anything so i had to CTRL+C (because it'll time out). – KoyaCho Mar 30 '18 at 20:01

Most of the time you can't bridge a wireless adapter. See the VirtualBox forums for precise details.


For VirtualBox bridging to work, on Debian/Ubuntu you need to have bridge-utils package installed

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.