1、2260配置:
interface LoopBack100
ip address 10.211.67.30 255.255.255.255
#
interface GigabitEthernet0/0/0
port link-mode route
combo enable copper
ip address 172.19.140.114 255.255.255.252
tcp mss 1280
#
interface Tunnel0 mode gre
ip address 10.1.1.10 255.255.255.252
source LoopBack100
destination 172.31.2.1
keepalive 5 3
gre checksum
#
interface Tunnel2 mode gre
ip address 6.6.6.10 255.255.255.252
pim sm
igmp enable
source LoopBack100
destination 10.1.0.1
keepalive 5 3
#
ip route-static 10.1.0.0 24 Tunnel0
ip route-static 172.31.2.1 32 172.19.140.113
[H3C]dis int tu
Tunnel0
Current state: UP
Line protocol state: UP
Description: Tunnel0 Interface
Bandwidth: 64 kbps
Maximum transmission unit: 1472
Internet address: 10.1.1.10/30 (Primary)
Tunnel source 10.211.67.30 (LoopBack100), destination 172.31.2.1
Tunnel keepalive enabled, Period(5 s), Retries(3)
Tunnel TTL 255
Tunnel protocol/transport GRE/IP
GRE key disabled
Checksumming of GRE packets enabled
Output queue - Urgent queuing: Size/Length/Discards 0/1024/0
Output queue - Protocol queuing: Size/Length/Discards 0/500/0
Output queue - FIFO queuing: Size/Length/Discards 0/75/0
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Input: 5966049 packets, 4849031555 bytes, 0 drops
Output: 30880437 packets, 24148022615 bytes, 1 drops
Tunnel2
Current state: UP
Line protocol state: UP
Description: Tunnel2 Interface
Bandwidth: 64 kbps
Maximum transmission unit: 1448
Internet address: 6.6.6.10/30 (Primary)
Tunnel source 10.211.67.30 (LoopBack100), destination 10.1.0.1
Tunnel keepalive enabled, Period(5 s), Retries(3)
Tunnel TTL 255
Tunnel protocol/transport GRE/IP
GRE key disabled
Checksumming of GRE packets disabled
Output queue - Urgent queuing: Size/Length/Discards 0/1024/0
Output queue - Protocol queuing: Size/Length/Discards 0/500/0
Output queue - FIFO queuing: Size/Length/Discards 0/75/0
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Input: 5718510 packets, 4673187666 bytes, 0 drops
Output: 30742465 packets, 23377026148 bytes, 39 drops
2、5560配置:
service-loopback group 1 type tunnel
#
interface LoopBack100
ip address 10.211.67.30 255.255.255.255
#
interface GigabitEthernet1/0/22
port link-mode route
ip address 172.19.140.114 255.255.255.252
tcp mss 1280
#
interface Ten-GigabitEthernet1/0/25
port link-mode bridge
port service-loopback group 1
#
interface tunnel0 mode gre
ip address 10.1.1.10 255.255.255.252
source LoopBack100
destination 172.31.2.1
keepalive 5 3
#
interface Tunnel1 mode gre
ip address 6.6.6.10 255.255.255.252
source LoopBack100
destination 10.1.0.1
keepalive 5 3
#
ip route-static 10.1.0.0 24 Tunnel0
ip route-static 172.31.2.1 32 172.19.140.113
return
[H3C]dis int tu
Tunnel0
Current state: UP
Line protocol state: UP
Description: Tunnel0 Interface
Bandwidth: 64 kbps
Maximum transmission unit: 1476
Internet address: 10.1.1.10/30 (primary)
Tunnel source 10.211.67.30 (LoopBack100), destination 172.31.2.1
Tunnel keepalive enabled, Period(5 s), Retries(3)
Tunnel TTL 255
Tunnel protocol/transport GRE/IP
GRE key disabled
Checksumming of GRE packets disabled
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 14 bytes/sec, 112 bits/sec, 0 packets/sec
Input: 24 packets, 1260 bytes, 0 drops
Output: 3231 packets, 117216 bytes, 1 drops
Tunnel1
Current state: UP
Line protocol state: DOWN
Description: Tunnel1 Interface
Bandwidth: 64 kbps
Maximum transmission unit: 1452
Internet address: 6.6.6.10/30 (primary)
Tunnel source 10.211.67.30 (LoopBack100), destination 10.1.0.1
Tunnel keepalive enabled, Period(5 s), Retries(3)
Tunnel TTL 255
Tunnel protocol/transport GRE/IP
GRE key disabled
Checksumming of GRE packets disabled
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 4 bytes/sec, 32 bits/sec, 0 packets/sec
Input: 0 packets, 0 bytes, 0 drops
Output: 1608 packets, 38772 bytes, 1 drops
两台设备配置同样的配置,但是5560的tu2为down,
并且2600的物理口抓包可以抓到收发的数据包,但是5560物理口只能抓到收的数据包
请求指导
GRE隧道无法UP,以下是排查要点,请参考: 1、确保两端设备的路由是否可达。 2、检查是否正确指定了隧道源和目的。 3、检查两端隧道接口的IP是否在一个子网内。 4、检查隧道路由是否已正确指向。
我现在物理口镜像包抓不到发出去的数据,能看出来是哪里配置不对吗
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
我现在物理口镜像包抓不到发出去的数据,能看出来是哪里配置不对吗