You want to use the ip command to set a new address for your network device eth0. It is a Standard class C
network. The broadcast address and network route should be set accordingly.
Which command is correct?
ip address add 192.168.0.10/24 dev eth0
ip addr add eth0 192.168.0.10/24 eth0 broadcast 192.168.255.255
ip addr add 192.168.0.10/24 dev eth0 brd è
ip address set 192.168.0.10/24 dev eth0
Submit