路由器栏目 | jcg路由器知识网
你的位置:首页 > 常见问题 » 正文

思科路由器静态路由配置详解?

发布时间:2020-03-21

作品分类:思科  路由  路由器  详解  目的  全局  子网掩码
思科路由器静态路由配置详解?

全局模式下输入:ip route 目的IP段 子网掩码 吓一跳ip

ip route 192.168.30.0 255.255.255.0 192.168.20.1


思科路由器静态路由配置详解?

具体路由器配置如下R1  IP route 192.168.3.0 255.255.255.0 int f1/0  IP route 192.168.4.0 255.255.255.0 int f1/0  IP route 192.168.5.0 255.255.255.0 int f0/0   IP route 192.168.3.0 255.255.255.0 int f0/0 3  IP route 192.168.4.0 255.255.255.0 int f0/0 3  IP route 192.168.5.0 255.255.255.0 int f1/0 3 R2  IP route 192.168.4.0 255.255.255.0 int f1/0  IP route 192.168.1.0 255.255.255.0 int f0/0  IP route 192.168.5.0 255.255.255.0 int f0/0   IP route 192.168.4.0 255.255.255.0 int f0/0 3  IP route 192.168.1.0 255.255.255.0 int f1/0 3  IP route 192.168.5.0 255.255.255.0 int f1/0 3 R3  IP route 192.168.2.0 255.255.255.0 int f0/0  IP route 192.168.3.0 255.255.255.0 int f0/0  IP route 192.168.4.0 255.255.255.0 int f1/0   IP route 192.168.2.0 255.255.255.0 int f1/0 3  IP route 192.168.3.0 255.255.255.0 int f1/0 3  IP route 192.168.4.0 255.255.255.0 int f0/0 3 R4  IP route 192.168.1.0 255.255.255.0 int f0/0  IP route 192.168.2.0 255.255.255.0 int f1/0  IP route 192.168.5.0 255.255.255.0 int f0/0   IP route 192.168.1.0 255.255.255.0 int f1/0 3  IP route 192.168.2.0 255.255.255.0 int f0/0 3  IP route 192.168.5.0 255.255.255.0 int f1/0 3 R5  IP route 192.168.1.0 255.255.255.0 int f1/0  IP route 192.168.2.0 255.255.255.0 int f1/0  IP route 192.168.3.0 255.255.255.0 int f0/0   IP route 192.168.1.0 255.255.255.0 int f0/0 3  IP route 192.168.2.0 255.255.255.0 int f0/0 3  IP route 192.168.3.0 255.255.255.0 int f1/0 3 配置中后三条为浮动静态路由,属于可选配置。可以在最优路径断掉时做备用使用。 配置中最后面的5 表示管理距离,管理距离越小越优先。常用默认管理距里验证方法:

留言与评论(共有 0 条评论)
   
验证码:
Top