文章分类 -  Net

摘要:NetStatNetStat的Man说“netstat- Print network connections,routing tables, interface statistics,masquerade connections,and multicast memberships Synopsis”,用Netstat可以打印 网络连接,路由表,网路接口统计信息,桥接信息以及多播对象概要。可见Netstat真如其Stat表述的一样,主要是用来查看本机的网络相关信息。在本机运行不带参数的netstat可以得到结果:Active Internet connections (w/o servers) 阅读全文
posted @ 2012-07-31 09:29 G背包 阅读(511) 评论(0) 推荐(0)
摘要:IfconfigIfconfig的Man中对其描述为“Ifconfig is used to configurethe kernel-resident network interfaces”,顾名思义就是用来配置网络接口的, 但是我们用该命令最常见的不是配置网络接口,而是查看网络接口的状态。比如运行不带参数的ifconfig可以得到如下的输出(这里只截取了eth1接口的输出)eth1 Link encap:Ethernet HWaddr 00:16:3E:F0:21:14inet addr:10.6.221.149 Bcast:10.6.221.255 Mask:255.255.255.0 U 阅读全文
posted @ 2012-07-30 15:46 G背包 阅读(795) 评论(0) 推荐(0)