Presentasjon lastes. Vennligst vent

Presentasjon lastes. Vennligst vent

IP-Nett *Nettverk *Datapakker *MAC Adresser *Modeller.

Liknende presentasjoner


Presentasjon om: "IP-Nett *Nettverk *Datapakker *MAC Adresser *Modeller."— Utskrift av presentasjonen:

1 IP-Nett *Nettverk *Datapakker *MAC Adresser *Modeller

2

3

4

5

6

7

8 INNEN PAKKESVITSJING HAR VI ULIKE BÅNDBREDDEBEHOV:
Multicast (UDP) krever liten båndbredde. Flerstrøms Unicast (TCP) krever stor båndbredde.

9 DATAKOMMUNIKASJON *Nettverk *Datapakker *MAC Adresser *Modeller

10 Ethernet Ramme NORSK

11 Ethernet Frame ETHERTYPE: 0x0800 = IPv4, 0x0806 = ARP, 0x8100 = VLAN, 0x86DD = IPv6 1. OPPDAGER FEIL I PAKKA 2. TCP-GJENOPPRETTER VED Å SENDE PÅ NYTT 2. UDP-FORKASTER PAKKA

12 DATAKOMMUNIKASJON *Nettverk *Datapakker *MAC Adresser *Modeller

13 MAC 00:17:4F:08:5D:69

14 MAC address = 48 Bits A media access control address (MAC address) is a unique identifier assigned to network interfaces for communications on the physical network segment. MAC addresses are used as a network address in Ethernet.

15 MAC address

16 DATAKOMMUNIKASJON *Nettverk *Datapakker *MAC Adresser *Modeller

17

18

19 IP MAC

20 BROADCAST (IPv4) EN TIL ALLE PÅ EN GANG (ARP)

21 UNICAST (IPv4 – IPV6) EN TIL EN AV ALLE (HTTP, FTP…)

22 MULTICAST (IPv4 – IPV6) EN TIL FLERE PÅ EN GANG AV ALLE
Netflix NRK VoD TV2 Sumo UNICAST = - Pause - Seek

23 ANYCAST (IPv6) EN I GANGEN TIL NOEN AV ALLE

24 GEOCAST MOBIL AD-HOC NETT EN TIL ALLE I REGIONEN

25 IP v. 4

26 What is IPv4 -- Internet Protocol Version 4
IPv4 (Internet Protocol Version 4) is the fourth revision of the Internet Protocol (IP) used to to identify devices on a network through an of packet-switched computer communication networks (see RFC:791). IPv4 uses a 32-bit address scheme allowing for a total of 2^32 addresses (just over 4 billion addresses).  With the growth of the Internet it is expected that the number of unused IPv4 addresses will eventually run out because every device -- including computers, smartphones and game consoles -- that connects to the Internet requires an address.

27 IPv4 - KLASSER

28 CIDR (Classless Inter-Domain Routing /XX)
IP (Internet Protocol): / 24 /24 Angir antall biter til Nett som her er 8x3=24 eller PORTER IP (Internet Protocol): :80 ELLER ‘ DER :80 angir PORTEN

29 TCP (Transfer Contol Protocol). Denne er sikker da den har flytkontroll. Dette gjør den imidlertid litt tregere enn UDP. UDP (User Datagram Protocol). Denne er mer usikker enn TCP da den ikke har flytkontroll. Den er derimot raskere og brukes derfor til ukritisk trafikk som skal gå raskt, slik som streaming. Både TCP og UDP ligger på Lag 4 i OSI og kan bruke porter fra 0 til Konflikt unngås ved at tjenestene skal bruke riktige porter som er definert av IANA (Internet Assigned Numbers Authority). HVA ER EN PORT ? NB !! Tenk på serienummeret på din Satellit-tuner som IP-adressen og kanalene du tar imot som Portnummer.

30 IPv4 - KLASSE A 8*1=8 biter Nett HOST CIDR Klasse A 126 168 10 5 /8
Mask 255 8 8*1=8 biter

31 IPv4 - KLASSE B 8*2=16 Nett HOST CIDR Klasse B 128 168 10 5 /16 Mask
255 8 8*2=16

32 IPv4 - KLASSE C 8*3=24 Nett HOST CIDR Klasse C 192 168 10 5 /24 Mask
255 8 8*3=24

33 IPv4 – Subnett (oppdeling av maska)
Nett/Host CIDR 192 168 10 5 /29 Mask 255 248 8 8*3+5=29 248 = 32 SUBNETT

34 På grunn av Nett ID og Broadcast ID kan kun 6 av 8 adresser brukes til Host

35 Lastes ned her: Elnikk.com/ip.zip

36 Kan disse to maskinene kommunisere med hverandre på Datalink-laget
Kan disse to maskinene kommunisere med hverandre på Datalink-laget ? A: /29 B: /29

37 IPv4 – Subnett (oppdeling av maska)
Nett/Host CIDR 192 168 10 5 /29 Mask 255 248 8 8*3+5=29

38

39 IPv4 – Supernetting = utviding av maska
Nett/Host HOST CIDR 192 168 10 5 /23 Mask 255 254 8 7 8*2+7=23

40

41 Lastes ned her: Elnikk.com/ip.zip

42 Lag 2 Svitsj

43 ARP- Svitsj IPv4 (Unicast)
Host 3 Svitsj 1 Host 1 F 0/1 F 0/3 F 0/2 Host 2 H1 ARP TABELL IP MAC CC00.7C S1 MAC TABELL MAC PORT H2 ARP TABELL IP MAC CC00.7C OSI MODELLEN LAG 7 – APPLIKASJONS LAG LAG 6 – PRESENTASJONS LAG LAG 5 – SESJONS LAG LAG 4 – TRANSPORT LAG LAG 3 – NETTVERKS LAG LAG 2 – DATALINK LAG LAG 1 – FYSISK LAG

44 ARP- Svitsj IPv4 (Unicast)
VET IKKE H2’s MAC BRUKER ARP REQUEST FOR Å FINNE UT. (FF:FF:FF:FF:FF:FF) Host 3 Svitsj 1 Host 1 F 0/1 F 0/3 F 0/2 Host 2 H1 ARP TABELL IP MAC CC00.7C S1 MAC TABELL MAC PORT H2 ARP TABELL IP MAC CC00.7C H1 ØNSKER Å PINGE H2 MEN ARP- TABELLEN MANGLER MAC- ADRESSA TIL H2. Vi setter Broadcast med MAC på Etherframe’n FF:FF:FF:FF:FF:FF = FLOODING. OSI MODELLEN LAG 7 – APPLIKASJONS LAG LAG 6 – PRESENTASJONS LAG LAG 5 – SESJONS LAG LAG 4 – TRANSPORT LAG LAG 3 – NETTVERKS LAG LAG 2 – DATALINK LAG LAG 1 – FYSISK LAG

45 ARP- Svitsj IPv4 (Unicast)
Host 3 Svitsj 1 Host 1 F 0/1 F 0/3 F 0/2 Host 2 H1 ARP TABELL IP MAC CC00.7C S1 MAC TABELL MAC PORT CC00.7C F 0/1 H2 ARP TABELL IP MAC CC00.7C OSI MODELLEN LAG 7 – APPLIKASJONS LAG LAG 6 – PRESENTASJONS LAG LAG 5 – SESJONS LAG LAG 4 – TRANSPORT LAG LAG 3 – NETTVERKS LAG LAG 2 – DATALINK LAG LAG 1 – FYSISK LAG CC00.7C H3 ARP TABELL IP MAC CC00.7C CC00.7C

46 ARP- Svitsj IPv4 (Unicast)
Host 3 Svitsj 1 Host 1 F 0/1 F 0/3 F 0/2 Host 2 H1 ARP TABELL IP MAC CC00.7C S1 MAC TABELL MAC PORT CC00.7C F 0/1 H2 ARP TABELL IP MAC CC00.7C CC00.7C F 0/2 OSI MODELLEN LAG 7 – APPLIKASJONS LAG LAG 6 – PRESENTASJONS LAG LAG 5 – SESJONS LAG LAG 4 – TRANSPORT LAG LAG 3 – NETTVERKS LAG LAG 2 – DATALINK LAG LAG 1 – FYSISK LAG CC00.7C

47 ARP- Svitsj IPv4 (Unicast)
Host 3 Svitsj 1 Host 1 F 0/1 F 0/3 F 0/2 Host 2 H1 ARP TABELL IP MAC CC00.7C S1 MAC TABELL MAC PORT F 0/1 CC00.7C CC00.7C H2 ARP TABELL IP MAC CC00.7C CC00.7C F 0/2 OSI MODELLEN LAG 7 – APPLIKASJONS LAG LAG 6 – PRESENTASJONS LAG LAG 5 – SESJONS LAG LAG 4 – TRANSPORT LAG LAG 3 – NETTVERKS LAG LAG 2 – DATALINK LAG LAG 1 – FYSISK LAG CC00.7C NÅ ER ALLE TABELLER OPPDATERT OG H1 KAN PINGE H2. SVITSJEN FORWARDER NÅ BARE PAKKEN FRA F 0/1 TIL F 0/2 DIREKTE

48 FILMER OM ARP (Address Resolution Protocol)
ARP HUB ARP 1-Switch, 3-Hosts ARP 3-Switches, 4-Hosts ARP Router

49 IP v. 6

50 What is IPv6 -- Internet Protocol Version 6
IPv6 (Internet Protocol Version 6) is also called IPng (Internet Protocol next generation) and it is the newest version of the Internet Protocol (IP) reviewed in the IETF standards committees to replace the current version of IPv4 (Internet Protocol Version 4). IPv6 is the successor to Internet Protocol Version 4 (IPv4). It was designed as an evolutionary upgrade to the Internet Protocol and will, in fact, coexist with the older IPv4 for some time. IPv6 was born out of concern that the demand for IP addresses would exceed the available supply.

51 The Difference Between IPv6 and IPv4 IP Addresses
An IP address is binary numbers but can be stored as text for human readers.  For example, a 32-bit numeric address (IPv4) is written in decimal as four numbers separated by periods. Each number can be zero to 255. For example, could be an IP address. IPv6 addresses are 128-bit IP address written in hexadecimal and separated by colons. An example IPv6 address could be written like this: 3ffe:1900:4545:3:200:f8ff:fe21:67cf

52 Hvorfor IPv6 ?...Tomt for IPv4 adresser
While increasing the pool of addresses is one of the most often-talked about benefit of IPv6, there are other important technological changes in IPv6 that will improve the IP protocol: - No more NAT (Network Address Translation) - Auto-configuration - No more private address collisions - Better multicast routing - Simpler header format - Simplified, more efficient routing - True quality of service (QoS), also called "flow labeling" - Built-in authentication and privacy support - Flexible options and extensions - Easier administration

53 The main advantage of IPv6 over IPv4 is its larger address space
The main advantage of IPv6 over IPv4 is its larger address space. The length of an IPv6 address is 128 bits, compared with 32 bits in IPv4. The address space therefore has or approximately 3.4×1038 addresses. By comparison, this amounts to approximately 4.8×1028 addresses for each of the seven billion people alive in 2011 or one million pr m^2 on earth.

54 Menesker på jorden= (2015) IPv4: 2^32 = = 0,6 pr stk Vi gikk tom for disse adressene i midten av MAC: 2^48 = 2,81*10^14 = pr stk : : : : : The EUI-48 is expected to have its address space exhausted by the year IPv6: 2^128 = 3,4*10^38 = 4,86*10^28 pr stk : : : : : : : Eller 1 mill. pr. kvm på jorda. Vi går aldri tomt for disse adressene. ___________________________________

55 Standard for SLAAC /64 VHA EUI-64
IPv6 Standard for SLAAC /64 VHA EUI-64

56 IPv6 8 Words * 16 Bits pr word = 128 bits address

57 IPv6 -SUBNET

58 Link Local Address (LLA) Kun for Datalink Laget (lag2) og er ikke Rutbar
All IPv6 Link-local Addresses (LLA) share the same network identifier fe80::/10 Tilordnes automatisk ved tilkobling til en Svitsj med andre Noder

59 SPESIELLE ADRESSER KAN SETTES MANUELT (for LAB / LAG2 komm.)
IPv6 MÅ ha LLA på alle NIC for å kjøre NDP, men LLA er ikke Rutbar. I tillegg kan man ha flere andre IPv6 adresser på samme NIC (Rutbare) Unique Local Addresses fc00::/7 or fd00::/7 Link Local Address fe80::/64 Site-local addresses fec0::/48 Loopback address is ::1 Broadcast Address = Not applicable in IPv6 IPv6 multicast addresses ff00::/8 Internet address classes = Not applicable in IPv6 Unspecified address is :: Global 2000::/3 KAN SETTES MANUELT (for LAB / LAG2 komm.) SMÅ MILJØ KAN BRUKE SLAAC I STØRRE MILJØ BRUKES DHCPv6 VIA ROUTER / SERVER

60 Abbreviations For convenience, an IPv6 address may be abbreviated to shorter notations by application of the following rules, where possible.

61 RULE 1 One or more leading zeroes from any groups of hexadecimal digits are removed; this is usually done to either all or none of the leading zeroes. For example, the group 0042 is converted to 42.

62 RULE 2 Consecutive sections of zeroes are replaced with a double
colon (::). The double colon may only be used once in an address.

63 An example of application of these rules:
Initial address: 2001:0db8:0000:0000:0000:ff00:0042:8329 After removing all leading zeroes: 2001:db8:0:0:0:ff00:42:8329 After omitting consecutive sections of zeroes: 2001:db8::ff00:42:8329

64 Network ID for LLA Interface ID (NIC) Zone ID Port nr. [Fe80::4d3d:3426:46e6:1457%1]:5004 [Fe80:: 4432:34d6:e6e6:b122%2]:5004 %1 and %2 indicate that the preceding networks are connected to the zone IDs 1 and 2 respectively.

65 PING AN IPv6 LLA-ADDRESS An important fact to remember is that zone IDs are relative to the sending host. For instance, if you want to ping another computer's LLA you have to specify your computer's network adapter zone ID at the end of the target computer IP address.

66 PING AN IPv6 LLA-ADDRESS
For example, in the command ; PING fe80::4d3d:3426:46e6:1457%2 the address is of the computer you want to PING while the zone ID (%2) corresponds to the network interface of YOUR computer.

67 BRUK IPCONFIG FOR Å FINNE IPV6 LLA-ADRESSE OG ZONE ID.

68 PINGING MED RIKTIG OG GAL ZONE-ID

69 Ping IPv6 using DNS host name
Open command prompt and type the following command; ping -6 {host.name} ping -6 ipv6.google.com

70

71 NDP and ICMPv6

72 IPv6 Autokonfigurasjon (LLA) Bruker Neighbor Discovery Protocol (=ARP i IPv4) Gjelder kun HOST’s, ikke Routere

73 Typer Autokonfigurasjon

74 Autokonfigurasjonsprosessen

75 Teredo tunneling A transition technologythat gives full IPv6 connectivity for IPv6-capable hosts which are on theIPv4 Internet but which have no direct native connection to an IPv6 network. Teredo is designed as a last resort transition technology and is intended to be a temporary measure: in the long term, all IPv6 hosts should use native IPv6 connectivity. Teredo should therefore be disabled when native IPv6 connectivity becomes available

76 IP SCANNEREN SOFT PERFECT
WINDOWS(10) FIL-UTFORSKER

77 VLAN generell

78

79

80

81

82 PraksisOppgave - IPv6

83

84

85

86

87

88

89 VLC KLIENT VLC SERVER


Laste ned ppt "IP-Nett *Nettverk *Datapakker *MAC Adresser *Modeller."

Liknende presentasjoner


Annonser fra Google