Network is unreachable

How about for a start to manually create the bridge and assign IP to it?
If any error occurs, please post it here.
Code:
brctl addbr vmbr0
brctl addif vmbr0 eno1
ip a add 10.0.0.30/24 dev vmbr0
ip r add default via 10.0.0.1 dev vmbr0
 
How about for a start to manually create the bridge and assign IP to it?
the last line
ip r add default via 10.0.0.1 dev vmbr0
gave an error --> Error: Nexthop has invalid gateway.
 
Last edited:
Hi @marcelw60,
I would reinstall PVE at this point, if you don't have any Important VMs or have Backups.
It still looks like a network config issue.

Another Question I have,
did you manually change the network config in the file, before this issue appeared?

If so:
Delete all vmbr0 entries and set the IP direct on the Port:
Code:
auto eno1
iface eno1 inet static
        address 10.0.0.30/24
        gateway 10.0.0.1
The large spaces are Tab stops :)
 
the last line
ip r add default via 10.0.0.1 dev vmbr0
gave an error --> Error: Nexthop has invalid gateway.
This error only appears, if device's IP and the gateway are not in the same network. Should not happen in this scenario.
Could you provide the output of brctl show vmbr0 and ip a s vmbr0 ?
 
Could you provide the output of brctl show vmbr0
sure!

output brctl show vmbr0
Code:
bridge name    bridgeID                         STP enabled.   interfaces
vmbr0         8000.97e7f4bcf8cc.               no             eno1

output ip a s vmbr0
3: vmbr0: <BROADCAST, MULTICAST› mtu 1500 qdisc noop state DOWN group default glen 1000
link/ether 98:e7:f4:bc:f8:cc brd ff:ff:ff:ff:ff:ff
inet 10.0.0.30/24 scope global vmbr0 valid_Ift forever preferred_lft forever
 
Last edited:
Another Question I have,
did you manually change the network config in the file, before this issue appeared?
Yes I changed manually in the process above the network config

config file:
Code:
auto lo
iface lo inet loopback

iface eno1 inet manual
auto vmbr0
iface vmbr0 inet static
             address 10.0.0.30/24
             gateway 10.0.0.1
             bridge-ports eno1
             bridge-stp off
             bridge-fd 0
 
Last edited:
Yes I changed manually in the process above the network config

config file:
Code:
auto lo
iface lo inet loopback

iface eno1 inet manual
auto vmbr0
iface vmbr0 inet static
             address 10.0.0.30/24
             gateway 10.0.0.1
             bridge-ports eno1
             bridge-stp off
             bridge-fd 0

Is it a typo or is there no space between eno1 and vmbr0?

It should look like this:
Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
             address 10.0.0.30/24
             gateway 10.0.0.1
             bridge-ports eno1
             bridge-stp off
             bridge-fd 0
 
Try an ip link set up vmbr0 to enable the bridge. And if it works ip r add default via 10.0.0.1 dev vmbr0
Wow, great!
This worked!
I could ping 1.1.1.1, so network is available

What's the next step I should/could do to make all this permanent and survive a reboot?
 
  • Like
Reactions: fba
First of all, run ifreload -a -s
This does a syntax check on the interfaces file. The command should return without any visible output, if there are no errors.
 
hmm, I rcvd this reply, despite being the root user.

root@pve-hp2:~# ifreload -a -s
-bash: /usr/sbin/ifreload: Permission denied
 
I did use the below command; received the following error

root@pve-hp2:~# dpkg --configure -a after apt upgrade
dpkg: error: --configure --pending does not take any non-option arguments

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
 
My wrong :rolleyes:

I saw a lot of error messaging;
The last lines

update-initramfs: failed for /boot/initrd.img-6.8.12-2-pve with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.36-9+deb12u9) ...
Processing triggers for systemd (252.31-1~deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
/usr/bin/mandb: can't create index cache /var/cache/man/1650337: No space left on device
Processing triggers for pve-ha-manager (4.0.6) ...
Errors were encountered while processing:
proxmox-kernel-6.8.12-4-pve-signed
proxmox-kernel-6.8
initramfs-tools

It looks like there is too less HD space;
1737450093144.png


I tried to delete a non active LXC ;
I got this error

1737450600153.png
 

Attachments

  • 1737450546048.png
    1737450546048.png
    102.4 KB · Views: 1
Last edited: