标签: Backtrack Linux

BackTrack 5 简单网络配置命令

 2013年2月16日

自动获取IP dhclient eth1 临时设置ip地址 ifconfig eth0 192.168.1.112/24 设置IP和子网掩码 route add default gw 192.168.1.1 设置网关地址 echo nameserver 192.168.1.1 > /etc/resolv.conf 设置DNS地址 /etc/init.d/networking restart ...