ネットワークアクティビティを実行しないと、Linux(Vmware)はただちにタイムアウトします。

ネットワークアクティビティを実行しないと、Linux(Vmware)はただちにタイムアウトします。

最近、Windows 7ホストにKali LinuxバージョンのLinuxを仮想マシンとしてインストールしました。

Linuxを設定した後、VM -> Removable Devies -> Network Adapter -> Settings次の設定を開いて有効にしました。

  • Connected
  • Connected at Power on
  • Bridge: Connected directly to a physical Network

その後、コマンドを実行すると、ifconfig次の出力が表示されます。

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)

ping私が受け取ったホストからゲストOSにアクセスしようとすると、

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

これは、ゲストOSで何もしない場合にのみ発生します。ただし、ゲストOSで何らかのアクティビティを実行すると、ゲストOSを正常にpingできます。

例えば、

ゲストOSでブラウザを開き、google.comにアクセスしてGoogleが読み込まれると、ホストOSからping応答を受け取り始めます。

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

staticを編集してゲストOSのIPアドレスを試しましたが、/etc/network/interfaces問題はまだ同じです。

ipconfigこれはホストコンピュータの出力です。

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  . :

誰でも問題が何であるかを教えてもらえますか?インターネットで作業していないときにゲストOSがタイムアウトするのはなぜですか?

ベストアンサー1

おすすめ記事