====== Ubuntu - Networking - Get Network Interfaces ====== ===== Display the IP address assigned to all interfaces ===== ip -br -c addr show returns lo UNKNOWN 127.0.0.1/8 ::1/128 enp3s0 UP enp11s0f0 DOWN enp11s0f1 DOWN enp11s0f2 DOWN enp11s0f3 UP wlp6s0 DOWN vmbr0 UP 192.168.1.95/24 fe80::84f9:ecff:fe63:5155/64 vmbr1 UP fe80::a4d7:3ff:fe7a:d19c/64 tap102i0 UNKNOWN fwbr102i0 UP fwpr102p0@fwln102i0 UP fwln102i0@fwpr102p0 UP tap100i0 UNKNOWN fwbr100i0 UP fwpr100p0@fwln100i0 UP fwln100i0@fwpr100p0 UP veth201i0@if2 UP fwbr201i0 UP fwpr201p0@fwln201i0 UP fwln201i0@fwpr201p0 UP veth105i0@if2 UP fwbr105i0 UP fwpr105p0@fwln105i0 UP fwln105i0@fwpr105p0 UP ---- ===== Display the MAC address assigned to all interfaces ===== ip -br -c link show returns lo UNKNOWN 00:00:00:00:00:00 enp3s0 UP a8:a1:59:2f:b8:a6 enp11s0f0 DOWN 80:61:5f:0a:d0:ba enp11s0f1 DOWN 80:61:5f:0a:d0:bb enp11s0f2 DOWN 80:61:5f:0a:d0:bc enp11s0f3 UP 80:61:5f:0a:d0:bd wlp6s0 DOWN ac:67:5d:48:46:03 vmbr0 UP 86:f9:ec:63:51:55 vmbr1 UP a6:d7:03:7a:d1:9c tap102i0 UNKNOWN 86:4e:8a:12:91:99 fwbr102i0 UP 7e:6f:c5:5c:5c:84 fwpr102p0@fwln102i0 UP 06:18:a3:5e:85:aa fwln102i0@fwpr102p0 UP 7e:c8:04:9d:f4:40 tap100i0 UNKNOWN 3e:f5:8d:d7:4c:30 fwbr100i0 UP 2e:02:05:1d:39:cf fwpr100p0@fwln100i0 UP e6:30:04:24:fd:44 fwln100i0@fwpr100p0 UP f6:ab:40:67:7c:50 veth201i0@if2 UP fe:8a:78:b0:15:89 fwbr201i0 UP 2a:65:d4:0b:f5:b3 fwpr201p0@fwln201i0 UP 7a:f6:e4:61:78:96 fwln201i0@fwpr201p0 UP 46:7f:81:48:3a:e2 veth105i0@if2 UP fe:5b:19:fb:46:59 fwbr105i0 UP 46:23:83:b0:42:7f fwpr105p0@fwln105i0 UP 56:bc:24:49:32:fb fwln105i0@fwpr105p0 UP 2a:df:dd:9c:92:b3