Cursul #04
Rețelistică și Internet
1
Give a person a fish and you feed them for a day; teach that
person to use the Internet and they won’t bother you for weeks.
You know it’s love when you memorize her IP number to skip DNS overhead.
2
Suport de curs
3
Transformarea Internetului
4
https://www.tes.com/lessons/U2BXrfcbvDDNmg/copy-of-the-history-of-the-internet
IoT
5
https://www.semiwiki.com/forum/content/5559-quick-history-internet-things.html
Ce este o rețea?
6
Comunicare între dispozitive
7
Protocol de rețea
8
Rețea locală
9
Adresa MAC
00:00:0c:ab:cd:c1
10
ID-ul producătorului
Numărul serial al plăcii
11
Comunicare între rețele
12
Protocolul IP
13
Adresa IPv4
14
Masca de rețea
15
Adresa de rețea și de broadcast
16
Exemplu:
11000000 10101000 01100100 11001000 – 192.168.100.200
11111111 11111111 11111111 00000000 – 255.255.255.0
______________________________________________________
11000000 10101000 01100100 00000000 – 192.168.100.0
11000000 10101000 01100100 11001000 – 192.168.100.200
00000000 00000000 00000000 11111111 – 0.0.0.255
______________________________________________________
11000000 10101000 01100100 11111111 – 192.168.100.255
17
Configurarea interfețelor
18
Port vs interfață
19
Configurare adresă IP
20
Configurare temporară
se identifică informații despre interfețele active)
21
ubuntu:/home/razvan# ip address add 10.1.1.3/24 dev eth0
ubuntu:/home/razvan# ip address show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:d4:9e:81:ed:40 brd ff:ff:ff:ff:ff:ff
inet 10.1.1.3/24 brd 10.1.1.255 scope global dynamic noprefixroute eth0
Configurare permanentă
22
iface eth0 inet static
address 10.1.1.2
netmask 255.255.255.0
network 10.1.1.0
broadcast 10.1.1.255
gateway 10.1.1.1
dns-nameservers 10.1.1.1
Gateway
23
Tabela de rutare
�
24
student@uso:~$ ip route show
default via 10.9.0.1 dev eth0 proto dhcp src 10.9.4.66 metric 100
DHCP
25
Serviciul DNS
26
Configurare DNS
27
search localdomain
nameserver 10.1.1.1
nameserver 217.115.138.24
nameserver 128.107.241.185
28
Aliasuri
29
ubuntu:/home/razvan# cat /etc/hosts
127.0.0.1 localhost ubuntu
127.0.1.1 ubuntu
#Servers
10.1.1.100 print.mydomain.ro my-print-server
10.1.1.101 ftp.mydomainro my-ftp-server
192.168.1.150 mail-server
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts�
Verificarea conectivității
PING
30
Traceroute
Probleme uzuale
31
Abordare bottom-up
32
Protocoale de comunicare
33
Modelul client – server
34
Modelul peer-to-peer
35
Servicii Internet
36
Serviciul de e-mail
37
Client local de e-mail
38
Transferul fișierelor
39
Serviciul World Wide Web
40
Concepte www
41
Servere și clienți web
42
WGET și CURL
43
razvan@einherjar:~$ wget http://elf.cs.pub.ro/uso/curs-09-handout.pdf
[...]
2014-11-15 16:15:17 (8.59 MB/s) - ‘curs-09-handout.pdf’ saved [2064143/2064143]
SSH
44
Atacuri cibernetice
45
https://phys.org/news/2018-03-spain-captures-alleged-mastermind-12b.html
Computer Networks
46
Jon Postel
47
Cisco
48
OpenFlow
49
Cuvinte cheie
50