思科跨路由器的单臂路由解决方法

原标题:"思科跨路由器的单臂路由如何解决"相关路由器设置经验分享。 - 来源:191路由网  思科拥有丰富的行业经验、先进的技术,路由器功能也在世界遥遥领先,那么你知道思科跨"

文章“思科跨路由器的单臂路由解决方法 ”相关路由器教程资料分享,由路由器之家整理收藏!

思科跨路由器的单臂路由解决方法

原标题:"思科跨路由器的单臂路由如何解决"相关路由器设置经验分享。 - 来源:【路由器之家】

  思科拥有丰富的行业经验、先进的技术,路由器功能也在世界遥遥领先,那么你知道思科跨路由器的单臂路由如何解决吗?下面是【路由器之家】整理的一些关于思科跨路由器的单臂路由如何解决的相关资料,供你参考。

  思科跨路由器的单臂路由解决的方法

思科跨路由器的单臂路由解决方法

  R1配置:

  R1#conf t

  R1(config)#int f0/0

  R1(config-if)#no shutdown

  R1(config-if)#int f0/0.2

  R1(config-subif)#encapsulation dot1q 2

  R1(config-subif)#ip address 192.168.2.254 255.255.255.0

  R1(config-subif)#no shutdown

  R1(config-subif)#exit

  R1(config)#int f0/0.3

  R1(config-subif)#encapsulation dot1q 3

  R1(config-subif)#ip address 192.168.3.254 255.255.255.0

  R1(config-subif)#no shutdown

  R1(config-subif)#exit

  R1(config)#int s1/0

  R1(config-if)#ip address 1.1.1.1 255.255.255.0

  R1(config-if)#no shutdown

  R1(config-if)#end

  R1#conf t

  R1(config)#router ospf 1

  R1(config-router)#network 192.168.2.0 0.0.0.255 area 0

  R1(config-router)#network 192.168.3.0 0.0.0.255 are 0

  R1(config-router)#network 1.1.1.0 0.0.0.255 area 0

  R1(config-router)#end

  R2配置:

  R2#conf t

  R2(config)#int s0/0

  R2(config-if)#ip address 1.1.1.2 255.255.255.0

  R2(config-if)#no shutdown

  R2(config-if)#clock rate 64000

  R2(config-if)#exit

  R2(config)#int s0/1

  R2(config-if)#ip address 2.1.1.1 255.255.255.0

  R2(config-if)#no shutdown

  R2(config-if)#clock rate 64000

  R2(config-if)#end

  R2#conf t

  R2(config)#router ospf 2

  R2(config-router)#network 2.1.1.0 0.0.0.255 area 0

  R2(config-router)#network 1.1.1.0 0.0.0.255 area 0

  R2(config-router)#end

  R3配置:

  R3#conf t

  R3(config)#int s1/0

  R3(config-if)#ip address 2.1.1.2 255.255.255.0

  R3(config-if)#no shutdown

  R3(config)#int f0/0

  R3(config-if)#no shutdown

  R3(config-if)#int f0/0.2

  R3(config-subif)#encapsulation dot1q 2

  R3(config-subif)#ip address 172.16.2.254 255.255.255.0

  R3(config-subif)#no shutdown

  R3(config-subif)#exit

  R3(config)#int f0/0.3

  R3(config-subif)#encapsulation dot1q 3

  R3(config-subif)#ip address 172.16.3.254 255.255.255.0

  R3(config-subif)#no shutdown

  R3(config-subif)#end

  R3(config)#router ospf 3

  R3(config-router)#network 172.16.2.0 0.0.0.255 area 0

  R3(config-router)#network 172.16.3.0 0.0.0.255 area 0

  R3(config-router)#network 2.1.1.0 0.0.0.255 area 0

  R3(config-router)#end

  查看路由表:

  R1#show ip route

  Gateway of last resort is not set

  1.0.0.0/24 is subnetted, 1 subnets

  C 1.1.1.0 is directly connected, Serial1/0

  2.0.0.0/24 is subnetted, 1 subnets

  O 2.1.1.0 [110/128] via 1.1.1.2, 00:03:37, Serial1/0

  172.16.0.0/24 is subnetted, 2 subnets

  O 172.16.2.0 [110/129] via 1.1.1.2, 00:03:37, Serial1/0

  O 172.16.3.0 [110/129] via 1.1.1.2, 00:03:37, Serial1/0

  C 192.168.2.0/24 is directly connected, FastEthernet0/0.2

  C 192.168.3.0/24 is directly connected, FastEthernet0/0.3

  R2#show ip route

  Gateway of last resort is not set

  1.0.0.0/24 is subnetted, 1 subnets

  C 1.1.1.0 is directly connected, Serial0/0

  2.0.0.0/24 is subnetted, 1 subnets

  C 2.1.1.0 is directly connected, Serial0/1

  172.16.0.0/24 is subnetted, 2 subnets

  O 172.16.2.0 [110/65] via 2.1.1.2, 00:03:37, Serial0/1

  O 172.16.3.0 [110/65] via 2.1.1.2, 00:03:37, Serial0/1

  O 192.168.2.0/24 [110/65] via 1.1.1.1, 00:03:37, Serial0/0

  O 192.168.3.0/24 [110/65] via 1.1.1.1, 00:03:37, Serial0/0

  R3#show ip route

  Gateway of last resort is not set

  1.0.0.0/24 is subnetted, 1 subnets

  O 1.1.1.0 [110/128] via 2.1.1.1, 00:03:43, Serial1/0

  2.0.0.0/24 is subnetted, 1 subnets

  C 2.1.1.0 is directly connected, Serial1/0

  172.16.0.0/24 is subnetted, 2 subnets

  C 172.16.2.0 is directly connected, FastEthernet0/0.2

  C 172.16.3.0 is directly connected, FastEthernet0/0.3

  O 192.168.2.0/24 [110/129] via 2.1.1.1, 00:03:43, Serial1/0

  O 192.168.3.0/24 [110/129] via 2.1.1.1, 00:03:43, Serial1/0

  SW1配置:

  SW1#vlan database

  SW1(vlan)#vlan 2

  SW1(vlan)#vlan 3

  SW1(vlan)#exit

  SW1#conf t

  SW1(config)#int f0/15

  SW1(config-if)#switchport mode trunk

  SW1(config-if)#switchport trunk encapsulation dot1q

  SW1(config-if)#exit

  SW1(config)#int f0/2

  SW1(config-if)#switchport mode access

  SW1(config-if)#switchport access vlan 2

  SW1(config-if)#exit

  SW1(config)#int f0/3

  SW1(config-if)#switchport mode access

  SW1(config-if)#switchport access vlan 3

  SW1(config-if)#end

  SW2配置:

  SW2#vlan database

  SW2(vlan)#vlan 2

  SW2(vlan)#vlan 3

  SW2(vlan)#exit

  SW2#conf t

  SW2(config)#int f0/15

  SW2(config-if)#switchport mode trunk

  SW2(config-if)#switchport trunk encapsulation dot1q

  SW2(config-if)#exit

  SW2(config)#int f0/2

  SW2(config-if)#switchport access vlan 2

  SW2(config-if)#exit

  SW2(config)#int f0/3

  SW2(config-if)#switchport mode access

  SW2(config-if)#switchport access vlan 3

  SW2(config-if)#end

  验证:

  PC1:

  PC1#ping 192.168.3.3

  Type escape sequence to abort.

  Sending 5, 100-byte ICMP Echos to 192.168.3.3, timeout is 2 seconds:

  !!!!!

  Success rate is 100 percent (5/5), round-trip min/avg/max = 188/246/300 ms

  PC1#ping 172.16.2.2

  Type escape sequence to abort.

  Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:

  !!!!!

  Success rate is 100 percent (5/5), round-trip min/avg/max = 408/487/528 ms

  PC1#ping 172.16.3.3

  Type escape sequence to abort.

  Sending 5, 100-byte ICMP Echos to 172.16.3.3, timeout is 2 seconds:

  !!!!!

  Success rate is 100 percent (5/5), round-trip min/avg/max = 384/441/492 ms

  PC3:

  PC3#ping 172.16.3.3

  Type escape sequence to abort.

  Sending 5, 100-byte ICMP Echos to 172.16.3.3, timeout is 2 seconds:

  !!!!!

  Success rate is 100 percent (5/5), round-trip min/avg/max = 168/258/348 ms

  PC3#ping 192.168.2.2

  Type escape sequence to abort.

  Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:

  !!!!!

  Success rate is 100 percent (5/5), round-trip min/avg/max = 348/400/452 ms

  PC3#ping 192.168.3.3

  Type escape sequence to abort.

  Sending 5, 100-byte ICMP Echos to 192.168.3.3, timeout is 2 seconds:

  !!!!!

  Success rate is 100 percent (5/5), round-trip min/avg/max = 312/396/516 ms

以上就是【路由器设置】关于“思科跨路由器的单臂路由解决方法 ”的教程!

本文来自投稿,不代表路由百科立场,如若转载,请注明出处:https://www.qh4321.com/85966.html

(0)
路由器
上一篇 2021年6月2日 16:10
下一篇 2021年6月2日 16:11

相关推荐

  • mercury路由器恢复出厂设置操作步骤

    原标题:"mercury路由器恢复出厂设置怎么解决"相关路由器设置经验分享。 - 来源:191路由网  应该有些用户用过水星路由器,有时想重新设置或者不小心恢复出厂设置呢,应该怎么操"

    2021年5月27日
    0
  • 迅捷FW316R无线路由器连接电脑设置上网步骤

    原标题:"迅捷FW316R无线路由器怎么连接电脑并设置联网"相关路由器设置经验分享。 - 来源:191路由网  路由器具有判断网络地址和选择IP路径的功能,它能在多网络互联环境中,建"

    2021年6月1日
    0
  • 不知道宽带账号密码解决方法

    【导读】不知道宽带账号密码怎么办?图文教程,详细信息请阅读下文!
    网友提问:不知道宽带账号密码怎么办?
    各位大神好,不小心把路由器恢复出厂设置了,重新设置上网的时候,需要输入宽"

    2021年5月15日
    0
  • TP-Link TL-WDR5630路由器用APP怎么设置?

    在本文中,将给大家详细的介绍,用TP-Link路由器APP,设置TL-WDR5630路由器上网的方法。温馨提示:(1)、如果你的TP-Link TL-WDR5630路由器已经设置/使用过了,请先把它恢复出厂设置,然后在根据下面的方法设置上网。 你可以阅读下面的文章,查看恢复出厂设置的步骤。TP

    2021年5月24日
    0
  • 华为荣耀路由WiFi拓展设置步骤图文

    原标题:"华为荣耀路由WiFi拓展方法全攻略"相关路由器设置经验分享。 - 来源:191路由网

    随着家庭居住环境越来越大,很多用户住宅都是别墅级别。家庭无线路由器的信号覆盖"

    2021年5月28日
    0
  • 手动升级路由器固件步骤

    原标题:"如何升级路由器的固件,怎么手动升级路由器"关于路由器设置教程分享。 - 来源:191路由网 - 编辑:小元。路由器的固件升级目的是对路由器的性能更加优化,让路由器能够修"

    2021年6月4日
    0
  • 电脑用宽带连接拨号上网操作方法

    【导读】电脑如何用宽带连接拨号上网?图文教程,详细信息请阅读下文!在本文中,191路由网主要给大家介绍,电脑用宽带连接拨号上网的方法。电脑用宽带连接拨号上网的方法很简单,只"

    2021年6月6日
    0
  • TP-Link TL-WR886N V2-V3虚拟服务器设置方法

    本文主要介绍了TP-Link TL-WR886N V2-V3路由器上,设置虚拟服务器(端口映射)的方法;注意是V2.0和V3.0版本的TL-WR886N路由器上虚拟服务器设置方法。因为,目前TL-WR886N路由器有V2.0、V3.0、V4.0、V5.0这几个版本;其中V2.0、V3.0的设置一样,

    2021年5月25日
    0
  • win10开机时进入安全模式按什么键

    【导读】Win10如何在开机时进入安全模式图文教程,详细信息请阅读下文!网友提问:Win10怎么进入安全模式?为什么Win10电脑开机的时候,不能像Win7、Win8电脑一样,按F8进入安全模式?W"

    2021年5月23日
    0
  • 电信光纤无线路由器 光猫的设置方法

    路由器的光猫买来之后不知道怎么才能够进行连接和设置,在这里小编将会为大家带来最为详细的各种教程带给你,让你非常轻松就能够设置光猫,一键连接各种网络,整体的步骤非常简单,能够满足大部分用户的个性化需求哦。"

    2021年6月6日
    0