IPv6 - Adressierung

In dieser Einheit geht es um die Adressierung bei IPv6. Sehen Sie sich das Video unter https://www.youtube.com/watch?v=RkhK-JliNUY an und lösen Sie folgende Aufgaben:


  • Erstellen Sie eine übersichtliche Dokumentation in Ihrem Blog.
  • Was bedeutet dotted decimal notation bei IPv4?  
  • Wieviele Hexziffern braucht man für die Darstellung einer 128 bit IPv6-Adresse?
  • Warum kann man nicht zweimal :: in einer IPv6-Adresse haben?
  • Was passiert mit in den 16 bit langen Hexzahlen?
  • Wie wird bei Cisco-Routern eine IPv6-Adresse bei einem Interface konfiguriert?
  • Was sind Anycast-Adressen bei IPv6?
  • Was sind die Aufgabe von Link-Local-Addreses?
  • Wie funktioniert Stateless Autoconfiguration?


  1. Unterteilung der IPv4-Adresse in 8 bit. Nach jedem 8. bit steht ein Punkt.
  2. 8*4 Ziffern
  3.  
  4. Sie werden durch Doppelpunkte voneinander getrennt.
  5. Zuerst muss man IPv6 enablen und dann wie gehabt gleich wie bei IPv4 vorgehen.
  6. Es werden alle direkt an das Netzwerk angeschlossenen Geräte kontaktiert.
  7. Sind von einem Router automatisch zugewiesene Adressen die zur Netzwerkinternen komunikation genützt ohne Globale Adressen zu verwenden.
  8. Internetverbindung ohne DHCP.

ARP (Address Resolution Protocol

Aufgabenstellung: Sehen Sie sich das Video unter https://www.youtube.com/watch?v=hx9ZZivtzEE&spfreload=10 an. Führen Sie alle vorgeführten Schritte selbst auf Ihrem Rechner aus und dokumentieren Sie alle wesentlichen Schritte (wenn möglich mit Screenshots) auf Ihrem Blog.

IP addresses help us to reach/find networks 
To deliver actual frames on a local network, we need the MAC-addresses.
To solve this problem we have the ARP because it gets the MAC-address from the IP-address where we delivered it.



arp -?:

arp -a:
then we used the programm "Wireshark"..
it shows us the different Protocols and other things that happen in a network.

IPv6 Neighbor Discovery an Wireshark

Important terms in Wireshark:

  • SMB2
Server Message Block, Lan-Mannager, NetBIOS-Protocol
It is an application-layer network protocol used for providing shared access to files, printers, serial ports, and miscellaneous communications between nodes on a network.
  • Neighbor Discovery Protocol
Is used instead of the adress resolution protocol from IPv4.

- Router advertisment
- Neighbor advertisment
- Router solisitation message
-  

IPv6

First watch this video to know what i am talking about.
Differences about IPv4 and IPv6:
IPv4:
192.168.201.113 is a tipical IPv4 address.
A IPv4 address has 32 bits and consists of dots and decimal numbers. There are only 4 billion address possible.
IPv6:
A524:72D3:2C80:DD02:0029:EC7A:002B:EA73 is a tipical IPv6 address.
A IPv6 address has 128 bits and consists of colons and hexadecimal numbers. There are 3,8*10^38 address possible.

Larger address space:
Global reachability and flexibility
Aggregation
Multihoming
Autoconfiguration
Plug-and-play
End-to-end without NAT
Renumbering

Mobility and security:
Mobile IP RFC-compliant
IPsec mandatory (or native) for IPv6

Simpler Header:
Routing efficiency
Performance and forwarding rate scalability
No broadcasts
No checksums
Extension headers
Flow Labels

Transition richness:
Dual stack
Translation
Questions we got from the teacher:
  • How many possible addresses are at IPv6? How many times is this more compared to IPv4?

            There are 3,4 * 10^38 addresses possible .
             It's 8,5*10^28 more times compared to IPv4.

  • Why are IPv6 addresses written in hexadecimal form?

             Because the hexadecimal has got 16bit, the range is from 0-9 and from A-F. So you                              have more possibilities.


  • What is the possibility at IPv6, in difference to IPv4?

           The header of IPv6 gives you the opportunity to involve together chained extensions. So the                actually header is going to be shorter and the header of not used extensions isn't going on.


              Through those properties, the header of IPv6 can load faster.


  • What is "Autoconfiguration" and "Renumbering"?


                Autoconfiguration: In IPv6 the hosts are able to configure their IPv6 address and their                         default router settings.
                Renumbering: In IPv6 networks can be renumbered. Routers can send a new prefix to tell                   the devices to regenerate their IP address.


  • What is IPsec and which function has it at IPv6?

               Internet Protocol Security
               It protects the communication by authenticating and encrypting every IP-packet of a                            session.


  • What is used instead of a broadcast-message?

              A multicast is used instead of a broadcast-message.



  • How is the transition of IPv4 to IPv6 effected?

            The transition takes place through tunneling.

  • What happens at the interface of a Cisco-Router, if a IPv6 address will be activated?

IPv4 Subnetting

1. Aufgabe:
Folgendes Video muss angesehen werden und die wesentlichen Schritte dokumentiert werden:
https://m.youtube.com/watch?v=fVSCIGAH-9s

Subnetting ist im Prinzip das Erstellen mehrerer Netzwerke von einem Adress-Block aus. Durch Subnetting wird die Effizienz der Adressierung verbessert. Dies geschieht, wenn man Host-Bits in Network-Bits umwandelt (aus einem einzigen Network-Block).

Bsp.:
      Base Aderss: 192.168.1.0/24
      (11111111 11111111 11111111 00000000)
      Ein Host-Bit wird in ein Network-Bit umgewandelt:
      11111111 11111111 11111111 10000000
      2^b Netzwerke                             b...."ausgeborgte" Hostbits
      2^h-2 Hosts pro Netzwerk          h...."übrige" Hostbits
      Neue Länge /25

      255.255.255.128 

Wichtige Subnetmasks: 


SN-MaskAnzahl HostsHost Bits
 255.255.255.02548
255.255.255.1281267
255.255.255.192626
255.255.255.224305
255.255.255.240144
255.255.255.24863
255.255.255.25222

2. Aufgabe:
Bei Netz 195.34.12.0/24 muss in 10 gleich große Netze geteilt werden.


195.34.12.0 / 24     - 8Host Bits: 2^8=256-2 = 254 Adressen verwendbar! 

Subnetmask: 255.255.255.0
                      1111 1111 1111 1111 1111 1111 0000 0000

in 10 Subnetze unterteilen:
2^3= 8 Subnetze  - zu wenig
2^4= 16 Subnetze möglich

Adressen im binären um 4Netz-Bits erweitern:

Ip-Adresse nun:
195.34.12.0
SN-Mask nun:
255.255.255.240
1111 1111 1111 1111 1111 1111 1111 0000

Der Hostanteil besteht nun noch aus 4Bits, das bedeutet 2^4=16 IP-Adressen sind verfügbar, darunter 1 für Subnetz, 14 Host-IP's und eine für Broadcast.
Es können also pro Subnetz 14 Rechner/Hosts adressiert werden.

Adresse fürs 1. Subnetz:
195.34.12.0                               Range: 195.34.12.1 - 195.34.12.14

2.Subnetz:
195.34.12.16                      

3.Subnetz:
195.34.12.32

4.Subnetz:
195.34.12.48

5.Subnetz:
195.34.12.64

6. Subnetz:
195.34.12.80

7. Subnetz:
195.34.12.96

8. Subnetz:
195.34.12.112

9. Subnetz:
195.34.12.128

10. Subnetz:
195.34.12.144



3.Aufgabe:
Wie lautet die SN-Mask für ein Netzwerk mir 2 möglichen Hosts?


/30 = 2Host Bit (2^2=4 verfügbar, 1Netz, 1Broadcast und 2 für PC/Hosts)

SN-Mask= 255.255.255.252
1111 1111. 1111 1111. 1111 1111. 1111 1100

4. Aufgabe:

Was für einen Sinn macht es, bei IPv4 eine /32 SNM zu verwenden?


Für eine Hostroute/Punkt-zu-Punkt-Verbindung wird eine /32 Subnetmask verwendet.