考试网 >> IT认证 >> 思科 >> Cisco指导 >> 专用Cisco路由器的替代品Zebra(4)

专用Cisco路由器的替代品Zebra(4)

发布时间:2006-06-28 05:59     点击:
分页:上一页  1 [2] 3 4  下一页

  !

  hostname speedmetal-rip

  password zebra

  enable password zebra

  !

  interface lo

  !

  interface eth0

  !

  interface eth1

  !

  interface dummy0

  !

  router rip

  network 10.0.0.0/8

  network 192.168.0.0/16

  !

  line vty

  !

  在 Cisco 路由器上安装配置 RIP 路由

  我们将两个 Cisco 路由器称为 "A" 和 "B",为了简化这两个路由器的配置,我们只配置了一些让路由器能正常运行的基本设置,包括设置接口的 IP 地址、环回地址,以及用于串口通信的串口时钟频率。

  清单 8. 配置路由器 A

  Router#config terminal

  Router(config)#hostname RouterA

  RouterA(config)#int s0/0

  RouterA(config-if)#ip address 192.168.0.1 255.255.255.252

  RouterA(config-if)#no shut

  RouterA(config-if)# interface fastEthernet 0/0

  RouterA(config-if)#ip address 192.168.2.2 255.255.255.252

  RouterA(config-if)#no shut

  RouterA(config-if)#int loopback 0

  RouterA(config-if)#ip address 10.0.0.1 255.255.255.0

  RouterA(config-if)#end

  RouterA#write

  类似地,我们配置好路由器 "B"。

  清单 9. 配置路由器 B

  Router#configure terminal

  Router(config)#hostname RouterB

  RouterB(config)#int s0/0

  RouterB(config-if)#ip address 192.168.0.2 255.255.255.252

  RouterB(config-if)#no shut

  RouterB(config-if)#int fastEthernet0/0

  RouterB(config-if)#ip address 192.168.1.2 255.255.255.252

  RouterB(config-if)#no shut

  RouterB(config-if)#int loopback 0

  RouterB(config-if)#ip address 10.0.1.1 255.255.255.0
分页:上一页  1 [2] 3 4  下一页
版权申明:未经书面授权请勿转载本站信息!!作品版权归所属媒体与作者所有!!
发表评论: 匿名发表 用户名: 查看评论
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容
本站提醒:不要进行人身攻击。谢谢配合。
在本站搜索相关信息
2003-2005 Ksw123.com All Rights Reserved. - TOP
Copyright © 2006 Ksw123.com. All rights reserved.中国考题网 版权所有