Kali是基于Debian的Linux发行版,主要用于安全行业渗透测试。配置IP地址的方法和RHEL、CentOS稍有差异,给大家分享一下Kali配置IP地址的方法。
第一步 配置IP地址
静态IP地址
- # vim /etc/network/interfaces
- auto eth0
- iface eth0 inet static
- address 192.168.1.100
- netmask 255.255.255.0
- gateway 192.168.1.1
动态IP地址
- # vim /etc/network/interfaces
- auto eth0
- iface eth0 inet dhcp
第二步 重启服务
- # service networking restart
您可以选择一种方式赞助本站
支付宝扫一扫
微信扫一扫
赏