Proxmox 6.0 no connections

prx8mx

New Member
Dec 1, 2015
4
0
1
www.exonet3i.com
Hello,

I installed proxmox 6 and I have no connections, why ?

The last version it's supposed to be more evolved and more simple !

My original install interfaces file look like ;

auto lo
iface lo inet loopback
iface enp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.8.12
netmask 255.255.255.0
gateway 192.168.8.254
bridge_ports en2s0
bridge_fd 0

iface enp5s4 inet manual
iface w1x0015af22eacd inet manual

But I have my last interfaces file about my last proxmox 4 configuration witch do not work too :

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp


auto vmbr0
iface vmbr0 inet static
address 10.0.2.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.0.2.0/24' -o eth0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.0.2.0/24' -o eth0 -j MASQUERADE

Thanks for any help.
 
auto lo
iface lo inet loopback
iface enp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.8.12
netmask 255.255.255.0
gateway 192.168.8.254
bridge_ports en2s0
bridge_fd 0

iface enp5s4 inet manual

please verify your configuration im vmbr0. il think you shoiuld have enp2s0 and not en2s0

or maybe the other interface ?
 
Thanks, I 'v done this mistake here.
I'v get proxmox dashboard working well with this configuration :

iface enp2s0 inet dhcp

auto vmbr0
iface vmbr0 inet static
address 192.168.8.12
netmask 255.255.255.0
gateway 192.168.8.254
bridge_ports enp2s0
bridge_stp off
bridge_fd 0

But now I have no connection and no internet with my vm "Kali linux", here is my configuration :

auto eth0
iface eth0 inet static
address 192.168.8.14
netmask 255.255.255.0
gateway 192.168.9.254
dns-nameservers 192.168.8.254

With service network-manager restart or service networking restart no problems.

I google for days on the connection in bridge mode but without success, I really need help !
 
But now I have no connection and no internet with my vm "Kali linux", here is my configuration :

auto eth0
iface eth0 inet static
address 192.168.8.14
netmask 255.255.255.0
gateway 192.168.9.254
dns-nameservers 192.168.8.254

Is the typo in the gateway 192.168.9.254 just here in the forum or in the VM as well?
 
Yes, it's my configuration, but no internet connection.

here is my host configuration :

auto lo
iface lo inet loopback

iface enp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.8.12
netmask 255.255.255.0
gateway 192.168.8.254
bridge_ports enp2s0
bridge_stp off
bridge_fd 0

iface enp5s4 inet dhcp

iface wlx0015af22eacd inet dhcp

On my vm :

auto eth0
iface eth0 inet static
address 192.168.8.14
netmask 255.255.255.0
gateway 192.168.9.254
dns-nameservers 192.168.8.254

I am very disappointed with proxmox, may have to pay, if I do not find the solution I will turn to esxi.


I look on tutorials the configuration is good, I do not understand, and I deactivated the firewall.

If an expert can help me it will be great !
 
What I was hinting at is that the gateway of the VM is probably wrong.

Code:
auto vmbr0
iface vmbr0 inet static
       address 192.168.8.12
       netmask 255.255.255.0
       gateway 192.168.8.254

Code:
auto eth0
iface eth0 inet static
address 192.168.8.14
netmask 255.255.255.0
gateway 192.168.9.254

If you compare the gateway you will see the 8 in the third octet of the host and a 9 for the VM. Plus the VM will never be able to reach the gateway at 192.168.9.254 with that subnet mask because the gateway is in another network.

Try to change the gateway of the VM to the same as the host and it should work.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!