Problem in setting up a network bridge

th3D4rkl0rd

Member
Jun 15, 2020
4
0
21
29
Hoping someone here can help out a PROXMOX newbie...
I have a dedicated server on which PROXMOX is installed.
When i try to create a network bridge and apply it server is unable to come online.

my network interface looks like this. kindly help me to create a network bridge.
Code:
auto lo
iface lo inet loopback

auto primary
iface primary inet static
        address 104.219.234.138/29
        gateway 104.219.234.137
        dns-nameservers 8.8.8.8
        dns-search com
# dns-* options are implemented by the resolvconf package, if installed
# Added by SynergyCP

auto primary:1
iface primary:1 inet static
        address 104.219.234.139/29

auto primary:2
iface primary:2 inet static
        address 104.219.234.140/29

auto primary:3
iface primary:3 inet static
        address 104.219.234.141/29

auto primary:4
iface primary:4 inet static
        address 104.219.234.142/29

iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

download.png
 
what is "primary" interface ? a physical nic ?

if yes,if you create a bridge "vmbrx", and you put the primary interface in the bridge, you need to move ip configuration inside the vmbrX.

something like

Code:
auto vmbr0
iface vmbr0 inet static
       bridge-ports primary
       bridge-stp off
       bridge-fd 0
        address 104.219.234.138/29
        address 104.219.234.139/29
        address 104.219.234.140/29
        address 104.219.234.141/29
        address 104.219.234.142/29

(you can put all ips inside the interface like this, no need to create alias)


Also, why do you need multiple ips ? (you don't need to create ip on proxmox node, it theses ips are vms ip).
Ip on proxmox node is only management ips for the host.
 
  • Like
Reactions: th3D4rkl0rd
@spirit Thanks For the reply. even i don't know what is that 'Primary' interface
order a server with /29 ip allocation and that primary interface is for those IP allocations.
server comes with Debian 11 and I installed proxmox over it. The server provider said its routed the network and i can't figure out how to create a bridge i tried everything nothing works

server comes with
IP Allocation 104.219.234.136/29
Usable IP(s) 104.219.234.138 - 142
Main IP: 104.219.234.138
Gateway IP104.219.234.137
Subnet Mask 255.255.255.248

can you help me out? i can pay for your time.