Home > other >  After NAT mode, the host machine is connected to the Internet, virtual machine and host machine can&
After NAT mode, the host machine is connected to the Internet, virtual machine and host machine can&

Time:10-13

Hosting MacOS Ubuntu12.04 firewall between virtual machines have been closed
Using VMare Fusion8
Using NAT mode connection, in the case of a host machine broken network, virtual machine and host machine can ping each other,
But the host machine is connected to the Internet after impassability,

Hosting the ifconfig
Lo0: flags=8049 & lt; UP, LOOPBACK, RUNNING, MULTICAST> Mtu 16384
The options=3 & lt; RXCSUM TXCSUM>
1 prefixlen inet6: : 128
Inet 127.0.0.1 netmask 0 xff000000
64 scopeid inet6 fe80: : 1% lo0 prefixlen 0 x1
Nd6 options=1 & lt; PERFORMNUD>
Gif0: flags=8010 & lt; POINTOPOINT MULTICAST> Mtu 1280
Stf0: flags=0 & lt;> Mtu 1280
En0: flags=8823 & lt; UP, BROADCAST, SMART, SIMPLEX, MULTICAST> Mtu 1500
Mr A0:99:9 b: 1 c: a9: c1
Nd6 options=1 & lt; PERFORMNUD>
Media: autoselect (& lt; Unknown type>)
Status: inactive
En1: flags=8963 & lt; UP, BROADCAST, SMART, RUNNING, PROMISC, SIMPLEX, MULTICAST> Mtu 1500
The options=60 & lt; TSO4, TSO6 & gt;
6 a: Mr 00:00: ac: d3:20
Media: autoselect & lt; Full - duplex>
Status: inactive
En2: flags=8963 & lt; UP, BROADCAST, SMART, RUNNING, PROMISC, SIMPLEX, MULTICAST> Mtu 1500
The options=60 & lt; TSO4, TSO6 & gt;
6 a: Mr 00:00: ac: d3:21
Media: autoselect & lt; Full - duplex>
Status: inactive
Bridge0: flags=8863 & lt; UP, BROADCAST, SMART, RUNNING, SIMPLEX, MULTICAST> Mtu 1500
The options=63 & lt; RXCSUM TXCSUM, TSO4, TSO6 & gt;
Mr A2:99:9 b: c1:5 b: 00
Configuration:
Id 0:0:0:0:0:0 priority fwddelay hellotime 0 0 0
Maxage holdcnt 0 0 proto STP maxaddr 100 timeout 1200
The root id 0:0:0:0:0:0 priority ifcost port 0 0 0
Ipfilter disabled flags 0 x2
Member: en1 flags=3 & lt; LEARNING, DISCOVER>
Ifmaxaddr 0 5 priority port 0 path cost 0
Member: en2 flags=3 & lt; LEARNING, DISCOVER>
Ifmaxaddr port 0 6 path cost priority 0 0
Nd6 options=1 & lt; PERFORMNUD>
Media: & lt; Unknown type>
Status: inactive
P2p0: flags=8802 & lt; BROADCAST, SIMPLEX, MULTICAST> Mtu 2304
Mr 02:9 9:9 b: 1 c: a9: c1
Media: autoselect
Status: inactive
Awdl0: flags=8902 & lt; BROADCAST, PROMISC, SIMPLEX, MULTICAST> Mtu 1452
Mr 22: cc: b5: yet 0:9 b
Nd6 options=1 & lt; PERFORMNUD>
Media: autoselect
Status: inactive
Vmnet1: flags=8863 & lt; UP, BROADCAST, SMART, RUNNING, SIMPLEX, MULTICAST> Mtu 1500
Mr 00:50:56: c0:00:01onsaturday (UK time)
Inet 172.16.111.1 netmask 0 xffffff00 broadcast 172.16.111.255
Vmnet8: flags=8863 & lt; UP, BROADCAST, SMART, RUNNING, SIMPLEX, MULTICAST> Mtu 1500
Mr 00:50:56: c0:00:08
Inet 192.168.99.1 netmask 0 xffffff00 broadcast 192.168.99.255

The virtual machine ifconfig
Eth0 Link encap: Ethernet HWaddr 00:0 c: then 6: fb: d6
Inet addr: 192.168.99.106 Bcast: 192.168.99.255 Mask: 255.255.255.0
Inet6 addr: fe80: : 20 c: 29 ff: fe66: fbd6/64 Scope: Link
The UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1
RX packets: 40 errors: 0 dropped: 0 overruns: frame 0:0
TX packets: 89 errors: 0 dropped: 0 overruns: carrier 0:0
Collisions: 0 txqueuelen: 1000
RX bytes: 3222 (3.2 KB) TX bytes: 11102 (11.1 KB)

Lo Link encap: Local Loopback
Inet addr: 127.0.0.1 Mask: 255.0.0.0
Inet6 addr: : : 1/128 Scope: Host
The UP LOOPBACK RUNNING MTU: 65536 Metric: 1
Errors RX packets: 0:0 dropped: 0 overruns: frame 0:0
TX packets: 0 errors: 0 dropped: 0 overruns: carrier 0:0
Txqueuelen collisions: 0:0
TX RX bytes: 0 (0.0 B) bytes: 0 (0.0 B)
  • Related