我是网络新手,目前正在学习 6 个月的课程,所以这里可能会有一些新手错误或非常愚蠢的答案/问题,但对我来说是裸露的。
我的任务是设置 RIPv2 路由。在下图中,您可以看到两个路由器。一个称为Router 3(底部),另一个称为AccessRouter(顶部)。尝试忽略从路由器出来的其他电缆。我特别关注在提到的 2 个路由器之间连接的串行电缆。
AccessRouter(顶部)的 Se0/0/1 接口的 IP 地址为 172.30.150.225。来自 Router3(底部)的 Se0/0/1 接口的 IP 地址为 172.30.150.226。我的路由在我的运行配置中为每个设备配置如下:
路由器3
router rip
version 2
network 172.30.0.0
no auto-summary
!
ip classless
接入路由器
router rip
version 2
redistribute static
network 172.30.0.0
no auto-summary
!
ip classless
现在我已经配置了 RIP 路由,难道我不能在 AccessRouter 和 Router3 的serial0/0/1端口之间 ping 通吗?反之亦然?ping 命令只会在两个路由器上产生超时。
如果您需要更多信息,请告诉我。再说一次,我还是个菜鸟,在这门课上有点挣扎。多谢你们!
编辑:这是两个路由器的串行接口的配置页面。
EDIT2:以下是两个串行接口上的 show interface 命令的输出。 接入路由器(顶部)
AccessRouter#show interface se0/0/1
Serial0/0/1 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 172.30.150.225/30
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 7 bits/sec, 0 packets/sec
5 minute output rate 9 bits/sec, 0 packets/sec
4 packets input, 388 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
3 packets output, 356 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
路由器 3(底部)
Router3#sh interface se0/0/1
Serial0/0/1 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 172.30.150.226/30
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 5 bits/sec, 0 packets/sec
5 minute output rate 14 bits/sec, 0 packets/sec
5 packets input, 260 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
6 packets output, 552 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
编辑 3 - 每个路由器的运行配置的 Pastebins
接入路由器:
Building configuration...
Current configuration : 1413 bytes
!
version 15.3
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname AccessRouter
!
!
boot system flash c1900-universalk9-mz.SPA.155-3.M4a.bin
!
enable password class
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO1941/K9 sn FTX1524WR40-
license boot module c1900 technology-package FoundationSuiteK9
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.125.45 255.255.255.240
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.125.29 255.255.255.224
duplex auto
speed auto
!
interface Serial0/0/0
ip address 172.20.125.193 255.255.255.252
!
interface Serial0/0/1
ip address 172.30.150.225 255.255.255.252
!
interface Serial0/1/0
ip address 192.168.225.129 255.255.255.252
!
interface Serial0/1/1
no ip address
clock rate 2000000
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
redistribute static
network 172.20.0.0
network 172.30.0.0
network 192.168.125.0
network 192.168.225.0
no auto-summary
!
ip classless
ip route 172.20.125.0 255.255.255.128 172.20.125.194
ip route 172.20.125.128 255.255.255.192 172.20.125.194
ip route 172.30.150.0 255.255.255.128 172.30.150.226
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
password cisco
login
!
line aux 0
!
line vty 0 4
password cisco
login
!
!
!
end
路由器 3:
Building configuration...
Current configuration : 1069 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router3
!
!
!
enable password class
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO1941/K9 sn FTX15241VLN-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 172.30.150.1 255.255.255.128
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 172.30.150.229 255.255.255.252
clock rate 2000000
!
interface Serial0/0/1
ip address 172.30.150.226 255.255.255.252
!
interface Serial0/1/0
ip address 172.30.150.233 255.255.255.252
!
interface Serial0/1/1
no ip address
clock rate 2000000
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
passive-interface GigabitEthernet0/0
network 172.30.0.0
no auto-summary
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
password cisco
login
!
line aux 0
!
line vty 0 4
password cisco
login
!
!
!
end


