A system administrator needs to assign a temporary IP address 192.168.10.50/24 to the `eth1` interface, which is currently down. Which sequence of commands will accomplish this and make the interface active?
-
A
sudo ip addr add 192.168.10.50/24 dev eth1; sudo ip link set eth1 up
-
B
sudo ifconfig eth1 192.168.10.50 netmask 255.255.255.0; sudo ifup eth1
-
C
sudo nmcli con add ifname eth1 type ethernet ip4 192.168.10.50/24
-
D
sudo ip route add 192.168.10.50/24 dev eth1; sudo ip link set eth1 on