A way to use NAT network by using Oracle virtualBox

That is true.

   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.

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

A way to use NAT network by using Oracle virtualBox_第1张图片

 

 

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

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

A way to use NAT network by using Oracle virtualBox_第2张图片

 

 

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

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

A way to use NAT network by using Oracle virtualBox_第3张图片

 

 

The red line is the original one.

   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.

   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.

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

A way to use NAT network by using Oracle virtualBox_第4张图片

 

 A way to use NAT network by using Oracle virtualBox_第5张图片

 

 

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:

A way to use NAT network by using Oracle virtualBox_第6张图片

 

 A way to use NAT network by using Oracle virtualBox_第7张图片

 

 

Then problem solved.

Thanks

你可能感兴趣的:(A way to use NAT network by using Oracle virtualBox)