zoukankan      html  css  js  c++  java
  • 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失败


    
                                        
    
  • 相关阅读:
    TCP三次握手四次挥手
    TCP与UDP的区别
    mysql从库设置全局只读,并创建普通账号
    docker安装mysql主从
    mysql 更换数据目录
    Docker 部署 ElasticSearch
    js获取地址栏传参
    PHP-MySQL基本操作
    基于element-tree-table树型表格点击节点请求数据展开树型表格
    拖拽读取文件
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13351606.html
Copyright © 2011-2022 走看看