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.

face_vbox.JPG.jpg

 

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 .

 

host_network.JPG.jpg

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.

 

vbox_network.JPG.jpg

  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.

guest_linux3_network.JPG.jpg

guest_linux4_network.JPG.jpg

 

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:

 

from_host1.JPG.jpg

 

from_host2.JPG.jpg

 

 

Then problem solved.

 

Thanks

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值