Article 4X104 Fix Ubuntu 16 Networking

Fix Ubuntu 16 Networking

by
Bashed
from LinuxQuestions.org on (#4X104)
Just installed Ubuntu 16 server with /29 as primary and /24 as secondary at the Cisco switches.

I use a simple bind.sh script to bind the /24.

Code:for i in $(seq 2 254);
do
ip addr add xxx.xxx.211.$i/24 dev eno1
done

ip addr showI'm getting this error though.

Code:root@ns4:~# systemctl status networking.service
a- networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Drop-In: /run/systemd/generator/networking.service.d
a""a"50-insserv.conf-$network.conf
Active: failed (Result: exit-code) since Tue 2019-12-24 12:29:58 EST; 1min 3s ago
Docs: man:interfaces(5)
Process: 13859 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 13853 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exi
Main PID: 13859 (code=exited, status=1/FAILURE)

Dec 24 12:29:56 ns4 ifup[13859]: RTNETLINK answers: File exists
Dec 24 12:29:56 ns4 ifup[13859]: Failed to bring up eno1:97.
Dec 24 12:29:56 ns4 ifup[13859]: RTNETLINK answers: File exists
Dec 24 12:29:56 ns4 ifup[13859]: Failed to bring up eno1:98.
Dec 24 12:29:56 ns4 ifup[13859]: RTNETLINK answers: File exists
Dec 24 12:29:56 ns4 ifup[13859]: Failed to bring up eno1:99.
Dec 24 12:29:58 ns4 systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Dec 24 12:29:58 ns4 systemd[1]: Failed to start Raise network interfaces.
Dec 24 12:29:58 ns4 systemd[1]: networking.service: Unit entered failed state.
Dec 24 12:29:58 ns4 systemd[1]: networking.service: Failed with result 'exit-code'.latest?d=yIl2AUoC8zA latest?i=l0e60Ni8ShM:z-0UMS1mtQo:F7zBnMy latest?i=l0e60Ni8ShM:z-0UMS1mtQo:V_sGLiP latest?d=qj6IDK7rITs latest?i=l0e60Ni8ShM:z-0UMS1mtQo:gIN9vFwl0e60Ni8ShM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments