![]() ip linkġ: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00Ģ: eth0: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000link/ether 00:15:5d:0c:94:0d brd ff:ff:ff:ff:ff:ff Run the ip link command to get the default network connection name. ![]() New-NetNAT -Name NATNetwork -InternalIPInterfaceAddressPrefix 192.168.12.0/24Īttach newly created network to your Ubuntu VM, start the VM, open up the connection and log in (you won't be able to ssh in yet). New-NetIPAddress -IPAddress 192.168.12.1 -PrefixLength 24 -InterfaceAlias "vEthernet (NATSwitch)" New-VMSwitch -SwitchName "NATSwitch" -SwitchType Internal If you use an IP that conflicts with a real network connection the VM may not work properly. Replace the IP Address and subnet below with one that doesn't exist at home, work or anywhere you might go. Automatic Start Action - Always start this VM automatically, with a 30 second delayĭelete the Default Network Adapter installed on the VM. ![]()
0 Comments
Leave a Reply. |