Affected versions: FreeBSD 15

πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Link speed/duplex drops after reboot and throughput degrades significantly.

Environment & Reproduction

Seen where manual ifconfig tuning was never persisted.

ifconfig 

Root Cause Analysis

Runtime media settings are ephemeral unless captured in startup config.

Quick Triage

Compare expected media profile with current live interface state.

sysrc ifconfig_

Step-by-Step Diagnosis

Inspect rc.conf and local overrides for conflicting interface directives.

grep -R "ifconfig_" /etc/rc.conf*
Illustrative mockup for freebsd-15 β€” ifconfig_media_runtime
Runtime media setting differs from boot setting β€” Illustrative mockup β€” Progressive Robot

Solution – Primary Fix

Persist desired media options in rc.conf and restart netif.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

sudo sysrc ifconfig_='inet / media 1000baseT mediaopt full-duplex' && sudo service netif restart 
Illustrative mockup for freebsd-15 β€” rc_conf_media_fix
Persisting media options in rc.conf β€” Illustrative mockup β€” Progressive Robot

Solution – Alternative Approaches

Prefer autonegotiation if switch policy and hardware support are stable.

Verification & Acceptance Criteria

Interface retains expected speed/duplex after reboot.

Rollback Plan

Remove forced media options and return to prior autonegotiation profile.

Prevention & Hardening

Document interface tuning centrally and audit drift regularly.

Related to NIC driver updates and switch-side forced speed mismatches.

Related tutorial: View the step-by-step tutorial for freebsd-15.

View all freebsd-15 tutorials on the Tutorials Hub β†’

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

FreeBSD network interface configuration manual.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β€” we respond within one business day.