# kali 网络修改
sudo vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.11.145
netmask 255.255.255.0
gateway openwrt_ip
cat /etc/resolv.conf
nameserver 192.168.11.188
sudo systemctl restart networking.service
```ini
![image-20220224182529825](https://xrsec.s3.bitiful.net/IMG/image-20220224182529825.png?fmt=webp&q=48)
![image-20220224183057457](https://xrsec.s3.bitiful.net/IMG/image-20220224183057457.png?fmt=webp&q=48)
![image-20220224221206280](https://xrsec.s3.bitiful.net/IMG/image-20220224221206280.png?fmt=webp&q=48)
![image-20220224222539570](https://xrsec.s3.bitiful.net/IMG/image-20220224222539570.png?fmt=webp&q=48)
![image-20220225172503096](https://xrsec.s3.bitiful.net/IMG/image-20220225172503096.png?fmt=webp&q=48)
![image-20220224222657737](https://xrsec.s3.bitiful.net/IMG/image-20220224222657737.png?fmt=webp&q=48)
![image-20220224195646888](https://xrsec.s3.bitiful.net/IMG/image-20220224195646888.png?fmt=webp&q=48)
> XRSec has the right to modify and interpret this article. If you want to reprint or disseminate this article, you must ensure the integrity of this article, including all contents such as copyright notice. Without the permission of the author, the content of this article shall not be modified or increased or decreased arbitrarily, and it shall not be used for commercial purposes in any way