서로 다른 호스트에 있는 두 가상 머신 간의 네트워킹

서로 다른 호스트에 있는 두 가상 머신 간의 네트워킹

OpenSuse가 DeskTop(win 7)에 가상 머신(Oracle Virtual Box)으로 설치되어 있고 다른 openSuse가 내 노트북(win 8.1)에 가상 머신(Oracle Virtual Box)으로 설치되어 있습니다.

다양한 네트워크 어댑터 정보를 캡처한 첨부된 이미지를 참조하세요.

이 두 VM을 네트워크로 연결하고 싶습니다. 이를 달성하는 방법은 무엇입니까?

다음은 추가 정보입니다. 데스크탑 호스트 머신(win 7)

C:\Users\Adofo>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
 Connection-specific DNS Suffix  . : domain.invalid
 Link-local IPv6 Address . . . . . : fe80::bd2b:ef06:53ea:740b%11
 IPv4 Address. . . . . . . . . . . : 192.168.0.108
 Subnet Mask . . . . . . . . . . . : 255.255.255.0
 Default Gateway . . . . . . . . . : 192.168.0.1

Ethernet adapter VirtualBox Host-Only Network:
 Connection-specific DNS Suffix  . :
 Link-local IPv6 Address . . . . . : fe80::35d5:acd3:5f50:fc20%18
 Autoconfiguration IPv4 Address. . : 169.254.252.32
 Subnet Mask . . . . . . . . . . . : 255.255.0.0
 Default Gateway . . . . . . . . . :

Tunnel adapter Teredo Tunneling Pseudo-Interface:
 Media State . . . . . . . . . . . : Media disconnected
 Connection-specific DNS Suffix  . :

Tunnel adapter isatap.{DB8941A3-825F-4824-B421-6E1625173A6E}:
 Media State . . . . . . . . . . . : Media disconnected
 Connection-specific DNS Suffix  . :

Tunnel adapter isatap.domain.invalid:
  Media State . . . . . . . . . . . : Media disconnected
  Connection-specific DNS Suffix  . :

가상 머신의 OpenSuse 12.3: (데스크톱, Windows 7에 설치된 VirtualBox)

linux-gn77:~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:08:FF:6C  
      inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
      inet6 addr: fe80::a00:27ff:fe08:ff6c/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:2 errors:0 dropped:0 overruns:0 frame:0
      TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:1180 (1.1 Kb)  TX bytes:9748 (9.5 Kb)

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:52 errors:0 dropped:0 overruns:0 frame:0
      TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes:4891 (4.7 Kb)  TX bytes:4891 (4.7 Kb)

노트북: Windows8.1 호스트 C:\Users\Harbir PC>ipconfig Windows IP 구성

Ethernet adapter Bluetooth Network Connection:
 Media State . . . . . . . . . . . : Media disconnected
 Connection-specific DNS Suffix  . :
Wireless LAN adapter Local Area Connection* 2:
 Media State . . . . . . . . . . . : Media disconnected
 Connection-specific DNS Suffix  . :
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix  . : domain.invalid
Link-local IPv6 Address . . . . . : fe80::555b:6b6a:18c5:9326%3
IPv4 Address. . . . . . . . . . . : 192.168.0.106
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
Ethernet adapter VirtualBox Host-Only Network:
Connection-specific DNS Suffix  . :
Link-local IPv6 Address . . . . . : fe80::a0d1:2b1d:ba1c:9158%26
IPv4 Address. . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Tunnel adapter isatap.{AB29F882-C104-4E87-BB48-3C1DDD3136B9}:
 Media State . . . . . . . . . . . : Media disconnected
 Connection-specific DNS Suffix  . :
Tunnel adapter isatap.domain.invalid:
 Media State . . . . . . . . . . . : Media disconnected
 Connection-specific DNS Suffix  . :

가상 머신의 OpenSuse 12.3: (노트북, Windows 8.1에 설치된 VirtualBox)

linux-gn77:~/line/client1 # ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:41:7A:77 
      inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
      inet6 addr: fe80::a00:27ff:fe41:7a77/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:57266 errors:0 dropped:0 overruns:0 frame:0
      TX packets:31879 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:77472539 (73.8 Mb)  TX bytes:2640470 (2.5 Mb)
   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:113 errors:0 dropped:0 overruns:0 frame:0
      TX packets:113 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:5861 (5.7 Kb)  TX bytes:5861 (5.7 Kb)

여기에 이미지 설명을 입력하세요

답변1

VirtualBox의 네트워크 구성에서 "브리지" 모드를 찾고 싶을 것입니다. 그렇지 않으면 VirtualBox는 직접 통신할 수 없는 소규모 네트워크를 에뮬레이트합니다.

브리지 모드에 들어가면 라우터/DHCP 서버에 대한 추가 컴퓨터가 IP 주소를 선택하는 것으로 표시되어야 하며 호스트가 있는 네트워크 세그먼트의 모든 것과 통신할 수 있습니다.

관련 정보