Pages

Wednesday 22 January 2014

Virtualbox : launching virtual machines with different IP's with network connectivity

Virtualbox : launching virtual machines with different IP's with network connectivity

  1. Create instances as many you like but for all do following changes in the network settings
    1. Enable Two Adapters : 
      1. Set first one to NAT : To allow internet from host (eth0)
      2. Second to Host Only:  to allow different ip for every vm(eth1)
  2. Test instance
    1. fire 'ifconfig' command not down ip corresponding to eth1. All vm's will have different eth1 ip. Take note of them and use them to communicate with each other.
    2. Lauch them and verify that you're able to ping these vm's through 'eth1' IP

No comments:

Post a Comment