πŸ“šBook Signing at KubeCon EU 2026Meet us at Booking.com HQ (Mon 18:30-21:00) & vCluster booth #521 (Tue 24 Mar, 12:30-1:30pm) β€” free book giveaway!RSVP Booking.com Event
Troubleshooting intermediate ⏱ 15 minutes K8s Any

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.

By Luca Berton β€’ β€’ πŸ“– 5 min read

πŸ’‘ Quick Answer: Use ip -o link show | grep master and cat /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/bond1

Look for:

  • Slave interfaces
  • LACP mode and partner state
  • Link speed and status

Check Single Interface State

ip link show eno17095np0

If 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 show

Use these to understand how host networking is wired before applying SR-IOV changes.

#bonding #networking #sriov #linux #troubleshooting
Luca Berton
Written by Luca Berton

Principal Solutions Architect specializing in Kubernetes, AI/GPU infrastructure, and cloud-native platforms. Author of Kubernetes Recipes and creator of CopyPasteLearn courses.

Kubernetes Recipes book cover

Want More Kubernetes Recipes?

This recipe is from Kubernetes Recipes, our 750-page practical guide with hundreds of production-ready patterns.

Luca Berton Ansible Pilot Ansible by Example Open Empower K8s Recipes Terraform Pilot CopyPasteLearn ProteinLens