debian 11修改ip地址的方法
生活随笔
收集整理的這篇文章主要介紹了
debian 11修改ip地址的方法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
首先以root權限打開/etc/network/interfaces
刪除里面的所有內容,再輸入以下內容:
--------------------------------------
auto enp2s0
iface enp2s0 inet static
address 192.168.3.91
netmask 255.255.255.0
gateway 192.168.3.1
network 192.168.3.0
broadcase 192.168.3.255
--------------------------------------
然后重啟 systemctl restart networking
總結
以上是生活随笔為你收集整理的debian 11修改ip地址的方法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 算法原理系列:优先队列
- 下一篇: 千羽心寻(丫头)