Virtualbox : launching virtual machines with different IP's with network connectivity
Virtualbox : launching virtual machines with different IP's with network connectivity
- Create instances as many you like but for all do following changes in the network settings
- Enable Two Adapters :
- Set first one to NAT : To allow internet from host (eth0)
- Second to Host Only: to allow different ip for every vm(eth1)
- Test instance
- 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.
- Lauch them and verify that you're able to ping these vm's through 'eth1' IP
No comments:
Post a Comment