$ sudo ip addr add dev eth0 $ ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0:

2. Add an IPv6 address Adding an IPv6 address is similar to the mechanism of "IP ALIAS" addresses in Linux IPv4 addressed interfaces. ip(8) - Linux manual page This option is currently only supported by ip addr show and ip link show commands. -j, -json Output results in JavaScript Object Notation (JSON). -p, -pretty The default JSON format is compact and more efficient to parse but hard for most users to read. This flag adds indentation for readability. Linux ip Kommando – Thomas-Krenn-Wiki

How to Add Printer Using IP Address in Windows 10

blacknon@BS-PUB-UBUNTU-01:~$ ip addr show eth0 2: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 62:35:64:64:61:31 brd ff:ff:ff:ff:ff:ff inet 172.28.0.XXX/24 brd scope global eth0 valid_lft forever preferred_lft forever inet brd scope global networking - Remove IP with ip command in linux - Server Fault If I add two IPs like this: ip addr add dev eth2 ip addr add dev eth2 and then I try to delete one of like this: ip addr del dev eth2 BOTH IPs will be deleted a How to use the ip command instead of ifconfig | Andrea Fortuna

ip(8) - Linux manual page

3.6. Configuring IP Networking with ip Commands Red Hat To assign an IP address to an interface: ~]# ip address add dev enp1s0 You can view the address assignment of a specific device: ~]# ip addr show dev enp1s0 2: enp1s0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether f0:de:f1:7b:6e:5f brd ff:ff:ff:ff:ff:ff inet brd scope global global enp1s0 valid_lft …