Comments on: How to Configure Static IP Address on Ubuntu 20.04 https://www.tecmint.com/set-static-ip-address-in-ubuntu/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Tue, 02 Aug 2022 13:13:55 +0000 hourly 1 By: sophiaabigail https://www.tecmint.com/set-static-ip-address-in-ubuntu/comment-page-1/#comment-1855759 Tue, 02 Aug 2022 13:13:55 +0000 http://www.tecmint.com/?p=16631#comment-1855759 DHCP is that once the DHCP lease time has lapsed, the IP address of a system changes to a different one, and this leads to a disconnection in case the system was used for a particular service such as a file server.

For this reason, you may want to set a static IP address so that it never changes even when the lease time is up.

]]>
By: Pieter https://www.tecmint.com/set-static-ip-address-in-ubuntu/comment-page-1/#comment-1425309 Sat, 30 Jan 2021 15:43:08 +0000 http://www.tecmint.com/?p=16631#comment-1425309 In reply to James Kiarie.

I had a static IP in the yaml file and this does not get an update if you adjust its IP via.

netplan ip a prior to gui adjustments
gui DHCP => ip DHCP
Gui static ip b => ip a
It seems that netplan is not updated via GUI adjustments
Enjoy the coffee ‘)

]]>
By: James Kiarie https://www.tecmint.com/set-static-ip-address-in-ubuntu/comment-page-1/#comment-1409037 Mon, 04 Jan 2021 23:57:36 +0000 http://www.tecmint.com/?p=16631#comment-1409037 In reply to Jura Eriy.

Hey Jura.

Your concern is very valid. To avoid a conflict in IP address assignment in a network, as you have just described, consider reserving the IP assigned to the server on the router. Say for example, if you want to assign Server A an IP of 172.16.0.100, simply login into your router and reserve the IP address. This prevents the IP from being made available to client PCs & other network devices via the DHCP protocol.

Ideally, before the static assignment, proper mapping of your network is advised so as to know which device is using which IP address. You can use nifty tools like Nmap to scan your network to get to know which IP addresses are in use to avoid assigning a duplicate IP statically on the server.

I hope this answers your question.

]]>
By: James Kiarie https://www.tecmint.com/set-static-ip-address-in-ubuntu/comment-page-1/#comment-1409032 Mon, 04 Jan 2021 23:47:20 +0000 http://www.tecmint.com/?p=16631#comment-1409032 In reply to Marin Todorov.

Hey Marin, thanks for your contribution. I hadn’t actually seen it from that angle. Quite interesting I must say.

]]>
By: James Kiarie https://www.tecmint.com/set-static-ip-address-in-ubuntu/comment-page-1/#comment-1409031 Mon, 04 Jan 2021 23:43:57 +0000 http://www.tecmint.com/?p=16631#comment-1409031 In reply to Jaidev Shah.

Thank you very much Jaidev Shah. Keep it Tecmint.

]]>