I have created a Hyper-V Virtual Machine running Arch Linux. I want to have two NIC's.
- The first NIC is an external nic for internet connection.
- The second NIC should be an internal nic - the reason is that if I change network I want to have a static ip address that works on my laptop regardless of the DHCP settings of the network.
I have created a virtual switch with internal as adapter. On my laptop (Win 10) I have set up as follows:
IP Address: 192.168.137.1 Netmask: 255.255.255.0 Gateway: Blank DNS 1: 192.168.137.1 DNS 2: Blank
My Virtual Machine (Arch Linux) has:
IP: 192.168.137.2 Netmask: 255.255.255.0 Gateway: 192.168.137.1 DNS: 192.168.137.1
Ping from HOST to GUEST does not work, GUEST to HOST does not work.