Ubuntu en Default Gateway

Ubuntu Default Gateway toevoegen:

$ sudo ip route add default via


Save routing information to a configuration file /etc/network/interfaces

Open /etc/network/interfaces file
$ sudo vi /etc/network/interfaces



Look for a line that says something like:

default         UG    0      0        0 eth0

The second column contains the default gateway, and the last column is the interface.

You can also use the ip command:

ip route

which will give you something like

default via dev eth0
Geplaatst in Algemeen
%d bloggers liken dit: