Netplan Basic Ubuntu 23.04 Static IP Setup: Difference between revisions
From WikiMLT
m Стадий: 4 [Фаза:Авторизиране, Статус:Разработен]; Категория:Linux Desktop |
m Стадий: 5 [Фаза:Утвърждаване, Статус:Авторизиран]; Категория:Linux Desktop |
||
Line 32: | Line 32: | ||
| Прндл = Linux Desktop | | Прндл = Linux Desktop | ||
| Прндл1 = Linux Server | | Прндл1 = Linux Server | ||
| Стадий = | | Стадий = 5 | ||
| Фаза = | | Фаза = Утвърждаване | ||
| Статус = | | Статус = Авторизиран | ||
| ИдтПт = Spas | | ИдтПт = Spas | ||
| РзбПт = Spas | | РзбПт = Spas | ||
| АвтПт = {{REVISIONUSER}} | | АвтПт = Spas | ||
| УтвПт = {{REVISIONUSER}} | |||
| ИдтДт = 6.05.2023 | | ИдтДт = 6.05.2023 | ||
| РзбДт = 6.05.2023 | | РзбДт = 6.05.2023 | ||
| АвтДт = {{Today}} | | АвтДт = 6.05.2023 | ||
| УтвДт = {{Today}} | |||
| ИдтРв = [[Special:Permalink/32489|32489]] | | ИдтРв = [[Special:Permalink/32489|32489]] | ||
| РзбРв = [[Special:Permalink/32492|32492]] | | РзбРв = [[Special:Permalink/32492|32492]] | ||
| АвтРв = {{REVISIONID}} | | АвтРв = [[Special:Permalink/32494|32494]] | ||
| УтвРв = {{REVISIONID}} | |||
}} | }} | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Revision as of 10:07, 6 May 2023
sudo nano /etc/netplan/00-installer-config.yaml
# This is the network config written by 'pa4080'
network:
ethernets:
eth0:
addresses:
- 172.16.1.110/24
match:
macaddress: ae:14:53:6b:48:a5
nameservers:
addresses:
- 172.16.1.10
- 172.16.1.1
search:
- ububtu-x.metalevel.cloud
routes:
- to: default
via: 172.16.1.1
set-name: eth0
version: 2
References:
- Ask Ubuntu: What is the difference between
00-installer-config.yaml
and50-cloud-init.yaml
- Linux Config: Netplan static IP on Ubuntu configuration