Ni rumus singkat mengubah IPv4 jadi
IPv6.
Note:
128 = 10000000
64 = 1000000
32 = 100000
16 = 10000
8 = 1000
4 = 100
2 = 10
1 = 1
a = 10
b = 11
c = 12
d = 13
e = 14
f = 15
Contoh :
Ipv4 → 192.168.1.232.187 →
Dibinnerkan { [1100.0000 ,
1010.1000] [1110.1000 , 1011.1011] }
[
1100 = 8 + 4 = 12 (c)
0000 = 0 = 0
1010 = 8 +2 = 10 (a)
1000 = 8 = 8
]
[
1110 = 8 + 4 + 2 =14 (e)
1000 = 8 = 8
1011 = 8 + 2 + 1 = 11 (b)
1011 = 8 + 2 + 1 = 11 (b)
1011 = 8 + 2 + 1 = 11 (b)
]
Jadi Ipv6 = c0a8:e8bb →
fe80::c0a8:e8bb
Mungkin kamu tertarik, Baca juga yang ini!!
Loading...
0 comments:
Post a Comment