When you need to bring a virtual machine on a domain and test, for ex: when doing firewall testing you can do it as below:
- Start the VM and go to its settings.
- Change the network adapter to select, VMnet or NAT and set it
- Now get into your VM, by turning it on and goto the settings of you network connections.
- Right click, and then click properties
- Change its IP address to point, it to something under your domain ip addresses
- Eg: If you all computers inside your domain has 200.x.x.x, you can set the ip address as 200.2.3.4, something which doesnt clash with other VMs and local computers
- Next we goto the DNS settings and set the default gateway and DNS server to the ip address of your domain server
- For this your domain server must already be running.
- Then right click on the my computer and select properties and then select change computer name
- Here you will see a button to add to a domain.
- Add the domain address here
- It will ask for the password/username of the server
- After entering it, if you restart the VM, your all set. The VM is on the domain.
Leave a Reply