[ubuntu]:ubuntu2402——网络配置
一、ubuntu2402之网络配置(重点内容:网络配置的格式)
wit@ubuntu:~/ubuntu2402/lidawei/tmp$ sudo cat /etc/netplan/90-NM-14f59568-5076-387a-aef6-10adfcca2e26.yaml
network:
version: 2
ethernets:
ens33:
renderer: NetworkManager
match: {}
addresses:
- "10.10.10.70/24"
- "10.10.10.71/24"
- "10.10.10.72/24"
nameservers:
addresses:
- 223.5.5.5
- 223.6.6.6
networkmanager:
uuid: "14f59568-5076-387a-aef6-10adfcca2e26"
name: "netplan-ens33"
passthrough:
connection.timestamp: "1742019805"
ipv4.address1: "10.10.10.70/24,10.10.10.1"
ipv4.method: "manual"
ipv6.method: "disabled"
ipv6.ip6-privacy: "-1"
proxy._: ""
二、说明
1、 核心内容是网络配置的格式
本文由 lnlidawei 原创、整理、转载,本文来自于【博客园】; 整理和转载的文章版权归属【原创作者】; 转载或引用时【请保留文章的来源信息】:https://www.cnblogs.com/lnlidawei/p/18773712

浙公网安备 33010602011771号