Failed to start Raise nerwork interfaces

Jorge González

New Member
Jun 18, 2019
1
0
1
49
Hi,

i'm running 4.15.18-16-pve with this network configuration:

root@jarvis:~# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 00:21:5e:c2:71:f0 brd ff:ff:ff:ff:ff:ff
3: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr1 state UP mode DEFAULT group default qlen 1000
link/ether 00:04:e2:35:0c:17 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 00:21:5e:c2:71:f0 brd ff:ff:ff:ff:ff:ff
5: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 00:04:e2:35:0c:17 brd ff:ff:ff:ff:ff:ff
6: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 52:4b:c1:ea:89:43 brd ff:ff:ff:ff:ff:ff
7: tap100i1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr1 state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 02:bb:ee:90:95:ce brd ff:ff:ff:ff:ff:ff
8: tap101i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr1 state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 3a:f7:72:34:8d:51 brd ff:ff:ff:ff:ff:ff

root@jarvis:~# ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP group default qlen 1000
link/ether 00:21:5e:c2:71:f0 brd ff:ff:ff:ff:ff:ff
3: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr1 state UP group default qlen 1000
link/ether 00:04:e2:35:0c:17 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:21:5e:c2:71:f0 brd ff:ff:ff:ff:ff:ff
inet 200.61.163.226/29 brd 200.61.163.231 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::221:5eff:fec2:71f0/64 scope link
valid_lft forever preferred_lft forever
5: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:04:e2:35:0c:17 brd ff:ff:ff:ff:ff:ff
inet 192.168.3.15/24 brd 192.168.3.255 scope global vmbr1
valid_lft forever preferred_lft forever
inet6 fe80::204:e2ff:fe35:c17/64 scope link
valid_lft forever preferred_lft forever
6: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 52:4b:c1:ea:89:43 brd ff:ff:ff:ff:ff:ff
7: tap100i1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr1 state UNKNOWN group default qlen 1000
link/ether 02:bb:ee:90:95:ce brd ff:ff:ff:ff:ff:ff
8: tap101i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr1 state UNKNOWN group default qlen 1000
link/ether 3a:f7:72:34:8d:51 brd ff:ff:ff:ff:ff:ff

root@jarvis:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface enp3s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 200.61.163.226
netmask 255.255.255.248
gateway 200.61.163.230
bridge_ports enp3s0
bridge_stp off
bridge_fd 0

iface ens5 inet manual

auto vmbr1
iface vmbr1 inet static
address 192.168.3.15
netmask 255.255.255.0
gateway 192.168.3.3
bridge_ports ens5
bridge_stp off
bridge_fd 0

but...

root@jarvis:~# systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-06-18 12:13:15 -03; 1h 57min ago
Docs: man:interfaces(5)
Process: 7301 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 7285 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm s
Main PID: 7301 (code=exited, status=1/FAILURE)
CPU: 56ms

Jun 18 12:13:15 jarvis systemd[1]: Starting Raise network interfaces...
Jun 18 12:13:15 jarvis ifup[7301]: Waiting for vmbr1 to get ready (MAXWAIT is 2 seconds).
Jun 18 12:13:15 jarvis ifup[7301]: RTNETLINK answers: File exists
Jun 18 12:13:15 jarvis ifup[7301]: ifup: failed to bring up vmbr1
Jun 18 12:13:15 jarvis systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Jun 18 12:13:15 jarvis systemd[1]: Failed to start Raise network interfaces.
Jun 18 12:13:15 jarvis systemd[1]: networking.service: Unit entered failed state.
Jun 18 12:13:15 jarvis systemd[1]: networking.service: Failed with result 'exit-code'.

the network works just fine. I'm connected to the server via SSH and it can ping google.com

root@jarvis:~# ping google.com
PING google.com (216.58.222.46) 56(84) bytes of data.
64 bytes from gru09s17-in-f46.1e100.net (216.58.222.46): icmp_seq=1 ttl=57 time=1.44 ms
64 bytes from gru09s17-in-f46.1e100.net (216.58.222.46): icmp_seq=2 ttl=57 time=1.32 ms
64 bytes from gru09s17-in-f46.1e100.net (216.58.222.46): icmp_seq=3 ttl=57 time=1.14 ms
64 bytes from gru09s17-in-f46.1e100.net (216.58.222.46): icmp_seq=4 ttl=57 time=0.972 ms
^C
--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 0.972/1.223/1.445/0.181 ms
 
root@jarvis:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface enp3s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 200.61.163.226
netmask 255.255.255.248
gateway 200.61.163.230
bridge_ports enp3s0
bridge_stp off
bridge_fd 0

iface ens5 inet manual

auto vmbr1
iface vmbr1 inet static
address 192.168.3.15
netmask 255.255.255.0
gateway 192.168.3.3
bridge_ports ens5
bridge_stp off
bridge_fd 0


You have 2 gateways defined (only 1 is possible).
 

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!