# add ip address to ethernet interface ip addr add 192.168.0.$1 dev eth0 ip link set eth0 up