kali网卡配置文件
kali的网卡配置文件为/etc/network/interfaces 下面定义了lo、eth0和eth1的配置
auto lo # auto表示开机启动该网卡设备 iface lo inet loopback auto eth0 # 使用dhcp分配地址 iface eth0 inet dhcp iface eth0 inet6 auto auto eth1 # 使用静态地址 iface eth1 inet static a ddress 192.168.1.2/24 gateway 192.168.1.1 iface eth1 inet6 static address fec0:0:0:1::2/64 gateway fec0:0:0:1::1
然后重启网络
service networking restart
或者重启某个网卡
ifdown eth1
ifup eth1
Linux系列文章:https://www.cnblogs.com/f-ck-need-u/p/7048359.html
Shell系列文章:https://www.cnblogs.com/f-ck-need-u/p/7048359.html
网站架构系列文章:http://www.cnblogs.com/f-ck-need-u/p/7576137.html
MySQL/MariaDB系列文章:https://www.cnblogs.com/f-ck-need-u/p/7586194.html
Perl系列:https://www.cnblogs.com/f-ck-need-u/p/9512185.html
Go系列:https://www.cnblogs.com/f-ck-need-u/p/9832538.html
Python系列:https://www.cnblogs.com/f-ck-need-u/p/9832640.html
Ruby系列:https://www.cnblogs.com/f-ck-need-u/p/10805545.html
操作系统系列:https://www.cnblogs.com/f-ck-need-u/p/10481466.html
精通awk系列:https://www.cnblogs.com/f-ck-need-u/p/12688355.html