随笔分类 - linux
摘要:ifconfig 查看生效的ip信息 ifdown,ifup 关闭和启动网卡 netstat 查看网络状态 -t 列出tcp协议端口 -u 列出udp协议端口 -n 不使用域名与服务名,使用IP和端口 -l 列出监听状态的网络服务 -a 列出所有的网络连接 -r 路由信息 -p 列出pid,进程id
阅读全文
摘要:route命令的使用举例如下: route // 显示路由信息。 route add –host 192.168.1.110 dev eth0 // 给网卡eth0的路由表中加入新地址192.168.1.110。 route add –net 192.168.1.0 netmask 255.255.
阅读全文

浙公网安备 33010602011771号