思科路由器求助!没有互联网,只能以一种方式ping通

网络工程 思科 路由 路由器 互联网
2021-07-17 03:56:18

这是我有 2 个网络的设置。

第一个(这是我们的旧版本,效果很好。)

IP 地址 10.22.227.X

子网掩码 255.255.255.0

东风集团 10.22.227.254

第二个(这是我们无法正常工作的新网络)

IP 地址 10.22.226.X

子网掩码 255.255.255.0

东风集团 10.22.226.254

我可以从 226 网络 ping 10.22.227.131 但我不能从 227 网络 ping 10.22.226.66。(226.66 是我的笔记本电脑 227.131 是我的电脑)我可以看到 227 电脑接缝上的文件,因为我认为我有定向网络......我在 226 网络上也没有互联网。

这是将 226 和 227 网络连接在一起的路由器的运行配置文件。

Router#show running-conf
Building configuration...
Current configuration : 894 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$ngyI$dZN2sb5gHUYC2A37wLRQM1
enable password united2315
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
ip cef
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 description 0/0 10.22.227.254
 ip address 10.22.227.253 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 description 0/1 10.22.226.254
 ip address 10.22.226.254 255.255.255.0
 duplex auto
 speed auto
!
no ip classless
ip route 10.22.226.0 255.255.255.0 10.22.227.254
ip route 10.22.227.0 255.255.255.0 10.22.227.254
!
no ip http server
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0
 password cisco
 login
line vty 1 4
 login
!
end

227 网络由另一家公司管理,他们向我提供了此信息.....

ip route 8.8.4.4 255.255.255.255 10.22.227.253 name TEST-TO-CLIENT-ROUTER       <=-- Added a test route 
ip route 10.22.226.0 255.255.255.0 10.22.227.253 name CLIENT-NETWORK          <=-- Added a route to the clients device 
s1.pryor#
s1.pryor#ping 10.22.227.253 <=-- I can Ping to the Clients device 

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.22.227.253, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/9 ms
s1.pryor#
s1.pryor#sho ip arp 10.22.227.253
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  10.22.227.253           1   0023.33e8.5c96  ARPA   Vlan1                                     <=-- Got an ARP and MAC address for the Clients device 
s1.pryor#


s1.pryor#ping 8.8.4.4 <=-- Can not ping pass the Clients Device 

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.4.4, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
s1.pryor-chv.robertsautoctr

================================
The routes in place I was able to Ping to the clients device but not pass it 
They will re-configure their router and call us back
Our routes in place

我没有互联网和本地网络,我做错了什么?他们告诉我,他们已经将互联网路由到我们的 226 网络,一切就绪……

网络设置见屏幕截图在此处查看网络设置

3个回答

这些配置的路由应该从您的配置中删除,因为它们是直接连接的:

ip route 10.22.226.0 255.255.255.0 10.22.227.254
ip route 10.22.227.0 255.255.255.0 10.22.227.254

你也没有配置默认路由,所以你可能需要这个:

ip route 0.0.0.0 0.0.0.0 10.22.227.254

关于另一家公司的测试,由于 PC 使用 10.22.227.254 作为他们的网关,指向 8.8.4.4 的“测试”路由毫无意义,如果它有效,它只能证明你的路由器正在将流量恢复到默认的下一个 -跳。更好的测试是 10.22.226.254。

默认情况下,现代 Windows 不可 ping。禁用 Windows 防火墙(或添加 ICMP Echo 规则)并重试。

如果您可以以一种方式ping通,但不能以另一种方式ping通。根据我的经验,它一直是某个地方的防火墙。检查设备上的软件防火墙,或者调查您还不了解的防火墙。