Originally posted by: tom-aixadmin
hctunx110$ lsattr -El en0 -a alias4 -a netaddr
alias4 111.222.19.82,255.255.252.0 IPv4 Alias including Subnet Mask True
netaddr 111.222.19.246 Internet Address True
hctunx110$ lsattr -El en0 -a alias4 -a netaddr|sed 's/,/ /'|awk '{print $2}'
111.222.19.82
111.222.19.246
you appear to be on the right track, I'm not sure if I'm not understanding your question.. what addresses would you want that may not be in the lsattr output?
It IS possible for addresses to not be in the ODM.. (if you use ifconifg to change your running system, those dynamic changes don't get stored in the ODM, thus are lost after a reboot.
to see the running system, use netstat or ifconfig. as indicated in previous message.
Tom