Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

Networking

Networking

Ping

crosh> ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=118 time=23.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=118 time=17.3 ms

ipaddrs -4

crosh> ipaddrs -4
/0 [ ip -4 addr show ]
/1 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
/2     inet 127.0.0.1/8 scope host lo
/3        valid_lft forever preferred_lft forever
/4 2: wlan0: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
/5     inet 192.168.40.5/24 brd 192.168.40.255 scope global wlan0
/6        valid_lft forever preferred_lft forever
/7 3: arc_ns0@if2: <BROADCAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link-netnsid 0
/8     inet 100.115.92.129/30 brd 100.115.92.131 scope global arc_ns0
/9        valid_lft forever preferred_lft forever
/10 4: arc_ns1@if2: <BROADCAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link-netnsid 1
/11     inet 100.115.92.133/30 brd 100.115.92.135 scope global arc_ns1
/12        valid_lft forever preferred_lft forever
/13 11: arcbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
/14     inet 100.115.92.1/30 brd 100.115.92.3 scope global arcbr0
/15        valid_lft forever preferred_lft forever
/16 12: arc_wlan0: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
/17     inet 100.115.92.13/30 brd 100.115.92.15 scope global arc_wlan0
/18        valid_lft forever preferred_lft forever
/19 13: arc_ns2@if2: <BROADCAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link-netnsid 2
/20     inet 100.115.92.137/30 brd 100.115.92.139 scope global arc_ns2
/21        valid_lft forever preferred_lft forever
/22 14: vmtap6: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
/23     inet 100.115.92.25/30 brd 100.115.92.27 scope global vmtap6
/24        valid_lft forever preferred_lft forever

ipaddrs -6

crosh> ipaddrs -6
/0 [ ip -6 addr show ]
/1 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
/2     inet6 ::1/128 scope host 
/3        valid_lft forever preferred_lft forever
/4 2: wlan0: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/5     inet6 fe80::4e1d:96ff:fe2d:e943/64 scope link 
/6        valid_lft forever preferred_lft forever
/7 3: arc_ns0@wlan0: <BROADCAST,ALLMULTI,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/8     inet6 fe80::c8ce:c4ff:fe5d:cc9e/64 scope link 
/9        valid_lft forever preferred_lft forever
/10 4: arc_ns1@wlan0: <BROADCAST,ALLMULTI,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/11     inet6 fe80::d085:74ff:fec5:3bd1/64 scope link 
/12        valid_lft forever preferred_lft forever
/13 5: vmtap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/14     inet6 fe80::4037:5ff:fe13:1701/64 scope link 
/15        valid_lft forever preferred_lft forever
/16 6: vmtap1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/17     inet6 fe80::4037:5ff:fe13:1702/64 scope link 
/18        valid_lft forever preferred_lft forever
/19 7: vmtap2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/20     inet6 fe80::4037:5ff:fe13:1703/64 scope link 
/21        valid_lft forever preferred_lft forever
/22 8: vmtap3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/23     inet6 fe80::4037:5ff:fe13:1704/64 scope link 
/24        valid_lft forever preferred_lft forever
/25 9: vmtap4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/26     inet6 fe80::4037:5ff:fe13:1705/64 scope link 
/27        valid_lft forever preferred_lft forever
/28 10: vmtap5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/29     inet6 fe80::4037:5ff:fe13:1706/64 scope link 
/30        valid_lft forever preferred_lft forever
/31 11: arcbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/32     inet6 fe80::fc5f:f0ff:fe5e:11e9/64 scope link 
/33        valid_lft forever preferred_lft forever
/34 12: arc_wlan0: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/35     inet6 fe80::40a8:cff:fec2:cc31/64 scope link 
/36        valid_lft forever preferred_lft forever
/37 13: arc_ns2@wlan0: <BROADCAST,ALLMULTI,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/38     inet6 fe80::9ca6:69ff:fef0:833c/64 scope link 
/39        valid_lft forever preferred_lft forever
/40 14: vmtap6: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 state UP qlen 1000
/41     inet6 fe80::e046:6cff:fee5:19e4/64 scope link 
/42        valid_lft forever preferred_lft forever

ip a

chronos@localhost / $ ip a
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: wlan0: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 4c:1d:96:2d:e9:43 brd ff:ff:ff:ff:ff:ff
    inet 192.168.40.5/24 brd 192.168.40.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::4e1d:96ff:fe2d:e943/64 scope link 
       valid_lft forever preferred_lft forever
3: arc_ns0@if2: <BROADCAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 36:61:88:f3:94:c5 brd ff:ff:ff:ff:ff:ff link-netns connected_netns_0
    inet 100.115.92.129/30 brd 100.115.92.131 scope global arc_ns0
       valid_lft forever preferred_lft forever
    inet6 fe80::c8ce:c4ff:fe5d:cc9e/64 scope link 
       valid_lft forever preferred_lft forever
4: arc_ns1@if2: <BROADCAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 76:d7:f2:32:d6:5d brd ff:ff:ff:ff:ff:ff link-netns connected_netns_1
    inet 100.115.92.133/30 brd 100.115.92.135 scope global arc_ns1
       valid_lft forever preferred_lft forever
    inet6 fe80::d085:74ff:fec5:3bd1/64 scope link 
       valid_lft forever preferred_lft forever
5: vmtap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master arcbr0 state UP group default qlen 1000
    link/ether 42:37:05:13:17:01 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::4037:5ff:fe13:1701/64 scope link 
       valid_lft forever preferred_lft forever
6: vmtap1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 42:37:05:13:17:02 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::4037:5ff:fe13:1702/64 scope link 
       valid_lft forever preferred_lft forever
7: vmtap2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 42:37:05:13:17:03 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::4037:5ff:fe13:1703/64 scope link 
       valid_lft forever preferred_lft forever
8: vmtap3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master arc_wlan0 state UP group default qlen 1000
    link/ether 42:37:05:13:17:04 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::4037:5ff:fe13:1704/64 scope link 
       valid_lft forever preferred_lft forever
9: vmtap4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 42:37:05:13:17:05 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::4037:5ff:fe13:1705/64 scope link 
       valid_lft forever preferred_lft forever
10: vmtap5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 42:37:05:13:17:06 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::4037:5ff:fe13:1706/64 scope link 
       valid_lft forever preferred_lft forever
11: arcbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 42:37:05:13:17:01 brd ff:ff:ff:ff:ff:ff
    inet 100.115.92.1/30 brd 100.115.92.3 scope global arcbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::fc5f:f0ff:fe5e:11e9/64 scope link 
       valid_lft forever preferred_lft forever
12: arc_wlan0: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 42:37:05:13:17:04 brd ff:ff:ff:ff:ff:ff
    inet 100.115.92.13/30 brd 100.115.92.15 scope global arc_wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::40a8:cff:fec2:cc31/64 scope link 
       valid_lft forever preferred_lft forever
13: arc_ns2@if2: <BROADCAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether d6:62:6a:fa:86:39 brd ff:ff:ff:ff:ff:ff link-netns connected_netns_2
    inet 100.115.92.137/30 brd 100.115.92.139 scope global arc_ns2
       valid_lft forever preferred_lft forever
    inet6 fe80::9ca6:69ff:fef0:833c/64 scope link 
       valid_lft forever preferred_lft forever
14: vmtap6: <BROADCAST,MULTICAST,ALLMULTI,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether e2:46:6c:e5:19:e4 brd ff:ff:ff:ff:ff:ff
    inet 100.115.92.25/30 brd 100.115.92.27 scope global vmtap6
       valid_lft forever preferred_lft forever
    inet6 fe80::e046:6cff:fee5:19e4/64 scope link 
       valid_lft forever preferred_lft forever

Chrome Flags

chrome://network

chrome://network/ > Network Health (MAC Address)