[SOLVED] Error when Apply Configuration in network

ddj

New Member
Nov 23, 2021
10
2
3
39
When I use the "Apply Configuration" button in the network section I get this message:

command 'ifreload -a' failed: exit code 1

Anyone can help?
 
Could you run that command on the command line and provide its output?
 
root@pve1:~# ifreload -a
error: vmbr0: cmd '/bin/ip route add default via 10.0.0.10 proto kernel dev vmbr0 onlink' failed: returned 2 (Error: Nexthop has invalid gateway.


I am sorry if the problem is obvious to be solved, I am a newbie.
 
Last edited:
Please provide the current network configuration (/etc/network/interfaces) as well as the new one (/etc/network/interfaces.new)