This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #1. Host machine | |
| # Create new switch | |
| New-VMSwitch -SwitchName NAT -SwitchType Internal | |
| # Check current VM network adapters | |
| Get-VMNetworkAdapter -VMName DC,FS | |
| # Connect current adapters to created NAT switch | |
| Connect-VMNetworkAdapter -VMName DC,FS -SwitchName NAT | |
| # Add network adapters for both VM's with selected virtual switch | |
| #Add-VMNetworkAdapter -VMName DC,FS -SwitchName NAT |