149 lines
4.7 KiB
Plaintext
149 lines
4.7 KiB
Plaintext
I/
|
|
|
|
1)
|
|
|
|
ip a / ip address show
|
|
=
|
|
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 noprefixroute
|
|
valid_lft forever preferred_lft forever
|
|
|
|
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
|
|
link/ether e4:54:e8:a1:a5:93 brd ff:ff:ff:ff:ff:ff
|
|
altname enp0s31f6
|
|
inet 172.16.2.99/16 brd 172.16.255.255 scope global eno1
|
|
valid_lft forever preferred_lft forever
|
|
inet6 2a01:729:b9:0:e654:e8ff:fea1:a593/64 scope global dynamic mngtmpaddr proto kernel_ra
|
|
valid_lft 2591993sec preferred_lft 604793sec
|
|
inet6 fe80::e654:e8ff:fea1:a593/64 scope link proto kernel_ll
|
|
valid_lft forever preferred_lft forever
|
|
|
|
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
|
|
link/ether 02:42:ac:e9:68:cc brd ff:ff:ff:ff:ff:ff
|
|
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
|
|
valid_lft forever preferred_lft forever
|
|
|
|
2)
|
|
|
|
ip address show dev lo
|
|
=
|
|
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 noprefixroute
|
|
valid_lft forever preferred_lft forever
|
|
|
|
3)
|
|
|
|
ip link show / ip l
|
|
=
|
|
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
|
|
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
|
|
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
|
|
link/ether e4:54:e8:a1:a5:93 brd ff:ff:ff:ff:ff:ff
|
|
altname enp0s31f6
|
|
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
|
|
link/ether 02:42:ac:e9:68:cc brd ff:ff:ff:ff:ff:ff
|
|
|
|
4)
|
|
|
|
ip link show dev eno1
|
|
=
|
|
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
|
|
link/ether e4:54:e8:a1:a5:93 brd ff:ff:ff:ff:ff:ff
|
|
altname enp0s31f6
|
|
|
|
5)
|
|
|
|
ip neighbour / ip n
|
|
=
|
|
172.16.1.21 dev eno1 lladdr 34:17:eb:96:a4:01 REACHABLE
|
|
172.16.1.33 dev eno1 lladdr 22:7b:ef:f5:e1:02 STALE
|
|
172.16.1.160 dev eno1 lladdr 42:59:8a:98:c7:80 STALE
|
|
172.16.1.30 dev eno1 lladdr 02:c8:f1:68:1f:60 REACHABLE
|
|
172.16.1.41 dev eno1 lladdr ba:18:ba:9f:6e:7c STALE
|
|
172.16.1.158 dev eno1 lladdr 86:2d:ae:82:dc:cf STALE
|
|
172.16.1.254 dev eno1 lladdr 52:54:00:e7:b9:0f STALE
|
|
2a01:729:b9:0:4059:8aff:fe98:c780 dev eno1 lladdr 42:59:8a:98:c7:80 STALE
|
|
fe80::4059:8aff:fe98:c780 dev eno1 lladdr 42:59:8a:98:c7:80 STALE
|
|
fe80::223:5eff:fe35:fee1 dev eno1 lladdr 00:23:5e:35:fe:e1 router STALE
|
|
2a01:729:b9:0:842d:aeff:fe82:dccf dev eno1 lladdr 86:2d:ae:82:dc:cf STALE
|
|
fe80::842d:aeff:fe82:dccf dev eno1 lladdr 86:2d:ae:82:dc:cf STALE
|
|
|
|
6)
|
|
|
|
ip -r neighbour
|
|
=
|
|
yavanna.arda.lan dev eno1 lladdr 34:17:eb:96:a4:01 STALE
|
|
172.16.1.33 dev eno1 lladdr 22:7b:ef:f5:e1:02 STALE
|
|
172.16.1.160 dev eno1 lladdr 42:59:8a:98:c7:80 STALE
|
|
iluvatar.arda.lan dev eno1 lladdr 02:c8:f1:68:1f:60 REACHABLE
|
|
172.16.1.41 dev eno1 lladdr ba:18:ba:9f:6e:7c STALE
|
|
eru.arda.lan dev eno1 lladdr 86:2d:ae:82:dc:cf STALE
|
|
_gateway dev eno1 lladdr 52:54:00:e7:b9:0f STALE
|
|
2a01:729:b9:0:4059:8aff:fe98:c780 dev eno1 lladdr 42:59:8a:98:c7:80 STALE
|
|
fe80::4059:8aff:fe98:c780 dev eno1 lladdr 42:59:8a:98:c7:80 STALE
|
|
_gateway dev eno1 lladdr 00:23:5e:35:fe:e1 router STALE
|
|
2a01:729:b9:0:842d:aeff:fe82:dccf dev eno1 lladdr 86:2d:ae:82:dc:cf STALE
|
|
fe80::842d:aeff:fe82:dccf dev eno1 lladdr 86:2d:ae:82:dc:cf STALE
|
|
|
|
7)
|
|
|
|
ip route / ip r
|
|
=
|
|
default via 172.16.1.254 dev eno1
|
|
172.16.0.0/16 dev eno1 proto kernel scope link src 172.16.2.99
|
|
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
|
|
|
|
II/
|
|
|
|
1)
|
|
|
|
tshark -f "host 172.16.2.96 and not arp"
|
|
ping -c 1 172.16.2.96
|
|
|
|
ping -c 1 172.163.3.232
|
|
PING 172.163.3.232 (172.163.3.232) 56(84) bytes of data.
|
|
|
|
--- 172.163.3.232 ping statistics ---
|
|
1 packets transmitted, 0 received, 100% packet loss, time 0ms
|
|
|
|
2)
|
|
|
|
tshark -nl -i eno1 arp or icmp and host 172.16.2.99 and host 172.16.2.98|tee capture1.txt
|
|
tcpdump -nlte -i eno1 icmp and host 172.16.2.99 and host 172.16.2.98|tee capture2.txt
|
|
ping -c 1 -s 9216 172.16.2.98
|
|
|
|
3)
|
|
|
|
tcpdump -nlte -i eno1 arp (or icmp) and host 172.16.2.99 and host 172.16.2.98|tee capture1.txt
|
|
|
|
4)
|
|
|
|
ping -c 10 172.16.2.98
|
|
|
|
tcpdump -nlte -i lo icmp and host 127.0.0.1 |tee capture.txt
|
|
ping -c 1 -s 9216 127.0.0.1
|
|
|
|
5)
|
|
|
|
|
|
|
|
6)
|
|
|
|
|
|
|
|
III/
|
|
|
|
1)
|
|
|
|
|
|
|
|
2)
|
|
|
|
|