ip link 参数和网卡驱动的对应关系:哪些是 netdev,哪些是驱动
ip link 只展示 netdev 公共层:MTU、MAC、flags、qlen、state、stats。ring、队列、offload、PHY、固件属于驱动/ethtool。搞清归属,驱动框架才不会变大杂烩。
Engineering notes and ranked practice on OpenWrt / Yocto / NVIDIA Tegra and edge AI gateways: understand by reading, grow through practice; traceable, reproducible, bounded.
Practice and exams · routing/bridging/debugging
138 questions cover ip addr / ip link / ip route / bridge, VLANs, policy routing, NAT, raw IP and iPerf3 throughput. Exams grade at the end; practice gives instant feedback.
This is not command memorization; it builds a troubleshooting order: link → bridge → rule → table → route → NAT → capture.
Draw 25 random questions from the 100 / 38 bank; 20 to pass. Submit at the end.
PracticeGrade immediately; previous, skip and jump to any question.
Attention, FFN, positional encoding, training and inference
OpenWrtUCI, netifd, ubus, fw4, ImageBuilder
OpenWrtUCI, netifd, bridge/VLAN, static routes, PPPoE
VLAN802.1Q, PVID, access/trunk, bridge vlan filtering
ACLgetfacl/setfacl, mask, default ACLs, inheritance and backup
prplOS / AMXData model, transactions, NetModel, USP
YoctoLayers, recipes, BitBake, images
PPPoEpppd, LCP, auth, DNS, teardown
iPerf3TCP/UDP, reverse, loss, trustworthy results
ip link 只展示 netdev 公共层:MTU、MAC、flags、qlen、state、stats。ring、队列、offload、PHY、固件属于驱动/ethtool。搞清归属,驱动框架才不会变大杂烩。
同一张网卡,OpenWrt 走 UCI/netifd,PC 走 NetworkManager/systemd-networkd,TR-181 走 USP/AMX 或 CCSP。ip link 只是运行时视图,不是持久化入口。
TR-181 用 Routing.Router 和 IPv4/IPv6Forwarding 表达路由。prplOS 的 routing-manager 会把内核路由自动映射成对象,删除自动对象不等于删内核路由;RDK-B 由 CCSP/PSM + WAN Manager 落地。
TR-181 是数据模型,TR-369 是 USP 的规范编号,USP 是这套管理协议。USP 负责怎么管,TR-181 负责管什么;prplOS/RDK-B 是具体实现。
WiFi 在 TR-181 里首先是 Device.WiFi.Radio:频段、信道、带宽、功率、监管域。prplOS 走 AMX/NetModel + cfg80211,RDK-B 走 OneWifi + WiFi HAL。
WLAN 是服务层:SSID、AccessPoint、Security、AssociatedDevice 和 Bridge.Port。prplOS 走 AMX/NetModel + hostapd,RDK-B 走 OneWifi + WiFi HAL。
Subscribe via RSS to get new posts automatically.
Technical questions, feedback and leads: use the guestbook.