数据包正在消失

网络工程 思科 思科-ios 顺式催化剂 生命值
2022-02-12 17:27:38

我有一台服务器 HP DL180 G6,连接到 Cisco 交换机(4948E 或 2960)。服务器有 2 个以太网端口和 ILO 与数据端口 #1 共享。ILO 设置为从 DHCP 请求 ip。

1) 当我用 Wireshark 将笔记本直接连接到端口 #1 时,我收到来自两个 MAC 地址的数据包:数据端口和 ILO 端口,它们都发送 dhcp 请求。

2)当我将服务器连接到交换机(在 4948E 和 2960 上测试)并设置 SPAN 监视器(使用带有 Wireshark 的笔记本将流量镜像到另一个端口)时,我只看到来自数据端口的数据包。没有来自 ILO 端口的数据包。Switch 的 CAM 表中也没有 ILO 的 MAC。因此,ILO 无法从 DHCP 获得 IP。甚至当我为 ILO 配置静态 IP - 网络无法访问它并且 CAM 中没有 MAC:没有人知道 ILO,甚至是 Switch。是的,我尝试使用超时来 ping ILO 的静态 ip(没有答案)

那么问题是为什么会这样呢?为什么数据包消失而没有任何错误?以及如何获得工作国际劳工组织?

有人可以帮忙解决这种情况吗?我最想明白,为什么会这样。谢谢!

有关环境和 Wireshark 转储的更多详细信息: 1 个子网中的所有设备:192.168.0.0/24 VLAN 1 中的所有设备(交换机上的端口) DHCP 服务器位于子网 172.16.0.0/24 中,可从服务器访问(Windows)

Catalyst 2960(例如)端口配置(所有其他配置都是默认的,重置后!):

interface GigabitEthernet1/0/40
description here connected HP server's port #1 shared with ILO
 switchport mode access
 speed 1000
 duplex full
 spanning-tree portfast
!
interface GigabitEthernet1/0/41
description to notebook with Wireshark
!
monitor session 1 source interface Gi1/0/40
monitor session 1 destination interface Gi1/0/41 encapsulation replicate

端口 Gi1/0/40 统计: C2960S-48-F01#sh int gi1/0/40 控制器

GigabitEthernet1/0/40 is down, line protocol is down (notconnect)
  Hardware is Gigabit Ethernet, address is 20bb.c099.8a28 (bia 20bb.c099.8a28)
  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:17:22, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     2668 packets input, 475459 bytes, 0 no buffer
     Received 2634 broadcasts (1073 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 1073 multicast, 0 pause input
     0 input packets with dribble condition detected
     86283 packets output, 85216496 bytes, 0 underruns
     0 output errors, 0 collisions, 6 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out

     Transmit GigabitEthernet1/0/40           Receive
     85216496 Bytes                           475459 Bytes
         1840 Unicast frames                      34 Unicast frames
        79351 Multicast frames                  1073 Multicast frames
         5092 Broadcast frames                  1561 Broadcast frames
            0 Too old frames                    5136 Unicast bytes
            0 Deferred frames                 143180 Multicast bytes
            0 MTU exceeded frames             326059 Broadcast bytes
            0 1 collision frames                   0 Alignment errors
            0 2 collision frames                   0 FCS errors
            0 3 collision frames                   0 Oversize frames
            0 4 collision frames                   0 Undersize frames
            0 5 collision frames                   0 Collision fragments
            0 6 collision frames
            0 7 collision frames                 337 Minimum size frames
            0 8 collision frames                1202 65 to 127 byte frames
            0 9 collision frames                 425 128 to 255 byte frames
            0 10 collision frames                656 256 to 511 byte frames
            0 11 collision frames                 47 512 to 1023 byte frames
            0 12 collision frames                  1 1024 to 1518 byte frames
            0 13 collision frames                  0 Overrun frames
            0 14 collision frames                  0 Pause frames
            0 15 collision frames
            0 Excessive collisions                 0 Symbol error frames
            0 Late collisions                      0 Invalid frames, too large
            0 VLAN discard frames                  0 Valid frames, too large
            0 Excess defer frames                  0 Invalid frames, too small
        10480 64 byte frames                       0 Valid frames, too small
        11860 127 byte frames
          502 255 byte frames                      0 Too old frames
         3276 511 byte frames                      0 Valid oversize frames
           19 1023 byte frames                     0 System FCS error frames
        60146 1518 byte frames                     0 RxPortFifoFull drop frame
            0 Too large frames
            0 Good (1 coll) frames
            0 Good (>1 coll) frames


C2960S-48-F01#sh int gi1/0/40 counters errors

Port        Align-Err     FCS-Err    Xmit-Err     Rcv-Err  UnderSize  OutDiscards
Gi1/0/40            0           0           0           0          0            0

Port      Single-Col  Multi-Col   Late-Col  Excess-Col  Carri-Sen      Runts     Giants
Gi1/0/40           0          0          0           0          0          0          0

C2960S-48-F01#sh int gi1/0/40 counters protocol status
Protocols allocated:
 GigabitEthernet1/0/40: Other, IP, Spanning Tree, CDP

Wireshark 从情况 #1 转储(当服务器直接连接到笔记本时): 这是来自 ILO 的帧(ILO 拥有此 MAC 地址)

Frame 11: 342 bytes on wire (2736 bits), 342 bytes captured (2736 bits) on interface 0
    Interface id: 0 (\Device\NPF_{35063BE1-6696-40E5-918D-69EF24F97E65})
    Encapsulation type: Ethernet (1)
    Arrival Time: May 25, 2016 16:12:03.817712000 RTZ 2 (����)
    [Time shift for this packet: 0.000000000 seconds]
    Epoch Time: 1464181923.817712000 seconds
    [Time delta from previous captured frame: 0.315021000 seconds]
    [Time delta from previous displayed frame: 0.000000000 seconds]
    [Time since reference or first frame: 1.358059000 seconds]
    Frame Number: 11
    Frame Length: 342 bytes (2736 bits)
    Capture Length: 342 bytes (2736 bits)
    [Frame is marked: False]
    [Frame is ignored: False]
    [Protocols in frame: eth:ethertype:ip:udp:bootp]
    [Coloring Rule Name: UDP]
    [Coloring Rule String: udp]
Ethernet II, Src: HewlettP_de:c0:50 (d8:d3:85:de:c0:50), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
    Destination: Broadcast (ff:ff:ff:ff:ff:ff)
    Source: HewlettP_de:c0:50 (d8:d3:85:de:c0:50)
    Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 0.0.0.0, Dst: 255.255.255.255
User Datagram Protocol, Src Port: 68 (68), Dst Port: 67 (67)
Bootstrap Protocol (Discover)

Wireshark 从情况 #2 转储(当服务器连接到交换机时): 这是来自数据端口的帧(端口 #1 拥有此 MAC 地址)

Frame 78: 342 bytes on wire (2736 bits), 342 bytes captured (2736 bits) on interface 0
    Interface id: 0 (\Device\NPF_{35063BE1-6696-40E5-918D-69EF24F97E65})
    Encapsulation type: Ethernet (1)
    Arrival Time: May 25, 2016 12:58:20.776904000 RTZ 2 (����)
    [Time shift for this packet: 0.000000000 seconds]
    Epoch Time: 1464170300.776904000 seconds
    [Time delta from previous captured frame: 0.005327000 seconds]
    [Time delta from previous displayed frame: 0.000000000 seconds]
    [Time since reference or first frame: 10.956572000 seconds]
    Frame Number: 78
    Frame Length: 342 bytes (2736 bits)
    Capture Length: 342 bytes (2736 bits)
    [Frame is marked: False]
    [Frame is ignored: False]
    [Protocols in frame: eth:ethertype:ip:udp:bootp]
    [Coloring Rule Name: UDP]
    [Coloring Rule String: udp]
Ethernet II, Src: HewlettP_dd:60:9e (d8:d3:85:dd:60:9e), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
    Destination: Broadcast (ff:ff:ff:ff:ff:ff)
    Source: HewlettP_dd:60:9e (d8:d3:85:dd:60:9e)
    Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 0.0.0.0, Dst: 255.255.255.255
User Datagram Protocol, Src Port: 68 (68), Dst Port: 67 (67)
Bootstrap Protocol (Discover)

Switch的CAM表: C2960S-48-F01#sh mac address-table interface gigabitEthernet 1/0/40

          Mac Address Table
-------------------------------------------

Vlan    Mac Address         Type        Ports
----    -----------         --------    -----
 1      d8:d3:85:dd:60:9e   DYNAMIC     Gi1/0/40
Total Mac Addresses for this criterion: 1
0个回答
没有发现任何回复~