请问谁有 Red Hat 的订阅账号?帮忙看个 solution

2019-08-01 15:04:27 +08:00
 RshMan

我注册了还是无法查看,显示:SUBSCRIBER EXCLUSIVE CONTENT,An active Red Hat subscription is required to participate.

url: https://access.redhat.com/solutions/409393

3588 次点击
所在节点    Linux
2 条回复
LokiSharp
2019-08-02 01:07:22 +08:00
GRE Keepalive does not work
SOLUTION 已验证 - 已更新 2013 年七月 17 日 18:56 - English
环境
Red Hat Enterprise Linux
GRE Tunnel to remote device, such as Cisco router
GRE Keepalives configured on remote device
问题
Configuring GRE Keepalives between a network device (such as a Cisco router) and RHEL system result in the keepalives being dropped by the Linux machine, and the networking device considering the tunnel down.
决议
Linux does not support GRE Keepalives.

You may disable GRE Keepalives on the remote device, or use a workaround such as an IP SLA ping down the GRE tunnel.

根源
A GRE Keepalive is a "host to router" GRE packet encapsulated inside a "router to host" GRE packet. The idea being the host (in this case Linux) receives the packet, sees the packet is actually a GRE packet for the router, and sends it back out. The router receives this packet and knows the remote end is still responding.

The Linux FIB code is such that if it receives traffic where the source is a local unicast address, the traffic is considered invalid.

Observe the following code:

Raw
net/ipv4/fib_frontend.c

if (res.type != RTN_UNICAST) {
if (res.type != RTN_LOCAL || !accept_local)
goto e_inval_res;
}
A GRE tunnel is not "stateful", there is no handshake or negotiation, just one side sending encapsulated packets and one side accepting encapsulated packets. As long as the network between the two sides stays up, the tunnel is up. Lack of Keepalives doesn't mean the tunnel is "down", just that you have no knowledge of the network state of the remote system. You could monitor this on the router with IP SLA, or monitor the remote end separately outside the tunnel.

诊断步骤
Cisco GRE Keepalive documentation:
http://www.cisco.com/en/US/tech/tk827/tk369/technologies_tech_note09186a008048cffc.shtml#t5

Linux GRE documentation:
http://lartc.org/lartc.html#LARTC.TUNNEL.GRE
RshMan
2019-08-02 11:09:36 +08:00
@LokiSharp 谢谢了 ~

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/588215

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX