美文网首页
2018-12-08 简单动态路由

2018-12-08 简单动态路由

作者: 西柚味水溶c100 | 来源:发表于2018-12-08 12:09 被阅读0次
di

第一个路由:

Router>en

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#int f 0/0

Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ip add 172.16.1.1 255.255.255.0

Router(config-if)#exit

Router(config)#int f 0/1

Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

Router(config-if)#ip add 172.16.2.1 255.255.255.0

Router(config-if)#exit

Router(config)#int e 1/0

Router(config-if)#no shut

Router(config-if)#

%LINK-5-CHANGED: Interface Ethernet1/0, changed state to up

Router(config-if)#ip add 192.168.1.1 255.255.255.0

Router(config-if)#exit

Router(config)#router rip

Router(config-router)#v 2

Router(config-router)#ne 172.16.0.0

Router(config-router)ne192.168.1.0

Router(config-router)#no au

第二个路由:

Router>en

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#int f 0/0

Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ip add 10.1.1.1 255.255.255.0

Router(config-if)#exit

Router(config)#int f 0/1

Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

Router(config-if)#ip add 10.2.2.1 255.255.255.0

Router(config-if)#exit

Router(config)#int e 1/0

Router(config-if)#no shut

%LINK-5-CHANGED: Interface Ethernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/0, changed state to up

Router(config-if)#ip add 192.168.1.2 255.255.255.0

Router(config-if)#exit

Router(config)#router rip

Router(config-router)#v 2

Router(config-router)#ne 10.0.0.0

Router(config-router)#ne 192.168.1.0

Router(config-router)#no au

相关文章

  • 2018-12-08 简单动态路由

    第一个路由: Router>en Router#conf t Enter configuration comman...

  • router(vueRouter使用redirect,alias

    一个简单的例子 动态路由匹配 路由参数 Go to Foo<...

  • web路由机制

    路由的含义 简单来说,路由就是URL到函数的映射。 路由的分类 服务端路由 客户端路由客户端静态路由客户端动态路由...

  • Vue 动态路由

    动态路由 动态路由传参

  • 动态路由 & 嵌套路由实例

    1.动态路由 注意:动态路由以‘:’开头。$route 参数表见 “ 动态路由 & 嵌套路由 ” 2.嵌套路由 注...

  • vue路由的介绍(二)--vue动态路由和get的传值

    vue动态路由和get的传值---->同属于路由的传参 1,vue动态路由: 动态路由的配置: ①,在配置路由时加...

  • 处理路由和权限映射element-admin

    你现在项目中如何处理路由和权限映射的? 动态路由分析动态路由流程图 动态路由源码分析生成动态路由的源码位于 src...

  • 动态路由匹配/:

    动态路由就是在路由路径中使用“动态路径参数” 简单理解为在路径后面加上 /:xx 如上面的例子,参数为id,其值可...

  • flask笔记(八):动态路由设置

    一、flask转换器 前面文章中所遇到的都是简单路由,而且是固定的路由,本篇文章来讲解一下动态路由,还有正则路由,...

  • vue全家桶(2.5)

    3.8.动态路由匹配和路由组件传参 #3.8.1.动态路由匹配 动态路由意味着不固定,具有某种模式,我们希望通过某...

网友评论

      本文标题:2018-12-08 简单动态路由

      本文链接:https://www.haomeiwen.com/subject/pfqqhqtx.html