DEV Community

KathShedoesCyber
KathShedoesCyber

Posted on

Connect your Windows and Linux Proxmox machines.

When creating a security lab, I spend a lot of hours troubleshooting this due to a lack of articles and videos, which mostly people use Virtualbox. Hope can help this article too.

Let's Start:
Step 1: Look first at your host network, to do this:
In your Windows environment, open the cmd > type "Ipconfig /all" > look for IPv4 Address.

Here's our architecture:

Step 2: Configure our bridge in our data center network:
Data center > PVE > network > Linux bridge > any desired name

Note: dont make any value except to the desired name

Step 3: Assigned the bridge and config for the VM's

I got two virtual machines, one is Windows, and the other is Linux. Under the virtual machine, I assigned my windows as VM1 while Linux as VM2.

Same configuration for both VMs:
Virtual machine > Hardware > from Virtio to Intel E1000, and make sure to uncheck the firewall

Step 4: Configure the virtual machine inside.

Windows:
Start the virtual machine > Ctr + Win > type "ncpa.cpl" > properties > IP address you want > subnet mask > ok

Verify:
Open your PowerShell, then ping the IP address you set.

Linux:
Setting > Network > gear icon > IPv4 > configure the Address and netmask > apply

Verify:
Ping the IP address you set

If everything is okay, ping the each other, there;s no error

Now, if you ping google.com you will fail because what we set-up is to talk the two VM but Isolated.

to be able to have internet your two VM, you should add another network device then select vmbr0 which connect to your internet

note: if you dont need to connect to the internet you should disabled this then just use the isolated device network

Top comments (0)