Como fazer ping de um computador dentro de uma configuração de sub-rede usando o editor de rede virtual do vmware conectado via NAT?

0

Meu computador executa três VMs: vmInfra (10.0.99.99), vmPrime (10.0.99.11) e vmDeux (10.0.99.12) . A configuração é assim:

Quandofaçopingemmeuhostfísico(10.0.99.1)dequalquerumadasVMs,elepodeencontrá-lo,masquandofaçopingemqualquerumadasVMsdohost,ohosttentafazerpingemalgumcomputadornaInternet(provavelmente)jáqueasVMscompartilhamumintervalodeIPprivado.Comofaçoparacorrigirisso?

MeuhosttemaseguinteconfiguraçãodeIP:

$iprouteshowdefaultvia192.168.1.1devwlo1protostaticmetric60010.0.99.0/24devvmnet99protokernelscopelinksrc10.0.99.1172.16.8.0/24devvmnet1protokernelscopelinksrc172.16.8.1172.16.33.0/24devvmnet8protokernelscopelinksrc172.16.33.1192.168.1.0/24devwlo1protokernelscopelinksrc192.168.1.73metric600$ipaddrshow1:lo:<LOOPBACK,UP,LOWER_UP>mtu65536qdiscnoqueuestateUNKNOWNgroupdefaultqlen1000link/loopback00:00:00:00:00:00brd00:00:00:00:00:00inet127.0.0.1/8scopehostlovalid_lftforeverpreferred_lftforeverinet6::1/128scopehostvalid_lftforeverpreferred_lftforever2:enp1s0:<NO-CARRIER,BROADCAST,MULTICAST,UP>mtu1500qdiscfq_codelstateDOWNgroupdefaultqlen1000link/ether3c:52:82:b9:05:5fbrdff:ff:ff:ff:ff:ff3:wlo1:<BROADCAST,MULTICAST,UP,LOWER_UP>mtu1500qdiscmqstateUPgroupdefaultqlen1000link/ether3c:95:09:de:4e:8dbrdff:ff:ff:ff:ff:ffinet192.168.1.73/24brd192.168.1.255scopeglobaldynamicwlo1valid_lft82559secpreferred_lft82559secinet6fe80::6528:e383:1754:9aef/64scopelinkvalid_lftforeverpreferred_lftforever15:vmnet1:<BROADCAST,MULTICAST,UP,LOWER_UP>mtu1500qdiscfq_codelstateUNKNOWNgroupdefaultqlen1000link/ether00:50:56:c0:00:01brdff:ff:ff:ff:ff:ffinet172.16.8.1/24brd172.16.8.255scopeglobalvmnet1valid_lftforeverpreferred_lftforeverinet6fe80::250:56ff:fec0:1/64scopelinkvalid_lftforeverpreferred_lftforever16:vmnet8:<BROADCAST,MULTICAST,UP,LOWER_UP>mtu1500qdiscfq_codelstateUNKNOWNgroupdefaultqlen1000link/ether00:50:56:c0:00:08brdff:ff:ff:ff:ff:ffinet172.16.33.1/24brd172.16.33.255scopeglobalvmnet8valid_lftforeverpreferred_lftforeverinet6fe80::250:56ff:fec0:8/64scopelinkvalid_lftforeverpreferred_lftforever17:vmnet99:<BROADCAST,MULTICAST,UP,LOWER_UP>mtu1500qdiscfq_codelstateUNKNOWNgroupdefaultqlen1000link/ether00:50:56:c0:00:63brdff:ff:ff:ff:ff:ffinet10.0.99.1/24brd10.0.99.255scopeglobalvmnet99valid_lftforeverpreferred_lftforeverinet6fe80::250:56ff:fec0:63/64scopelinkvalid_lftforeverpreferred_lftforever

OVMwarevirtualNetworkManagergerouumarquivo/etc/vmware/vmnet99/dhcpd/dhcpd.confcomoseguinteconteúdo:

allowunknown-clients;default-lease-time1800;#defaultis30minutesmax-lease-time7200;#defaultis2hourssubnet10.0.99.0netmask255.255.255.0{range10.0.99.12810.0.99.254;optionbroadcast-address10.0.99.255;optiondomain-name-servers10.0.99.2;optiondomain-namelocaldomain;default-lease-time1800;#defaultis30minutesmax-lease-time7200;#defaultis2hoursoptionnetbios-name-servers10.0.99.2;optionrouters10.0.99.2;}hostvmnet99{hardwareethernet00:50:56:C0:00:63;fixed-address10.0.99.1;optiondomain-name-servers0.0.0.0;optiondomain-name"";
     option routers 0.0.0.0;
 }
    
por Somenath Sinha 15.02.2018 / 19:07

0 respostas