Netplan Basic Ubuntu 23.04 Static IP Setup: Difference between revisions
From WikiMLT
mNo edit summary |
m Стадий: 4 [Фаза:Авторизиране, Статус:Разработен]; Категория:Linux Desktop |
||
Line 32: | Line 32: | ||
| Прндл = Linux Desktop | | Прндл = Linux Desktop | ||
| Прндл1 = Linux Server | | Прндл1 = Linux Server | ||
| Стадий = | | Стадий = 4 | ||
| Фаза = | | Фаза = Авторизиране | ||
| Статус = | | Статус = Разработен | ||
| ИдтПт = Spas | | ИдтПт = Spas | ||
| РзбПт = {{REVISIONUSER}} | | РзбПт = Spas | ||
| АвтПт = {{REVISIONUSER}} | |||
| ИдтДт = 6.05.2023 | | ИдтДт = 6.05.2023 | ||
| РзбДт = {{Today}} | | РзбДт = 6.05.2023 | ||
| АвтДт = {{Today}} | |||
| ИдтРв = [[Special:Permalink/32489|32489]] | | ИдтРв = [[Special:Permalink/32489|32489]] | ||
| РзбРв = {{REVISIONID}} | | РзбРв = [[Special:Permalink/32492|32492]] | ||
| АвтРв = {{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