kali添加路由


 

kali添加路由

vim  /etc/network/interfaces

iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 114.114.114.114 202.102.224.68
up route add -net 10.105.10.1 netmask 255.255.255.255 gw 192.168.1.1 eth0
down route del -net 10.105.10.1  netmask 255.255.255.255

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM