I am having issues configuring three blocks on my system. I used to add the addresses of each block manually, but I discovered that I can add the entire block using the command "ip route add local". When I tried this, it initially worked, but when I attempted to configure the last block, it stopped working. Now, when I try to restart the service, the interface fails to start and the block does not respond to pings or allow connections when using the interface, even after rebooting.
ip addr flush enp1s0f0- This disconnects my SSH connection.
ip addr flush enp1s0f0 && ifup enp1s0f0; echo done && sleep 20 && reboot- This just cuts my connection and reboots the system, indicating that the "ifup" command still did not work.
# The loopback network interface
iface lo inet loopback
# The primary network interface
iface enp1s0f0 inet static
# dns-* options are implemented by the resolvconf package, if installed
iface enp1s0f0:0 inet static
iface enp1s0f0:1 inet static
iface enp1s0f0:2 inet static
The interfaces ":1" and ":2" refer to two different IP blocks, such as "184.108.40.206" and "220.127.116.11". Can you please provide guidance on how to address the issue with configuring these blocks?