So I recently grabbed ProxMox so I could spin up some VM's from vulnhub so I can keep working on my pentesting. Now I'm having this weird issue. The first ova I grabbed was called y0usef can be found here: https://www.vulnhub.com/entry/y0usef-1,624/ and I was able to get this working no problem.
Next one I grabbed was crossroads https://www.vulnhub.com/entry/crossroads-1,659/ and while the import process went fine it has no network?! It never even tries to get an IP from my DCHP server. Unlike the ubuntu one?
I'm not sure what to do really? Why is networking working fine in the Ubuntu based vm's but not the Debian ones? are those vm's missing a driver or something? Is there a way I can add it?
Here is my interfaces
'ip a' output from working Ubuntu vm
'ip a' output from non-working Debian
Update
So after some more digging it seem that all the debian vm's don't use the correct interface in the /etc/network/interfaces file... I have no idea why or when / where these get set. But if you look at the screen shot below, they are all trying to use the "enp0s3" device (which is a valid ethernet device on the actual proxmox server itself but not the VM. The interface should be trying to use "ens18" if we look at the output from ip a on the Debian systems.
Is there a way I can correct this, other than manually for each Debian VM?
Thanks for reading.
Next one I grabbed was crossroads https://www.vulnhub.com/entry/crossroads-1,659/ and while the import process went fine it has no network?! It never even tries to get an IP from my DCHP server. Unlike the ubuntu one?
I'm not sure what to do really? Why is networking working fine in the Ubuntu based vm's but not the Debian ones? are those vm's missing a driver or something? Is there a way I can add it?
Here is my interfaces
Code:
root@home:/etc# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface enp2s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.15/24
gateway 192.168.1.1
bridge_ports enp2s0
bridge_stp off
bridge_fd 0
'ip a' output from working Ubuntu vm
'ip a' output from non-working Debian
Update
So after some more digging it seem that all the debian vm's don't use the correct interface in the /etc/network/interfaces file... I have no idea why or when / where these get set. But if you look at the screen shot below, they are all trying to use the "enp0s3" device (which is a valid ethernet device on the actual proxmox server itself but not the VM. The interface should be trying to use "ens18" if we look at the output from ip a on the Debian systems.
Is there a way I can correct this, other than manually for each Debian VM?
Thanks for reading.
Last edited: