A friend of mine asked for how to change the IP on an IBM AIX System without Smitty or smit. It took some minutes playing around on the system, but finally i figured out how to change basic network settings.
First of all you should query the system for possible attributes. After that you can change these settings and make them permanent.
bash# lsattr -El en0 alias4 IPv4 Alias including Subnet Mask True alias6 IPv6 Alias including Prefix Length True arp on Address Resolution Protocol (ARP) True authority Authorized Users True broadcast Broadcast Address True mtu 1500 Maximum IP Packet Size for This Device True netaddr 192.168.1.99 Internet Address True netaddr6 IPv6 Internet Address True netmask 255.255.255.0 Subnet Mask True prefixlen Prefix Length for IPv6 Internet Address True remmtu 576 Maximum IP Packet Size for REMOTE Networks True rfc1323 Enable/Disable TCP RFC 1323 Window Scaling True security none Security Level True state up Current Interface Status True tcp_mssdflt Set TCP Maximum Segment Size True tcp_nodelay Enable/Disable TCP_NODELAY Option True tcp_recvspace Set Socket Buffer Space for Receiving True tcp_sendspace Set Socket Buffer Space for Sending True bash# chdev -l en0 -a netaddr=192.168.1.100 bash# lsattr -El inet0 authm 65536 Authentication Methods True bootup_option no Use BSD-style Network Configuration True gateway Gateway True hostname thisismyname Host Name True rout6 IPv6 Route True route net,-hopcount,0,,0,192.168.1.254 Route True bash# chdev -l inet0 -a route=0,192.168.1.1





