UNIX系统常用命令(14)

UNIX系统常用命令

inet addr:202.118.66.81 Bcast:202.118.66.255 Mask:255.255.255.0

IP地址:202.118.66.81 广播地址:202.118.66.255 子网掩码:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

已启动 接受广播 正在运行 多点广播 最大传输单元: 1500 路由距离向量:1

RX packets:13900 errors:0 dropped:0 overruns:0 frame:0

已接受数据包:13900

TX packets:5859 errors:0 dropped:0 overruns:0 carrier:0

已发送数据包:5859

collisions:0

碰撞:0

Interrupt:10 Base address:0xe400

中断(IRQ):10 端口地址: 0xe400

#ifconfig eth0 显示eth0的相关信息

#ifconfig -a 显示所有网络设备的配置信息

#ifconfig eth0 down Down掉eth0

#ifconfig eth0 202.118.66.81 broadcast 202.118.66.255 [up]

#ifconfig eth0 202.118.66.81 broadcast 202.118.66.255 netmask

255.255.255.0

#ifconfig eth0 up

17.2 route

路由表维护命令, 相关文件: /proc/net/route

$ /sbin/route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

localnet * 255.255.255.0 U 0 0 49 eth0

192.168.1.0 * 255.255.255.0 U 0 0 655 eth1

192.168.2.0 * 255.255.255.0 U 0 0 498 eth2

192.168.3.0 * 255.255.255.0 U 0 0 825 eth3

127.0.0.0 * 255.0.0.0 U 0 0 13 lo

default olive.dlut.edu. 0.0.0.0 UG 1 0 4834 eth0

#route add default gw 202.118.66.1

#route add default gw 202.118.66.1 eth0


UNIX系统常用命令(14).doc 将本文的Word文档下载到电脑

下一篇:关于求解三重积分的方法

相关推荐
相关阅读
本类排行
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 7 元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xxxxxx QQ:xxxxxx