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

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

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

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

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

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

1ea52afd472264c23e127f6eb13796cf

  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.224m.com/25046.html

(0)
路由器设置路由器设置
上一篇 2021年1月7日 19:03
下一篇 2021年1月7日 19:04

相关推荐

  • tplink路由器控制小孩上网时间步骤

    原标题:"tplink路由器如何控制小孩的使用上网时间"关于路由器设置教程分享。 - 来源:WiFi之家网 - 编辑:小元。

    我们选择来看一下需求:
    设置"

    2021年1月28日
  • 隐藏文件和显示文件的方法

    很多时候,有些文件或者文件夹不想让别人知道,怎么办呢。我们可以这样做,来把不想要别人看到的文件隐藏起来,这里以win10为例。1、首先,选择需要隐藏的文件或者文件夹。2、右键-属性-隐藏打勾。3、确定对文件隐藏。4、文件被隐藏后显示透明样式。5.这时,文件和文件夹还没有完全被隐藏。还需要几步就可以

    2021年9月5日
  • 一台路由器、占用一个校园网端口来让多个人都能使用自己的校园网

    一台路由器、占用一个校园网端口来让多个人都能使用自己的校园网2014-03-05 10:30:09 来源:未知 点击: 其实本帖的意思就是把路由器变成无线交换机的过程。所以你使用交换机完全是正确的选

    2020年6月2日
  • D-Link无线路由器动态IP地址设置上网

    D-Link无线路由器动态IP地址上网的设置方法,动态IP地址上网与ADSL拨号上网、静态IP地址上网相比,其设置方法要简单很多,本文将用D-Link DIR 600无线路由器为例,来介绍D-Link系列无线路由器的动态上网的

    2021年3月12日
  • 设置路由器:解决19216811进不去的故障

    192.168.1.1进不去排除原因4: 当排除了以上几种可能,且电脑ping路由器时,显示是连通的,那么请检查您的IE是否设置了代理服务器。 1).启动浏览器打开一个网页,选择”工具”菜单中的”Internet选项”-”连接”选项卡右下方的”局域网设置”,将”为LAN使用代理服务"

    路由器设置 2021年2月7日
  • 局域网多台宽带路由器配置教程

    原标题:"局域网中存在多台宽带路由器如何配置"关于路由器设置教程分享。 - 来源:WiFi之家网 - 编辑:小元。  接触过宽带路由器的用户,大抵都了解宽带路由器上的端口有WAN口和"

    2021年2月20日
  • 详解无线路由器静态IP与动态IP上网设置教程

    这篇文章主要介绍了无线路由器不同场所设置常见的三种情况,有兴趣的朋友一起来看看一、常规设置登录ip 默认的ip一

    路由器设置 2020年8月11日
  • TP-Link TL-WDR4320无线路由器设置上网

    TP-Link TL-WDR4320无线路由器的安装、上网设置和无线WiFi;TP-Link TL-WDR4320路由器要实现供电脑、手机、笔记本等设备共享功能上网的功能,需要进行4个设置步骤:1、TL-WDR4320路由器安装;2、设置电脑IP;3、

    2021年3月30日
  • 腾达(Tenda)A31无线路由器设置上网

    Tenda腾达A31 300M便携式无线路由器的安装和设置方法,腾达A31无线路由器支持“宾馆模式”、“家庭模式”和“无线信号放大模式”这3种网络接入方式,每一种接入模式的适用范围和配置方法进行详细的

    2021年3月8日
  • 路由器天线对比:1根与多根 内置与外置 全向与定向

    一款路由器要想无线信号变强,要受哪些因素限制。天线也是厂商的重要宣传元素。譬如天线外置信号更好、数量越多信号越强、全向信号更全面等,这些话看起来很正确,并固化在大家的印象中。

    2021年4月6日