ping 默认网关失败

网络工程 思科 IPv4 网络 跟踪路由
2022-02-19 13:50:26

我正在尝试 ping 到我已配置为 171.2.0.1 的默认网关,但不知何故 ping 失败了。我是网络域的新手,所以我不太了解它。任何帮助表示赞赏。这是我的界面状态

show ip int br

Interface              IP-Address      OK? Method Status                Protocol

GigabitEthernet1       10.1.33.33      YES other  up                    up      
GigabitEthernet2       192.168.40.33   YES other  up                    up      
GigabitEthernet3       172.16.200.33   YES other  up                    up      
GigabitEthernet4       10.0.100.133    YES other  up                    up      
GigabitEthernet5       10.0.1.133      YES DHCP   up                    up      
GigabitEthernet6       172.16.201.33   YES other  up                    up      
GigabitEthernet7       171.2.20.3      YES other  up                    up      
GigabitEthernet8       192.168.2.3     YES other  up                    up      
Sdwan-system-intf      172.16.255.33   YES unset  up                    up      
Loopback65528          192.168.1.1     YES other  up                    up      
Tunnel1                171.2.20.3      YES TFTP   up                    up      

ip route 0.0.0.0 0.0.0.0 171.2.0.1

尝试从 171.2.20.3(GIG 7) ping 到 171.2.0.1 。

下面是arp入口

Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  10.0.1.1                3   5254.0093.ab27  ARPA   GigabitEthernet5
Internet  10.0.1.133              -   0050.5600.0185  ARPA   GigabitEthernet5
Internet  10.0.100.1             17   5254.005e.6e15  ARPA   GigabitEthernet4
Internet  10.0.100.133            -   5254.00c2.6b71  ARPA   GigabitEthernet4
Internet  10.1.33.33              -   5254.0006.b290  ARPA   GigabitEthernet1
Internet  171.2.0.1               0   Incomplete      ARPA   
Internet  171.2.20.1              0   5254.003c.94ec  ARPA   GigabitEthernet7
Internet  171.2.20.2              0   5254.000c.0fae  ARPA   GigabitEthernet7
Internet  171.2.20.3              -   5254.00fa.6d36  ARPA   GigabitEthernet7
Internet  171.2.20.4              0   5254.00ab.d089  ARPA   GigabitEthernet7
Internet  171.2.20.5              0   5254.0055.2c1a  ARPA   GigabitEthernet7

下面是运行配置

interface GigabitEthernet1
 no shutdown
 ip address 10.1.33.33 255.255.255.0
 no mop enabled
 no mop sysid
 --More-- 
Nov 30 00:30:53.107: %SYS-6-LOGOUT: User admin has exited tty session 434 negotiation auto
exit
interface GigabitEthernet2
 no shutdown
 vrf forwarding 1
 ip address 192.168.40.33 255.255.255.0
 no mop enabled
 no mop sysid
 negotiation auto
exit
interface GigabitEthernet3
 no shutdown
 vrf forwarding 2
 ip address 172.16.200.33 255.255.255.0
 no mop enabled
 no mop sysid
 negotiation auto
exit
interface GigabitEthernet4
 no shutdown
 ip address 10.0.100.133 255.255.255.0
 no mop enabled
 no mop sysid
 negotiation auto
exit
interface GigabitEthernet5
 no shutdown
 ip address dhcp
 no mop enabled
 no mop sysid
 negotiation auto
exit
interface GigabitEthernet6
 no shutdown
 vrf forwarding 3
 ip address 172.16.201.33 255.255.255.0
 no mop enabled
 no mop sysid
 negotiation auto
exit
interface GigabitEthernet7
 no shutdown
 ip address 171.2.20.3 255.255.0.0
 no mop enabled
 no mop sysid
 negotiation auto
exit      
interface GigabitEthernet8
 no shutdown
 vrf forwarding 1
 ip address 192.168.2.3 255.255.255.0
 no mop enabled
 no mop sysid
 negotiation auto
exit
interface Tunnel1
 no shutdown
 ip unnumbered GigabitEthernet7
 tunnel source GigabitEthernet7
 tunnel mode sdwan

我得到的输出

vm33#ping 171.2.0.1 键入转义序列以中止。向 171.2.0.1 发送 5 个 100 字节的 ICMP Echo,超时为 2 秒:

Nov 30 00:39:10.286: IP: tableid=0, s=171.2.20.3 (local), d=171.2.0.1 (GigabitEthernet7) nexthop=171.2.0.1, routed via FIB
Nov 30 00:39:10.286: IP: s=171.2.20.3 (local), d=171.2.0.1 (GigabitEthernet7), len 100, sending.
Nov 30 00:39:12.287: IP: tableid=0, s=171.2.20.3 (local), d=171.2.0.1 (GigabitEthernet7) nexthop=171.2.0.1, routed via FIB
Nov 30 00:39:12.287: IP: s=171.2.20.3 (local), d=171.2.0.1 (GigabitEthernet7), len 100, sending.
Nov 30 00:39:14.289: IP: tableid=0, s=171.2.20.3 (local), d=171.2.0.1 (GigabitEthernet7) nexthop=171.2.0.1, routed via FIB
Nov 30 00:39:14.289: IP: s=171.2.20.3 (local), d=171.2.0.1 (GigabitEthernet7), len 100, sending.
Nov 30 00:39:16.289: IP: tableid=0, s=171.2.20.3 (local), d=171.2.0.1 (GigabitEthernet7) nexthop=171.2.0.1, routed via FIB
Nov 30 00:39:16.289: IP: s=171.2.20.3 (local), d=171.2.0.1 (GigabitEthernet7), len 100, sending.
Nov 30 00:39:18.290: IP: tableid=0, s=171.2.20.3 (local), d=171.2.0.1 (GigabitEthernet7) nexthop=171.2.0.1, routed via FIB
Nov 30 00:39:18.290: IP: s=171.2.20.3 (local), d=171.2.0.1 (GigabitEthernet7), len 100, sending.
Success rate is 0 percent (0/5)
1个回答

正如您的 ping 输出所示,回显请求是从 GE7 发出的,这似乎是正确的(并且 ARP 似乎正在工作)。问题一定是网关本身可能无法路由回来。