Static Route in Ubuntu Desktop
Hi. Whats the best method to add a static route in ubuntu desktop 16.04? In the GUI (via edit connections) or through the terminal in etc/network/interfaces?
Comments
-
networker050184 Mod Posts: 11,962 ModWhichever you feel most comfortable with. Personally I'm a CLI type of guy.An expert is a man who has made all the mistakes which can be made.
-
Nik 99 Member Posts: 154 ■■■□□□□□□□Ah, thanks for that. Another question. If I go with the CLI route will IP settings in etc/network/interfaces override anything configured in the GUI?
-
paul78 Member Posts: 3,016 ■■■■■■■■■■If you are using the GUI Network-Manager, it manages the files using the same mechanism as the CLI version of network-manager - Ie. nmcli. If you are editing the interfaces file directly, I don't recall where the source files are stored in Ubuntu 16.04.
One thing that I wanted to point out is that in Ubuntu 18.04, network-manager has been replaced with netplan and the configuration files are different. It uses a yaml format which is stored in /etc/netplan. -
Nik 99 Member Posts: 154 ■■■□□□□□□□Thanks for answering that paul.
I would be using 18.04 but the application I want to use doesn't support it yet. Besides that netplan looks more annoying then network-manager, at least to me =P -
paul78 Member Posts: 3,016 ■■■■■■■■■■Thanks for answering that paul. I would be using 18.04 but the application I want to use doesn't support it yet. Besides that netplan looks more annoying then network-manager, at least to me =P
Most apps will run fine on 18.04 unless they are using a obsolete package that 18.04 no longer makes avail in the repo. You can always try it on an 18.04 system to see if it works.