📖 ~1 min read
Table of contents
Symptom & Impact
After reboot the LPAR cannot reach the gateway and `netstat -nr` shows no default route.
Environment & Reproduction
AIX 7.2 with `chdev -l inet0` route configured but `/etc/rc.net` overrides it.
Root Cause Analysis
Static route in ODM was not made persistent or was clobbered by a duplicate `chdev`.
Quick Triage
Run `netstat -nr`, `lsattr -El inet0` and inspect `/etc/rc.net` and `/etc/netsvc.conf`.
Step-by-Step Diagnosis
Capture `odmget -q ‘name=inet0’ CuAt` to verify the route stanza is present.

Solution – Primary Fix
Add the route persistently: `chdev -l inet0 -a route=net,-hopcount,0,,0,`.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Use `mkdev -l inet0` after editing `rc.net` if the customer manages routes there.
Verification & Acceptance Criteria
`netstat -nr` shows the default route after a reboot test and pings to the gateway succeed.
Rollback Plan
Remove the route stanza with `chdev -l inet0 -a delroute=…` and revert `rc.net`.
Prevention & Hardening
Standardise on ODM-managed routes and lock down `rc.net` via configuration management.
Related Errors & Cross-Refs
Related to `route: 0815-061` and `if_config` start failures during `cfgmgr`.
Related tutorial: View the step-by-step tutorial for aix-7.1.
View all aix-7.1 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
IBM Docs: AIX 7.2 TCP/IP configuration, `chdev inet0`, `/etc/rc.net`.
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.