lsattr
Deleting Duplicated default gateways on AIX
Ever had that weird problem on AIX where your routing table has a second default gateway?
I had and this is how i fixed it. In my case when I changed a ip address and default gateway in smitty, the routing table ended up with TWO default gateways. This is bad news if your machine is a seperate vLAN or subnet and needs to communicate outside of this vLAN or subnet.
The example below shows the output of a netstat -rn. In it you can see two default gateways. One is correct 10.2.98.113 and the other 10.0.72.16 is incorrect.

