Changes the Virtual I/O Server TCP/IP settings and parameters.
To change a network interface:
chtcpip [-interface Interface -inetaddr Address -netmask SubnetMask]
chtcpip [-interface Interface -gateway -add New_gateway_address -remove Old_gateway_address]
chtcpip -ip6-interface Interface [-inetaddr Address] [-plen pfixlen ] [-gateway]
The chtcpip command changes the TCP/IP settings and configuration on the Virtual I/O Server.
0 | The command completed successfully. |
>0 | An error occurred. |
chtcpip -interface en0 -inetaddr 9.1.1.1 -netmask 255.255.255.0
chtcpip -interface en0 -gateway -add 9.2.3.4 -remove 9.1.2.3