kali linux 网络配置
程序员文章站
2022-08-20 08:53:06
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 static ===>静态
iface eth0 inet dhcp ===>动态
address 192.168.0.133
netmask 255.255.255.0
gateway 192.168.0.1
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