Тёмный

How to Set Static IP in Ubuntu Server 20.04 

Abstract programmer
Подписаться 15 тыс.
Просмотров 44 тыс.
50% 1

In this video we're using netplan and Systemd-networkd to assign a static IP address to our server.
netplan.io

Наука

Опубликовано:

 

23 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 77   
@Drakellakos
@Drakellakos 8 месяцев назад
at last an IT engineer. Simple step by step explanation. Yes some of us need the information spoon fed. You rock
@absprog
@absprog 8 месяцев назад
Glad it was helpful!👍
@kateniaallen8670
@kateniaallen8670 10 месяцев назад
Thank you! Not only for showing how but also explaining what's going on so I can preform the task correctly for my system!! I appreciate this video so much!!!
@absprog
@absprog 9 месяцев назад
That's great to hear 😊👍
@fvgoya
@fvgoya Год назад
Thank you!!!! Simple and straight to the point.
@bronzePower
@bronzePower 2 года назад
Thanks buddy, this was a short and effective tutorial. Fixed my issue.
@absprog
@absprog 2 года назад
Glad to hear that! Thanks for the comment!
@ckevintucker
@ckevintucker Год назад
Thank you for publishing this video! It was very helpful.
@glendubie
@glendubie Год назад
Thank you sooooooo much. Great video!!!! Thanks for your time and keep up the good work.
@notker88
@notker88 Год назад
What is I have /20 at the size of the subnet mask at first from the dynamic IP? Yesterday it was working and today after I restarted my PC it does not work anymore. I assume it's because of the /20? There was subnet mask 20 but the second three numbers changed on reboot, how can that be?
@theslaphappychap
@theslaphappychap 7 месяцев назад
Clear, concise, professional. Thank you for this video! :)
@absprog
@absprog 7 месяцев назад
Thanks for your kind words!👍
@KeesFluitman
@KeesFluitman 2 месяца назад
I could succesfully set a static IP on my VMs, but they werent "discovered" by my router. They worked perfectly fine, except for connecting to github. So I debugged, removed static IP and voila. I could push and pull again, ssh to github, etc. Any ideas what that could be? Was somehow my router interfering and wanting to appoint a different IP?
@NigerianBaller
@NigerianBaller Год назад
Thank you so much for this video. I saved it in my playlist
@alexarmstrong7482
@alexarmstrong7482 2 года назад
Hi, your the explanations in all your videos are high quality, simple to understand and with examples. I am a new fan and follower of yours 🙂 . This video just saved my day. Thanks a lot.
@absprog
@absprog 2 года назад
Awesome, thank you so much!
@kcreations5478
@kcreations5478 11 месяцев назад
Sir after setting static ip whenever I am running apt-get update or sudo apt update or to install any package I am getting "Ign1 some error" like that and unable to download or install any package. Please help me
@simondetrez2221
@simondetrez2221 Год назад
Thank you for this clear tutorial !
@GamerMasterlink
@GamerMasterlink 6 месяцев назад
Thanks for the tutorial, it seems that the page you used to pick the example changed a little bit, and I could not found it but just typing the same text and being extra careful with the indents did the trick, thank you!
@absprog
@absprog 6 месяцев назад
Thank you for your feedback!👍
@dzkfdl
@dzkfdl День назад
Can the same method be done on 20.10?
@mikeendsley8453
@mikeendsley8453 2 года назад
Very helpful, great video.
@drishtdeummalik3124
@drishtdeummalik3124 2 года назад
awesome explanation, loved it :)
@Cathy-up3qc
@Cathy-up3qc Год назад
Good video. Anybody knows how to configure multiple network adapters (like eth1, eth2 etc with diff vlans) in ubuntu 20.04? I have searched a lot but didn't get a clear solution for 20.04
@adhwake
@adhwake Год назад
very well explained. much better than a lot of other short videos on this topic that dont cover some important bits. a question: with other devices we generally define the static ip in the router. do i not need to do that in this case and this procedure forces the change on the router, somhow?
@everythingyouwant5377
@everythingyouwant5377 5 дней назад
It just takes the pi so that other devices can’t take it basically
@elanosilveira2131
@elanosilveira2131 5 месяцев назад
thank you! all I needed
@absprog
@absprog 5 месяцев назад
Glad to hear that!👍
@moathghanim9052
@moathghanim9052 Год назад
I got into ipv4: N/A any idea why that happend
@leafyon
@leafyon Год назад
Invaluable tutorial. Thank you
@absprog
@absprog Год назад
Thank you for your kind words! It's always rewarding to hear that my content has been useful🤗
@zohrehahmadi3883
@zohrehahmadi3883 Год назад
high quality explanation. thank you so much
@absprog
@absprog Год назад
You are welcome! Thank you very much! 🤗
@Omar_Doble_R
@Omar_Doble_R Год назад
i have problem with multipass it does not save configuration when reboot machine . so i try to change with hyper-v console but mulltipass go to disabled, any solution?, nice video
@sebastienroll9249
@sebastienroll9249 2 года назад
Good Job! You can also set up an Static IP at the begining of the Ubuntu Server installation. Its faster and easier.
@absprog
@absprog 2 года назад
Yes, you are right, thanks!
@iberianful
@iberianful Год назад
Great video!!!!🙂
@alexanderpoplawski577
@alexanderpoplawski577 3 года назад
Thanks for the info. How does the dhcp-server know, that this address from the dhcp range is used static?
@absprog
@absprog 3 года назад
Your safest bet would be confining the address range of the DHCP server, so it doesn’t fully cover the subnet. That’s usually the case by default. Then use addresses outside this range whenever you need a static IP.
@alexanderpoplawski577
@alexanderpoplawski577 3 года назад
@@absprog That's what I do normally. Of course you will loose the connection as soon as you restart the network service. Then try to reconnect with the new address. If everything was correct, you can login. Otherwise go grab a keyboard and monitor :-)
@absprog
@absprog 3 года назад
Do you manage a big network?
@alexanderpoplawski577
@alexanderpoplawski577 3 года назад
@@absprog No, for my work the network is managed by the IT of my client. But I have to bring up a new server from time to time. But I have some Raspberry Pi servers at home.
@mahmutikilic
@mahmutikilic Год назад
i tried this a lot but i couldnt succes the dns resolving. in this video u deleted nameservers parameters. how could I add DNS info to ubuntu.
@Admiral_Jezza
@Admiral_Jezza Год назад
I get temporary failure in name resolution
@poke1994271
@poke1994271 Год назад
Hi bro, but when we config like this. Server cannot connect to the Internet via static IP address
@bogdanalexandru75
@bogdanalexandru75 11 месяцев назад
You can connect to the ethernet with a static ip, but you need to configure the adapter manually. Add the gateway (might be your router's ip) and the DNS servers (might be Google DNS servers).
@farazhassan6417
@farazhassan6417 Год назад
Very to the topic, Best.
@absprog
@absprog Год назад
👍
@highcel
@highcel Год назад
Helpful but incomplete and will confuse a beginner like myself. By choosing not to set the gateway the server no longer has access to internet! Luckily I figured out in the end what was wrong...
@kyaryi1
@kyaryi1 Год назад
Hey, can you explain how to setup the gateaway and the syntax for it? Have the same problem, this video screwed me over
@dauji6159
@dauji6159 5 месяцев назад
dude tell us how you fixed it atleast
@keithryon23
@keithryon23 2 года назад
Did you upload the network manager video?
@absprog
@absprog 2 года назад
Tbh I never got to make it… Do you think there would be viewers to it?
@bruce716
@bruce716 Год назад
@@absprog Yes, that would be great, I am using desktop version of ubuntu. And I would like to know if this is the reason, after followed your tutorial and rebooted the desktop ubuntu, I lost connection to internet. Lastly, how do I know if I did successfully assign a static ip to the ubuntu?
@420thdistrict
@420thdistrict Год назад
@@absprog is there not a video for the desktop version
@absprog
@absprog Год назад
@@420thdistrict ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0mfsE8t_7yY.html
@francoischarbonneau8944
@francoischarbonneau8944 5 месяцев назад
the link does not work
@jvskrishna
@jvskrishna Год назад
I am using a linux based iot device where I am unable to /etc/netplan. is there any other method?
@absprog
@absprog Год назад
Which distro do you have running there?
@jvskrishna
@jvskrishna Год назад
@@absprog distro?
@LibraryOfTheOligarchs
@LibraryOfTheOligarchs Год назад
Appreciate you!
@absprog
@absprog Год назад
Thank you for watching! I appreciate your support
@djawnstlr9018
@djawnstlr9018 Год назад
short and easy to understand
@absprog
@absprog Год назад
Glad you liked it!
@martinrosolino
@martinrosolino Год назад
THANKS MAN
@absprog
@absprog Год назад
Thank you for watching! I appreciate your support 👍
@1rajuindia
@1rajuindia 8 месяцев назад
Good explanation
@absprog
@absprog 8 месяцев назад
Thank you for your feedback!👍
@fakename8670
@fakename8670 3 месяца назад
What if it server or desktop doesn't have renderer?
@awumyvesagwo6581
@awumyvesagwo6581 Год назад
Thank you.
@absprog
@absprog Год назад
You're welcome!
@zachperkins6382
@zachperkins6382 5 месяцев назад
ip a is unknown
@EminKmmm
@EminKmmm 10 месяцев назад
I feel quality
@absprog
@absprog 9 месяцев назад
🤗
@Spek601
@Spek601 Год назад
This killed my internet access
@TheStevenWhiting
@TheStevenWhiting Год назад
Cause he removed the gateway part.
@indhi05channel71
@indhi05channel71 2 года назад
Very helpful, great video.
Далее
60 Linux Commands you NEED to know (in 10 minutes)
10:50
They got a Golden Buzzer 🤣✨
00:46
Просмотров 17 млн
How to Set Static IP in Ubuntu Server 20.04
13:28
Просмотров 78 тыс.
How to Set Static IP in Ubuntu Server 22.04
18:03
Просмотров 85 тыс.
Proxy vs Reverse Proxy Explained
8:05
Просмотров 352 тыс.
What is a Subnet Mask??? (you NEED to know it!!)
12:59
Просмотров 460 тыс.
Linux File System/Structure Explained!
15:59
Просмотров 4 млн
How to configure ip address in ubuntu linux
7:46
Просмотров 109 тыс.
iPhone 15 Pro в реальной жизни
24:07
Просмотров 425 тыс.
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 6 млн
Samsung laughing on iPhone #techbyakram
0:12
Просмотров 709 тыс.