Rocky Linux设置静态IP

bash 复制代码
[connection]
id=ens160
uuid=cd246f67-c929-362a-809d-f1b44ddc5d25
type=ethernet
autoconnect-priority=-999
interface-name=ens160
timestamp=1719094243

[ethernet]

[ipv4]                                                 ## 在IPV4下面修改如下内容
method=manual
address=192.168.116.100/24,192.168.116.2               ## 修改IP,子网掩码;网关
dns=114.114.114.114                                    ## 设置DNS服务
may-fail=false

[ipv6]
addr-gen-mode=eui64
method=auto

[proxy]
bash 复制代码
nmcli c reload
nmcli c up ens160
相关推荐
回眸&啤酒鸭1 天前
【回眸】Minicart 电商购物车核心功能落地指南
人工智能
一隅论数智1 天前
给AI一张“业务概念地图“:本体如何从哲学走向企业智能
大数据·人工智能·经验分享·笔记·学习·学习方法·政务
默_笙1 天前
🍙 给每个请求过安检:FastAPI 是怎么把校验写进类型注解的
python
AI的探索之旅1 天前
97 个 OpenCV 实例(三十):双目立体,从标定到点云
人工智能·opencv·计算机视觉
AlbertZein1 天前
Step-5-Preview 上手实测:3D 游戏、金融分析、网页设计一次跑完
人工智能·aigc
LaughingZhu1 天前
Product Hunt 每日热榜 | 2026-09-19
人工智能·深度学习·神经网络·搜索引擎·百度
qq_426003961 天前
启动playwright录制codegen生成自动化测试脚本
python·自动化
虎头金猫1 天前
4K 视频总卡在公网带宽?用 N1 + OpenList 把网盘播放链路重新理顺
运维·服务器·网络·python·容器·beautifulsoup·pandas
美狐美颜SDK开放平台1 天前
开发直播APP时如何接入视频美颜SDK?开发流程与注意事项
android·人工智能·计算机视觉·音视频·直播美颜sdk