ip a
abiteave https://manpages.ubuntu.com/manpages/en/man8/ip.8.html
Näidisväljund
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether c8:d9:d2:29:79:1b brd ff:ff:ff:ff:ff:ff
altname eno1
altname enp0s31f6
inet 192.168.3.26/24 brd 192.168.3.255 scope global dynamic noprefixroute eth0
valid_lft 680045sec preferred_lft 680045sec
inet6 fe80::db8c:3ffe:f651:716c/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: vboxnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff
inet 192.168.56.1/24 brd 192.168.56.255 scope global vboxnet0
valid_lft forever preferred_lft forever
inet6 fe80::800:27ff:fe00:0/64 scope link
valid_lft forever preferred_lft forever
ifconfig
abiteave https://manpages.ubuntu.com/manpages/en/man8/ifconfig.8.html
Näidisväljund
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.3.26 netmask 255.255.255.0 broadcast 192.168.3.255
inet6 fe80::db8c:3ffe:f651:716c prefixlen 64 scopeid 0x20<link>
ether c8:d9:d2:29:79:1b txqueuelen 1000 (Ethernet)
RX packets 994423 bytes 448306507 (448.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 223882 bytes 54499919 (54.4 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xe1200000-e1220000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 4994 bytes 508840 (508.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4994 bytes 508840 (508.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vboxnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.56.1 netmask 255.255.255.0 broadcast 192.168.56.255
inet6 fe80::800:27ff:fe00:0 prefixlen 64 scopeid 0x20<link>
ether 0a:00:27:00:00:00 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 392 bytes 79044 (79.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0