A way to use NAT network by using Oracle virtualBox

That is true.linux

   Vmware  is easy and confortable tools to make vitrual machines than Oracle virtual box.  But Oracle vitrual box is free to use  and  vmware needs to buy license.app

   Now, here is a way to use NAT network by using Oracle virtualBox.ssh

 

 

I am sorry that my interface is chinese words.  I can do to make them to be understand easily.this

Yes,  When you first time finish install  Oracle virtual box ,  you just see one vitrual network card .3d

 

 

See the the rounded rectangle, it is exist after fininshing install on your host machine network setting area.blog

You also can see just only one host only network setting for each guests machine.ip

 

 

The red line is the original one.it

   If  we were let it go,  for example , we had created two guest machines "linux3" and "linux4".  The "linux3" guest ip is 10..0.2.15  and  the "linux4" ip is 10.0.2.25.console

   Then we just add extra one more vbox host-only network card on vitrual box console, like yellow line marked..  The  we can see the yellow  rounded rectangle marked network adapter show on host machine.table

After that.,  we just need to find this two guest machines network adapters setting and set NAT port mapping rule.  Just as follows.

 

 

 

 

After all that finished,  we are suprised that  we can ssh from host machine to Oracle vitrual machine box.guest machine.

so  we can see:

 

 

 

 

Then problem solved.

Thanks

相關文章
相關標籤/搜索