V
V
vityabond2015-10-11 16:43:03
Debian
vityabond, 2015-10-11 16:43:03

Proxmox how to set up a network?

There is a server with installed Proxmox. Connected to the Internet via eth0, receives external IP via DHCP. How to set up a network for a virtual machine on CentOS. I managed to set up a connection between Debian and Centos, but CentOS does not have Internet access.
Debian
_________________________________________________
auto eth0
iface eth0 inet dhcp
auto vmbr0
iface vmbr0 inet static
address 192.168.0.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
CentOS
_________________________________________________
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.2
MASK=255 .
GATEWAY=192.168.0.1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
gilgameshfreedom, 2015-10-11
@vityabond

You need to set up masquerading for the virtual network. The wiki describes all the typical options.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question