configure networking between vm on virtualbox -
i installed virtual box on window 7 laptop, when install new vm , install ubuntu os,now when choose nat works fine when unable configure host-only network on .
and 1 more problem facing when clone machine , start , change mac address setting , start sometime no network configured on machine .
i want start 2 vm on virtual box ,both machine have 2 network adapter 1 nat communicate , 1 host , local vms. if possible or not if yes tell me configuration . tried solution googling no luck still .
you can achieve using "host-only networking". setup follows:
host:
@ least 1 host-only network present , configured, e.g.
- ip address set to: 192.168.56.1
- dhcp server: enabled or disabled (works on both)
note name of host-only network, e.g. "vboxnet0". used in next steps.
guest vm 1:
1. set adapter 1 (or other adapters) "host-only adapter".
2. make sure name set name noted in host section above, e.g. "vboxnet0".
guest vm 2 (same steps guest vm 1):
1. set adapter 1 (or other adapters) "host-only adapter".
2. make sure name set name noted in host section above, e.g. "vboxnet0".
you can start vms, , verify connectivity pinging. note if using windows, must disable firewall or enable network sharing , discovery.
Comments
Post a Comment