received packet with own address as source address

故障现象:

网卡做bond后,在messages中频繁出现received packet with own address as source address。

问题分析:

该问题由于网卡做bond后上层链路交换机没有做port channel而产生错误。比如网卡做bond mode 0,上层交换无任何配置,此时会认为做bond的两个物理网卡mac相同而产生报错。

解决办法:

  1. bond使用mode 1模式,为主备模式。

  2. bond使用mode 0模式,上层交换配置port channel,比如port channel mode on。

转载于:https://www.cnblogs.com/myiaas/p/4161309.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
To read a received packet from the Ethernet buffers and send it to lwIP for handling, you need to follow these steps: 1. Retrieve the packet from the Ethernet buffers. This can typically be done using DMA (Direct Memory Access) to transfer the packet from the Ethernet controller's buffer to a buffer in memory. 2. Check the packet header to determine whether it is an IP packet or not. If it is not an IP packet, you can discard it. 3. If the packet is an IP packet, pass it to lwIP for handling by calling the appropriate function. This function will typically be something like `ethernet_input()` or `ip_input()`, depending on the specific implementation. 4. Once the packet has been passed to lwIP, it will handle it according to its configured networking stack. This may involve routing the packet to its destination, processing any network protocols that are encapsulated within the packet, or performing other operations as needed. 5. After lwIP has finished handling the packet, it may generate a response packet that needs to be transmitted back out onto the network. To do this, you will need to use the Ethernet controller's transmit buffer to send the packet back out onto the network. Overall, the process of reading a received packet from the Ethernet buffers and sending it to lwIP for handling can be complex, and will depend on the specific implementation of lwIP and the Ethernet controller being used. However, by following the general steps outlined above, you can begin to understand the basic flow of data through the networking stack.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值