


If you need to delete an ip address cause you made a mistake To find out which network interfaces you have and which are working Hence no routes and the network does not work. Notice the /32 which effectively is saying that is the only computer that exists on a network of one computer.

You need add the address again using /24 subnet syntax. If you don't see some thing like above in the route table but see some thing like this when you use ip ad. You should see some thing similar to this usingġ0.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.20 This set ups the routes that the computer / network has available to it. It is similar to saying netmask 255.255.255.0. 24 tells the computers that the last 8 bits of the 32 bit ip address can change. The rest of this post is to help trouble shoot if there are problems.ġ0.0.0.xx is the ip address of the computers. Provided that a cable is connecting the two computers and the network interface on both of them is enabled and called eth0 this should work. You would need to update the below command to use different dev enp1s0 etc. Look for something with similar names to en being ethernet / wl being wireless. On newer version of Linux the network card names have changed. Some old computers will require a crossover cableĬommand line example cause it is so quick and simple. (*) Most modern computers can use a normal cable instead of a crossover.
