Impossibile eseguire il ping dell'host osx dal guest Ubuntu 16.04

1

Ho creato una macchina virtuale Ubuntu-16.04 tramite VirtualBox sulla mia macchina osx. Sto usando 2 adattatori di rete: Bridged Adapter [en0: Wi-Fi (Airport)] e Host-only Adapter (vboxnet0) .

Questo è ifconfig o / p dalle 2 macchine, osx first:

en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    ether 3c:15:c2:c8:27:d0
    inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255
    media: autoselect
    status: active
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    options=63<RXCSUM,TXCSUM,TSO4,TSO6>
    ether 3e:15:c2:8c:a2:00
    Configuration:
            id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
            maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
            root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
            ipfilter disabled flags 0x2
    member: en1 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 5 priority 0 path cost 0
    member: en2 flags=3<LEARNING,DISCOVER>
            ifmaxaddr 0 port 6 priority 0 path cost 0
    media: <unknown type>
    status: inactive
vboxnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
    ether 0a:00:27:00:00:00
    inet 192.168.56.1 netmask 0xffffff00 broadcast 192.168.56.255

Ubuntu successivo:

$ ifconfig
enp0s3    Link encap:Ethernet  HWaddr 08:00:27:7a:ba:0d
          inet addr:192.168.0.26  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f296:f0:610e:2b37/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6174 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4228 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7159986 (7.1 MB)  TX bytes:456256 (456.2 KB)

enp0s8    Link encap:Ethernet  HWaddr 08:00:27:b6:c9:6e
          inet addr:192.168.56.101  Bcast:192.168.56.255  Mask:255.255.255.0
          inet6 addr: fe80::ba63:3f0e:321:ee37/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:135 errors:0 dropped:0 overruns:0 frame:0
          TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:26827 (26.8 KB)  TX bytes:9002 (9.0 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:583 errors:0 dropped:0 overruns:0 frame:0
          TX packets:583 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:79319 (79.3 KB)  TX bytes:79319 (79.3 KB)

Non riesco a eseguire il ping di osx da ubuntu:

$ ping 192.168.0.12
PING 192.168.0.12 (192.168.0.12) 56(84) bytes of data.
^C
--- 192.168.0.12 ping statistics ---
480 packets transmitted, 0 received, 100% packet loss, time 490401ms

Ma posso mandare un ping a ubuntu (guest) da osx. Come posso risolvere questo problema?

Note: Firewall is disabled on both the machines

    
posta user1071840 10.03.2017 - 12:24
fonte

0 risposte

Leggi altre domande sui tag