Coder Social home page Coder Social logo

Comments (9)

KFERMercer avatar KFERMercer commented on June 7, 2024

arp绑定且设备离线后重新上线, IP地址会变吗? 开启flowoffload或者SFE转发加速了吗?

from openwrt.

lsx25 avatar lsx25 commented on June 7, 2024

ip地址不变,arp绑定以后,用arp命令查询显示是0x6,一旦设备重启,就会变成0x2

from openwrt.

lsx25 avatar lsx25 commented on June 7, 2024

arp绑定且设备离线后重新上线,IP地址会变吗?开启flowoffload或者SFE转发加速了吗?

20210302091026
这个是设置绑定后重启路由器的状态,
20210302091108
这个是设备重启后,或者重新接入网络的状态,
每次设备重启都会失去绑定的静态arp,导致远程唤醒失效

from openwrt.

KFERMercer avatar KFERMercer commented on June 7, 2024

我怀疑是udp转发出现了问题.

仅仅从arp条目上看, 似乎一切正常. 实际上, openwrt本来就会倾向给同样的mac地址分配同样的ip, 所以即使在不进行arp的情况下, 端口映射一般而言也会正常工作.

几个问题:

如果删除此条arp条目, 直接对192.168.5.5进行端口转发, 设备重启后会正常工作吗?

你是否在固件里编译了docker?

你是否正在使用flowoffload或者SFE转发加速?

由于我还没能复现你所说的问题, 建议同时去冷雪狼的库下面提交讨论看有没有人遇到了同样的问题.

from openwrt.

lsx25 avatar lsx25 commented on June 7, 2024

应该不能算正常静态arp吧,应该显示0x6才是正确的,用ip neigh show命令显示192.168.5.5 dev br-lan lladdr 00:11:32:8b:90:e7 PERMANENT,有PERMANENT才是静态arp,重启以后这个状态就没了,感觉是每次设备接入网络,静态arp就被清理了。
我是J3455CPU,82576的网卡,四个网口一个做wan,其他四个设置为LAN,打开桥接。

from openwrt.

KFERMercer avatar KFERMercer commented on June 7, 2024

根据: coolsnowwolf/lede#6384
提交: c35b1eb

欢迎测试

from openwrt.

lsx25 avatar lsx25 commented on June 7, 2024

测试了一下,是这样,上图吧
群晖关机或重启前,设置IP/mac绑定
绑定-重启前
设备重启前
群晖重启
重启后
重启后1
重启后关机
关机arp
关机ip show

from openwrt.

KFERMercer avatar KFERMercer commented on June 7, 2024
  1. 其他设备会出现上述唤醒问题吗?
  2. 在群晖关机后, 在内网内使用luci-app-wol通过群晖的mac地址可以唤醒吗?
  3. 在不绑定arp的情况下, 群晖重启后dhcp的租约会刷新吗?
  4. 在群晖关机的情况下, 使用arp -s 192.168.5.5 xx:xx:xx:xx:xx:xx添加arp配置后的状态码是什么?

from openwrt.

lsx25 avatar lsx25 commented on June 7, 2024

所有设备都存在这个问题,也和别人沟通过也是一样。
内网可以唤醒。
我设置了静态ip,和arp静态地址是一样的。
arp -s命令不能用,后面参数都是查询

from openwrt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.