ARP表信息引起的telnet 时断时通

<pre name="code" class="sql">inet addr:121.40.118.106

jrhapt21:/root# arp -a
? (10.171.246.184) at 00:16:3e:00:49:00 [ether] on eth0
? (10.171.247.247) at 00:00:0c:9f:f2:bc [ether] on eth0
? (121.40.119.247) at 00:00:0c:9f:f3:20 [ether] on eth1


inet addr:121.40.116.25
jrhppt02:/root# arp -a
? (121.40.118.106) at 00:16:3e:00:52:00 [ether] on eth1
? (10.171.243.55) at 00:16:3e:00:73:ff [ether] on eth0
? (10.171.240.139) at 00:16:3e:00:52:00 [ether] on eth0
? (10.171.247.247) at 00:00:0c:9f:f2:bc [ether] on eth0
? (121.40.119.247) at 00:00:0c:9f:f3:20 [ether] on eth1


inet addr:121.40.118.106

jrhapt21:/root#  arp -d 10.171.246.184
jrhapt21:/root# arp -a
? (10.171.246.184) at <incomplete> on eth0
? (10.171.247.247) at 00:00:0c:9f:f2:bc [ether] on eth0
? (121.40.119.247) at 00:00:0c:9f:f3:20 [ether] on eth1
jrhapt21:/root# telnet 121.40.3.229 443
Trying 121.40.3.229...
Connected to 121.40.3.229.
Escape character is '^]'.



发现当121.40.116.25 代理02上没有 121.40.118.106的arp信息时
jrhppt02:/root# arp -a
? (121.40.118.106) at <incomplete> on eth1
? (10.171.243.55) at 00:16:3e:00:73:ff [ether] on eth0
? (10.171.240.139) at 00:16:3e:00:52:00 [ether] on eth0
? (10.171.247.247) at 00:00:0c:9f:f2:bc [ether] on eth0
? (121.40.119.247) at 00:00:0c:9f:f3:20 [ether] on eth1


inet addr:121.40.118.106发起:

jrhapt21:/root# telnet 121.40.3.229 443
Trying 121.40.3.229...
telnet: connect to address 121.40.3.229: Connection timed out

jrhapt21:/root# arp -a
? (10.171.246.184) at 00:16:3e:00:49:00 [ether] on eth0
? (10.171.247.247) at 00:00:0c:9f:f2:bc [ether] on eth0
? (121.40.119.249) at 00:2a:6a:b1:9d:bc [ether] on eth1
? (121.40.119.247) at 00:00:0c:9f:f3:20 [ether] on eth1

和121.40.118.106 本地是否有10.171.246.184 的映射表无关



当inet addr:121.40.116.25 负载02上arp表里没有121.40.118.106的映射信息时就会导致从121.40.118.10telnet 121.40.116.25 443失败



                                    
原文地址:https://www.cnblogs.com/hzcya1995/p/13351606.html