【发布时间】:2016-03-19 02:15:07
【问题描述】:
我正在运行 VirtualBox 5.0.16 r105871,并且有一个 Ubuntu VM 作为来宾运行。 VB 创建了 2 个接口 Adapter 1 (NAT) 和 Adapter 2 (Host-Only)。这似乎与接口 eth0 和 eth1 相对应。
我的应用程序 Docker 在 VM 中创建了一个新的网络子网,如下所示:
br-9721ebff63d3 Link encap:Ethernet HWaddr 02:42:8E:12:02:02
inet addr:172.20.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::42:8eff:fe12:202/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:928 (928.0 B) TX bytes:1124 (1.0 KiB)
所以我的问题是,如何让这个网络在虚拟机之外可见?
【问题讨论】:
标签: networking virtualbox