Linux命令参考
latest
归档备份和压缩
日期与时间
磁盘和文件系统
文件和目录
内核
网络
dig
elinks
ifconfig
ip
iptables
lftp
mail
ncftp
nc
netstat
nslookup
ping
route
简介
选项
示例
rsync
scp
sftp
ssh-agent
ssh-keygent
ssh-keyscan
ssh
tcpdump
tcpslice
telnet
tracepath
traceroute
wget
whois
包管理
Linux命令参考
Docs
»
网络
»
route
Edit on GitHub
route
¶
简介
¶
查看和修改路由表
选项
¶
-n 不解析地址
add 添加
del 删除
target 目标
-net 网络
-host 主机
netmask 子网掩嘛
gw 网关地址
reject 黑洞路由
dev 出口接口
示例
¶
添加路由表:
route
add
-
host
192.168
.
1.1
gw
192.168
.
2.1
Read the Docs
v: latest
Versions
latest
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.