centos ip static code example Example 1: centos ip ip addr show Example 2: set static ip centos BOOTPROTO=static