TCPIP

Aus robopagex.com
Zur Navigation springen Zur Suche springen

1. ISO/OSI Modell

7. Application Layer (HTTP,FTP,SMTP)
6. Presentation Layer (Codierung, Verschlüsselung)
5. Session Layer (Sitzung zwischen Host: NFS, NetBIOS)
4. Transport Layer (TCP,UDP)
3. Network Layer (IP,ICMP,Routing)
2. Data Link Layer (Switches, Ethernet, MAC)
1. Physical Layer (Kabel, Stecker, Spannung)

2. IP

Läuft auf Layer 3 IP-Header (Verwaltungsinformationen)

3. IP Adressen

4 Byte = 4*Bit = 32Bit

4. RFC 791

Netzklassen High-Order-Bits Decimal Subnetmask A 0 1-127 255.0.0.0 B 10 128-191 255.255.0.0 C 110 192-223 255.255.255.0 D 1110 224-239 Multicast E 1111 240-255 Experimentell

 Internet Header Format
 A summary of the contents of the internet header follows:
   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |Version|  IHL  |Type of Service|          Total Length         |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |         Identification        |Flags|      Fragment Offset    |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |  Time to Live |    Protocol   |         Header Checksum       |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                       Source Address                          |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                    Destination Address                        |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                    Options                    |    Padding    |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  CHECK => Time to Live


5. Netz- & Broadcast-Adressen

255 -> Netz 0 -> Host Letzte Adresse ist der Broadcast 192.168.179.255 ===

6. ARP Request

Knoten eines Subnetz kommunizieren über Hardware-Adresse ARP -> wer hat welche IP, gib mir deine MAC Broadcast = Rundruf an alle Ethernet:IP:PAYLOAD

7. Routing / Router

IP1 => GW ==> ROUTER <== GW <= IP2
SRC-IP=IP1 == DST-IP=IP2

8. Private Adressen

10.0.0.0    - 10.255.255.255
172.16.0.0  - 172.31.255.255
192.168.0.0 - 192.168.255.255

9. Besondere Adressen

- Netz-Adresse
- Broadcast-Adresse
- Loop-Adresse
- unspezifische-Adresse (0.0.0.0)
- Multicast-Adressen(224.0.0.0 - 239.255.255.255)
- Automatische Adresszuweisung(169.254.0.0)

10.