Kutanthauzira ndikukhazikitsa kutumiza kwa doko ku VirtualBox

Pin
Send
Share
Send

Kutumiza makina ku VirtualBox makina ocheperako ndikofunikira kuti mupeze mautumikiwa ochezera a OS kuchokera kumagwero akunja. Kusankha uku ndikwabwino kusintha mtundu wolumikizidwa kuti ukhale wogwirizira, popeza wogwiritsa ntchito amatha kusankha malo omwe angatsegule ndi kusiya omwe atsekeka.

Kukhazikitsa kutumiza kwamtundu mu VirtualBox

Ntchitoyi imapangidwa payokha pamakina aliwonse omwe amapangidwa mu VirtualBox. Ngati zikonzedwa moyenera, ma port opita ku host OS adzatumizidwanso ku dongosolo la alendo. Izi zitha kukhala zofunikira ngati mukufuna kukweza seva kapena tsamba lomwe likupezeka pamakina opezekapo kuti mupeze intaneti.

Ngati mugwiritsa ntchito chowotcha moto, zolumikizira zonse zolowera kumadoko zizikhala pamndandanda wololedwa.

Kuti mukwaniritse izi, mtundu wolumikizana uyenera kukhala NAT, womwe umagwiritsidwa ntchito mosasamala mu VirtualBox. Mitundu ina yolumikizidwa sigwiritsa ntchito kutumiza ma doko.

  1. Thamanga VirtualBox Manager ndikupita ku makina anu a makinawo.

  2. Sinthani ku tabu "Network" ndikusankha tabu ndi imodzi mwazinthu zinayi zomwe mukufuna kukhazikitsa.

  3. Ngati adapter yazimitsidwa, yatsani ndi kuyang'ana bokosi lolingana. Mtundu wolumikizana uyenera kukhala NAT.

  4. Dinani "Zotsogola"kukulitsa makonzedwe obisika ndikudina batani Kutumiza Panjira.

  5. Windo limatsegulira lomwe limakhazikitsa malamulo. Kuti muwonjezere lamulo latsopano, dinani pa chithunzi chophatikizira.

  6. Gome lidzapangidwa momwe mungafunikire kudzaza maselo molingana ndi deta yanu.
    • Dzina loyamba - iliyonse;
    • Protocol - TCP (UDP imagwiritsidwa ntchito nthawi zina);
    • Adilesi - IP yochitira OS;
    • Chosangalatsa - Dongosolo lothandizira lomwe lidzagwiritsidwe ntchito kulowa alendo OS;
    • Adilesi ya Alendo - IP alendo OS;
    • Guest Port - doko lokhala ndi alendo komwe zopempha kuchokera kwa wogwirizira OS adzabwezeretsedwera zimatumizidwa kudoko lotchulidwa mumunda Chosangalatsa.

Redirection imangogwira ntchito ngati makina ogwiritsa ntchito akuthandiza. Pamene mlendo OS atalemala, mafoni onse opita kumadongosolo a pulogalamuyo azikonzedwa nawo.

Kudzaza ma adilesi ndi malo okhala alendo

Mukamapanga chilichonse chatsopano chotumiza, ndikofunika kuti mudzaze maselo Adilesi ndi "Adilesi ya alendo". Ngati palibe chifukwa chofotokozera maadiresi a IP, ndiye kuti minda ingasiyidwe yopanda kanthu.

Kugwira ntchito ndi ma IP apadera, mu Adilesi Muyenera kulowa adilesi ya subnet yakomweko kuchokera ku rauta kapena IP yachindunji ya dongosolo lothandizira. Mu "Adilesi ya alendo" muyenera kutchulanso adilesi yamomwe alendo alili.

M'mitundu yonse iwiri yama opaleshoni (wolandila ndi alendo) IP ikhoza kuzindikiridwa chimodzimodzi.

  • Pa Windows:

    Kupambana + r > cmd > ipconfig > chingwe Adilesi ya IPv4

  • Pa Linux:

    Pokwelera > khalidi > chingwe inet

Mukamaliza zoikamo, onetsetsani kuti madoko omwe atumizilowo adzagwira ntchito.

Pin
Send
Share
Send