Skip to content

IPv4_IPv6.md

z22756392z edited this page Jun 18, 2021 · 2 revisions

Pv4 (32 bits) , IPv6 (128bits)

why should we want to use IPv6 as next generation Internet Protocol?

  1. IPv4 addresses are not enough
  2. security issue.
  3. performance issue

IP位置由 ICANN(internet corporation for assigned names and numbers)分配

通常分成兩個部分 五個類別

  Network bits(網路位元)	  		(host bits)主機位元

IPv4:

class A: 0NNNNNNN , HHHHHHHH,HHHHHHHH,HHHHHHHH

Total host : 2^24 -2   	'Cuz:  其中兩個是 網路位置 1.0.0.0 和廣播位置 1.1.1.1

class B: 10NNNNNN ,NNNNNNNN HHHHHHHH,HHHHHHHH

class C: 110NNNNNN ,NNNNNNNN,NNNNNNNN HHHHHHH

class D: 1110MMMM.MMMMMMMM.MMMMMMMM.MMMMMMMM

			預留位元

class E: 1111RRR.RRRRRRRR.RRRRRRRR.RRRRRRRR

			群播位元
Clone this wiki locally