摘要: 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背包 阅读(750) 评论(0) 推荐(0) 编辑