欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

kali linux 网络配置

程序员文章站 2022-04-27 16:25:27
ip配置: vim /etc/network/interfaces auto eth0 iface eth0 inet static >静态 iface eth0 inet dhcp >动态 address 192.168.0.133 netmask 255.255.255.0 gateway 19 ......
ip配置:
vim /etc/network/interfaces
auto eth0
iface eth0 inet static ===>静态
iface eth0 inet dhcp ===>动态
address 192.168.0.133 
netmask 255.255.255.0 
gateway 192.168.0.1
 
dns配置:
 vim /etc/resolv.conf 
nameserver dns地址
 
 
service networking restrat