106 lines
4.8 KiB
Plaintext
106 lines
4.8 KiB
Plaintext
Zad 1.
|
|
1.
|
|
ip link
|
|
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: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
|
|
link/ether 80:c5:f2:4a:89:1f brd ff:ff:ff:ff:ff:ff
|
|
|
|
nazwa adres MAC
|
|
ether 80:c5:f2:4a:89:1f
|
|
loopback 00:00:00:00:00:00 <-- niezdefiniowany
|
|
|
|
2.
|
|
ip address
|
|
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: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
|
|
link/ether 80:c5:f2:4a:89:1f brd ff:ff:ff:ff:ff:ff
|
|
inet 192.168.0.167/24 brd 192.168.0.255 scope global dynamic noprefixroute wlp1s0
|
|
valid_lft 5997sec preferred_lft 5997sec
|
|
inet6 fe80::3830:74ab:a7a8:b2c8/64 scope link noprefixroute
|
|
valid_lft forever preferred_lft forever
|
|
|
|
adres IPv4 mojego komputera: 192.168.0.167
|
|
adres Ipv4 widoczny w sieci: 91.239.154.28
|
|
Adresy są różne, ponieważ adresy IP dzielą się na publiczne i prywatne.
|
|
Mój jest prywatny, więc adres widoczny w sieci różni się od
|
|
faktycznego adresu IP mojego komputera.
|
|
Gdybym miał publiczny, adres widoczny w sieci były taki sam jak mojego komputera
|
|
|
|
Zad 2.
|
|
ping google.com
|
|
PING google.com (216.58.209.14) 56(84) bytes of data.
|
|
64 bytes from sof01s12-in-f14.1e100.net (216.58.209.14): icmp_seq=1 ttl=115 time=10.4 ms
|
|
64 bytes from sof01s12-in-f14.1e100.net (216.58.209.14): icmp_seq=2 ttl=115 time=18.3 ms
|
|
64 bytes from sof01s12-in-f14.1e100.net (216.58.209.14): icmp_seq=3 ttl=115 time=17.7 ms
|
|
64 bytes from sof01s12-in-f14.1e100.net (216.58.209.14): icmp_seq=4 ttl=115 time=17.3 ms
|
|
.
|
|
.
|
|
.
|
|
|
|
ping amu.edu.pl
|
|
PING amu.edu.pl (150.254.65.170) 56(84) bytes of data.
|
|
64 bytes from 150.254.65.170 (150.254.65.170): icmp_seq=1 ttl=57 time=16.2 ms
|
|
64 bytes from 150.254.65.170 (150.254.65.170): icmp_seq=2 ttl=57 time=22.4 ms
|
|
64 bytes from 150.254.65.170 (150.254.65.170): icmp_seq=3 ttl=57 time=20.0 ms
|
|
.
|
|
.
|
|
.
|
|
|
|
ping wmi.amu.edu.pl
|
|
PING wmi.amu.edu.pl (150.254.65.170) 56(84) bytes of data.
|
|
64 bytes from 150.254.65.170 (150.254.65.170): icmp_seq=1 ttl=57 time=13.2 ms
|
|
64 bytes from 150.254.65.170 (150.254.65.170): icmp_seq=2 ttl=57 time=22.7 ms
|
|
64 bytes from 150.254.65.170 (150.254.65.170): icmp_seq=3 ttl=57 time=22.8 ms
|
|
|
|
|
|
Adres IP:
|
|
google.com 216.58.209.14
|
|
amu.edu.pl 150.254.65.170
|
|
wmi.amu.edu.pl 150.254.65.170
|
|
|
|
|
|
Zad.3 //zrobione już na windowsie
|
|
PS C:\Users\mharc> tracert nyu.edu
|
|
|
|
Tracing route to nyu.edu [216.165.47.10]
|
|
over a maximum of 30 hops:
|
|
|
|
1 2 ms 8 ms 2 ms 192.168.0.1
|
|
2 6 ms 6 ms 5 ms 10.130.7.1
|
|
3 6 ms 6 ms 6 ms wpc1.bialnet.pl [91.239.154.1]
|
|
4 6 ms 9 ms 6 ms 213.172.176.165
|
|
5 13 ms 12 ms 12 ms 213.172.188.126
|
|
6 17 ms 19 ms 17 ms 212.162.43.101
|
|
7 * * * Request timed out.
|
|
8 103 ms 102 ms 102 ms NEW-YORK-UN.ear3.NewYork1.Level3.net [4.28.130.118]
|
|
9 104 ms 104 ms 102 ms dmzgwa-p2p-extgwc.net.nyu.edu [128.122.254.73]
|
|
10 103 ms 103 ms 105 ms nyugwa-ptp-dmzgwa-vl3081.net.nyu.edu [128.122.254.108]
|
|
11 123 ms 121 ms 126 ms nyufw-outside-ngfw-vl3080.net.nyu.edu [128.122.254.116]
|
|
12 * * * Request timed out.
|
|
13 104 ms 103 ms 104 ms wsqdcgwa-vl901.net.nyu.edu [128.122.1.6]
|
|
14 * * * Request timed out.
|
|
15 * * * Request timed out.
|
|
16 * * * Request timed out.
|
|
17 * * * Request timed out.
|
|
18 * * * Request timed out.
|
|
19 * * * Request timed out.
|
|
20 * * * Request timed out.
|
|
21 * * * Request timed out.
|
|
22 * * * Request timed out.
|
|
23 * * * Request timed out.
|
|
24 * * * Request timed out.
|
|
25 * * * Request timed out.
|
|
26 * * * Request timed out.
|
|
27 * * * Request timed out.
|
|
28 * * * Request timed out.
|
|
29 * * * Request timed out.
|
|
30 * * * Request timed out.
|
|
|
|
Trace complete.
|