如上图: 右下的Branch-2 与RT07之间存在GRE Tunnel,中间的交换机是模拟ISP的IP承载网设备,
中间的交换机型号为C9300-24T
BranchCore-ISP-C9300# sh inventory
NAME: "c93xx Stack", DESCR: "c93xx Stack"
PID: C9300-24T , VID: V02 , SN: FOC22173333
C9300的ip routing处于关闭状态时,直连可以ping通,但跨3层不通
Branch-ISR4331-2#ping 10.243.2.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.243.2.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/1 ms
Branch-ISR4331-2#
Branch-ISR4331-2#
Branch-ISR4331-2#ping 10.231.1.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.231.1.10, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Branch-ISR4331-2#
Branch-ISR4331-2#
打开ip routing
BranchCore-ISP-C9300#conf t
Enter configuration commands, one per line. End with CNTL/Z.
BranchCore-ISP-C9300(config)#
BranchCore-ISP-C9300(config)#ip routing
BranchCore-ISP-C9300(config)#
Branch-ISR4331-2#ping 10.243.2.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.243.2.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Branch-ISR4331-2#ping 10.231.1.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.231.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Branch-ISR4331-2#
***********
BranchCore-ISP-C9300# show run | in ip routing
ip routing
BranchCore-ISP-C9300#