Configuring and activating an interface
![]()
Use ip or an equivalent command to configure and activate an interface.
Example: First configure the interface:
# ip addr 192.0.2.5 dev eth0Then activate the interface:
# ip link set dev eth0 up