how to setting the public ipv4 address on the server ubuntu linux code example Example: change ip of ubuntu sudo ip link set dev eth0 up sudo dhclient -v eth0