![네트워크 활동을 수행하지 않으면 Linux(Vmware)가 즉시 시간 초과됩니다.](https://linux55.com/image/68838/%EB%84%A4%ED%8A%B8%EC%9B%8C%ED%81%AC%20%ED%99%9C%EB%8F%99%EC%9D%84%20%EC%88%98%ED%96%89%ED%95%98%EC%A7%80%20%EC%95%8A%EC%9C%BC%EB%A9%B4%20Linux(Vmware)%EA%B0%80%20%EC%A6%89%EC%8B%9C%20%EC%8B%9C%EA%B0%84%20%EC%B4%88%EA%B3%BC%EB%90%A9%EB%8B%88%EB%8B%A4..png)
최근에 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를 성공적으로 핑할 수 있습니다.
예를 들어,
게스트 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가 시간 초과되는 이유는 무엇입니까?