Set Static IP on Ubuntu Server Like a PRO!

  Рет қаралды 1,577

Practical IT with Jeremy Leik

Practical IT with Jeremy Leik

Күн бұрын

Пікірлер: 15
@QuikTechSolutions
@QuikTechSolutions 3 ай бұрын
Clear, concise, and to the point. Well done!
@Practical-IT
@Practical-IT 3 ай бұрын
Thanks! That's what I was going for. Hopefully this one performs well.
@TVJAY
@TVJAY 3 ай бұрын
I like that you are creating a backup file. I always forget to backup my config files.
@Practical-IT
@Practical-IT 3 ай бұрын
When I don't create a backup, it always ends up biting me in the hind end!
@kristopherleslie8343
@kristopherleslie8343 3 ай бұрын
Good to see you again buddy
@shatchett0
@shatchett0 3 ай бұрын
The video I’ve looking for. I’m sure there is a reason why it is this difficult to do something so simple. But it I do wonder why. Thanks for the video.
@GrishTech
@GrishTech 3 ай бұрын
I’ve never had a reason to mess with net plan since it seems too complicated lol. Sort of went the easier way by using dhcp reservations or cloud init. But I am going to try this out for the sake of knowing. Thanks for this tutorial.
@Practical-IT
@Practical-IT 3 ай бұрын
I'm mostly doing DHCP reservations these days. It's just hard to demonstrate that with all the different routers and firewalls on the market.
@808jpm
@808jpm 3 ай бұрын
If you don't want to reboot, run "sudo netplan apply". Nice that your example uses the routes block instead of a gateway4 key/value that the installer uses and netplan reports as deprecated. I don't think it matters, but might have mentioned any changes in 22.04 LTS vs. 24.04 LTS, and maybe when netplan became standard.
@Practical-IT
@Practical-IT 3 ай бұрын
I've done the same process in 22.04 and 24.04 with this config file. Works in both. In a future video I will run through the same process in 24.04 and give a little more info on netplan. Seems it's here to stay.
@tech4fun115
@tech4fun115 3 ай бұрын
Great video!
@Practical-IT
@Practical-IT 3 ай бұрын
Thanks
@rojanshrestha822
@rojanshrestha822 3 ай бұрын
Cool, Do we also need to change gateway4? all the config got overwritten with new ip but some reason i cannot ssh into the server
@Practical-IT
@Practical-IT 3 ай бұрын
I'm afraid gateway4 is deprecated and has been replaced by the routes section of the netplan file shown in the video. You can check to see if you have references to gateway4 by running the following command: grep -r gateway4 /etc Stack Exchange Article: unix.stackexchange.com/questions/731534/netplan-apply-warns-gateway4-has-been-deprecated-but-yaml-has-no-gateway4-line AskUbuntu Article: askubuntu.com/questions/1410750/netplan-gateway-has-been-deprecated At 2:13 in the video, I show the full file and gateway4 does not exist. I was able to ssh into the server after changing this. If you have made changes to your ssh configuration files before running the netplan file shown in the video, you may need to revisit that config to get everything back up and running. I hope this helps.
we ran OUT of IP Addresses!!
16:49
NetworkChuck
Рет қаралды 2,1 МЛН
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
🚨 ALERT: NEVER SHARE THIS WITH [ChatGPT]❗
13:49
Enrique Reacts
Рет қаралды 653
How to Set a Static IP on Ubuntu 24.04 Server - Step-by-Step Guide
12:05
What's the BEST home server operating system?
17:35
Christian Lempa
Рет қаралды 715 М.
Want Proxmox Notifications That WORK? Watch This Now
10:11
Practical IT with Jeremy Leik
Рет қаралды 478
Self Hosted Environment - BIND9 DNS Server Setup
18:45
ak'tu' Media
Рет қаралды 405
How to Set Static IP Addresses in Ubuntu 24 Server (Netplan Tutorial)
6:37
RealClearComputing
Рет қаралды 2,7 М.
Setting a Netplan in Ubuntu Server 22.04
11:28
David Dalton
Рет қаралды 6 М.
OCCUPIED #shortssprintbrasil
0:37
Natan por Aí
Рет қаралды 131 МЛН