≡ Menu

linux route

Ubuntu: SIOCADDRT: File exists Error and Solution

I'm typing the following command under Ubuntu Linux:

route add default gw eth0

But it is giving me out the following error:

SIOCADDRT: File exists

How do I fix this problem?
[click to continue…]

Linux Set Up Routing with ip Command

Can you explain the ip command to setup routing on Linux based systems? How do I use the ip command to configure the routing table of the Linux kernel?
[click to continue…]