Eu instalei recentemente o Kali Linux como uma máquina virtual no meu host do Windows 7.
Depois de configurar o Linux, eu abri VM -> Removable Devies -> Network Adapter -> Settings
e habilitei as seguintes configurações,
Connected
Connected at Power on
Bridge: Connected directly to a
physical Network
depois disso, quando executo o comando ifconfig
, vejo a seguinte saída,
root@kali:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:56:34:a2:c1
inet addr:192.168.0.130 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fe34:a2c1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13782 errors:0 dropped:0 overruns:0 frame:0
TX packets:3253 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9988969 (9.5 MiB) TX bytes:370134 (361.4 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1680 (1.6 KiB) TX bytes:1680 (1.6 KiB)
Se eu tentar ping
meu sistema operacional convidado do host, recebo
C:\Users\Alik>ping 192.168.0.130 -t
Pinging 192.168.0.130 with 32 bytes of data:
Reply from 192.168.0.5: Destination host unreachable.
Reply from 192.168.0.5: Destination host unreachable.
Reply from 192.168.0.5: Destination host unreachable.
Reply from 192.168.0.5: Destination host unreachable.
Ping statistics for 192.168.0.130:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Control-C
^C
Isso é só quando não estou fazendo nada no sistema operacional convidado. Mas assim que eu estiver realizando alguma atividade no sistema operacional convidado, poderei fazer o ping do convidado com sucesso.
Por exemplo,
No sistema operacional convidado, Eu abri o navegador e visite google.com, assim que o google carregado, comecei a receber a resposta do ping no meu host,
Pinging 192.168.0.130 with 32 bytes of data:
Reply from 192.168.0.5: Destination host unreachable
Reply from 192.168.0.5: Destination host unreachable
Reply from 192.168.0.5: Destination host unreachable
Reply from 192.168.0.5: Destination host unreachable
Reply from 192.168.0.5: Destination host unreachable
Reply from 192.168.0.5: Destination host unreachable
Reply from 192.168.0.5: Destination host unreachable
Reply from 192.168.0.5: Destination host unreachable
Reply from 192.168.0.5: Destination host unreachable
Reply from 192.168.0.130: bytes=32 time=2506ms TTL=6
Reply from 192.168.0.130: bytes=32 time<1ms TTL=64
Reply from 192.168.0.130: bytes=32 time=1ms TTL=64
Reply from 192.168.0.130: bytes=32 time<1ms TTL=64
Reply from 192.168.0.130: bytes=32 time<1ms TTL=64
Reply from 192.168.0.130: bytes=32 time<1ms TTL=64
Reply from 192.168.0.130: bytes=32 time<1ms TTL=64
Eu também tentei usar o endereço static
ip no sistema operacional guest editando /etc/network/interfaces
, mas o problema continua o mesmo.
Aqui está a saída do meu ipconfig
no host,
Windows IP Configuration
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . : Home
Link-local IPv6 Address . . . . . : fe80::f49a:847d:4877:86c2%11
IPv4 Address. . . . . . . . . . . : 192.168.0.5
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::7cb6:45ef:7ca0:cb22%19
Autoconfiguration IPv4 Address. . : 169.254.203.34
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::c57e:f209:9e2:92eb%20
IPv4 Address. . . . . . . . . . . : 192.168.217.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Tunnel adapter isatap.Home:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : Home
Tunnel adapter isatap.{64A5DB56-CAC6-45A4-9569-E52762E8306D}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{760AD03F-B3C0-4297-AF67-031BF0F4B681}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Alguém poderia me guiar o que poderia ser o problema? Por que o convidado está esgotado quando não está executando nenhuma operação da Internet?
Tags networking vmware kali-linux