Issue: Bridge not working

ManucrackYT

New Member
Nov 10, 2023
6
0
1
Hi, I recently installed Proxmox on a Dedicated Server and bought a subnet/29 for it. When I tried to create a CT Container, there were no Bridges on the Network Section so I make one on my node manually

1712522266097.png

Then I could create a CT but now the LXC container cant ping or do apt update correctly, what can I do?


1712522406798.png
 
On your LXC. The screenshot shows your IPv4 Gatway field is empty, so the LXCs OS doesn't know where to send packets to access the internet.
It needs an IP, gateway and DNS server like any OS.
 
Last edited:
Theres no PVE Gateway, as you can see on the first screenshot because if you put something there, you get the following error:

1712524982967.png
 
Hi, I recently installed Proxmox on a Dedicated Server and bought a subnet/29 for it. When I tried to create a CT Container, there were no Bridges on the Network Section so I make one on my node manually

View attachment 65942

Then I could create a CT but now the LXC container cant ping or do apt update correctly, what can I do?


View attachment 65943
From your post, it seems like you have the dedicated server hosted with a provider which comes with a dedicated IP. On top of that, you have another subnet /29 apart from the main subnet allocated. If it is correct, then you are facing the common issue of multiple IPs on a single MAC. It can be solved by having all subnets use the same MAC address when exiting your network into the provider's environment.

Here is a sample configuration may work in your situation with 2 subnets. In this example, the IP 10.0.0.1/30 is the main subnet and 10.10.1.1/29 is the additional subnet:
Code:
auto enps0f0
iface enps0f0 inet static
        address  10.0.0.1/30
        gateway  10.0.0.254
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up echo 1 > /proc/sys/net/ipv4/conf/eno0/proxy_arp

auto vmbr0
iface vmbr0 inet static
        address  10.10.1.1/29
        bridge-ports none
        bridge-stp off
        bridge-fd 0
 
  • Like
Reactions: Dunuin
From your post, it seems like you have the dedicated server hosted with a provider which comes with a dedicated IP. On top of that, you have another subnet /29 apart from the main subnet allocated. If it is correct, then you are facing the common issue of multiple IPs on a single MAC. It can be solved by having all subnets use the same MAC address when exiting your network into the provider's environment.

Here is a sample configuration may work in your situation with 2 subnets. In this example, the IP 10.0.0.1/30 is the main subnet and 10.10.1.1/29 is the additional subnet:
Code:
auto enps0f0
iface enps0f0 inet static
        address  10.0.0.1/30
        gateway  10.0.0.254
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up echo 1 > /proc/sys/net/ipv4/conf/eno0/proxy_arp

auto vmbr0
iface vmbr0 inet static
        address  10.10.1.1/29
        bridge-ports none
        bridge-stp off
        bridge-fd 0
I think you're not correct, I have a dedicated IP but it doesnt mention its from a subnet
 

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!