Check Bonding and Interface Status for SR-IOV
Inspect bond membership, interface state, and link aggregation to confirm which NICs can be correctly targeted by SR-IOV network policies on Kubernetes.
π‘ Quick Answer: Use
ip -o link show | grep masterandcat /proc/net/bonding/<bond>to identify which interfaces are bond slaves and avoid selecting those PFs in SR-IOV policies.
Before targeting PFs in SR-IOV policies, verify each interfaceβs relationship to host networking.
List Bonds and Slaves
ip -o link show | grep -E "master|bond"Inspect Each Bond
cat /proc/net/bonding/bond0
cat /proc/net/bonding/bond1Look for:
- Slave interfaces
- LACP mode and partner state
- Link speed and status
Check Single Interface State
ip link show eno17095np0If output contains master bondX, the interface is a bond slave.
SR-IOV Policy Safety Checklist
- Selector points to intended PFs.
- Target PFs are not accidentally selected via broad filters.
- Node selectors constrain policies to intended workers.
Useful Companion Checks
nmcli connection show
ovs-vsctl showUse these to understand how host networking is wired before applying SR-IOV changes.

Recommended
Kubernetes Recipes β The Complete Book100+ production-ready patterns with detailed explanations, best practices, and copy-paste YAML. Everything in one place.
Get the Book βLearn by Doing
CopyPasteLearn β Hands-on Cloud & DevOps CoursesMaster Kubernetes, Ansible, Terraform, and MLOps with interactive, copy-paste-run lessons. Start free.
Browse Courses β