Solution to SIOCADDRT no such process on Ubuntu

Published: 22 Mar 2009
While configuring some Ubuntu servers to have a static IP address recently, I came across this error when I attempted to restart the network interfaces: SIOCADDRT: no such process I realized that I had invalid IP addresses for both my network and gateway entries in /etc/network/interfaces file:
# The primary network interface
auto eth0
iface eth0 inet static
    address 192.168.0.146
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1
Once you verify and correct the addresses, don't forget to restart networking: sudo /etc/init.d/networking restart

Ubuntu Jobs

jobs by Indeed job search