kali linux 配置固定的IP地址
1 方式1: 在图形化桌面进行操作
Warning
登录桌面操作即可,这里不再赘述。
2 方式2:配置网卡配置文件
cd /etc/NetworkManager/system-connections
sudo vi Wired\ connection\ 1
[connection]
id=Wired connection 1
uuid=5399b3dd-1767-46ec-8528-4e38e0acc6e6
type=ethernet
timestamp=1772174695
[ethernet]
[ipv4]
address1=192.168.10.22/24
dns=192.168.10.1;
gateway=192.168.10.1
method=manual
[ipv6]
ip6-privacy=2
method=auto
[proxy]