IPV6 – Decimal and Hex conversions Lab Tips

* To convert a decimal (IPV4) into a Hex (IPV6)

e.g. 192.168.100.0

1 – – 168 / 16 = 10.5 we are only interested in everything before the decimal point which is 10. 10 in hex is A.

2 — 10.5 -/minus 10 (everything before decimal point) = 0.5

3 — 0.5 x 16 = 8

4 — 168 in hex is A8

* To covert Hex (IPV6)  into Decimal (IPV4)

e.g. A8

1 — A8 split up on it’s own is 10 and 8

2 — 10 in binary is 1010

3 — 8 in binary is 0100

4 — combine them both 1010 0100

5 – – 128+0+32+0+0+8+0+0 = 168

6 — A8 in decimal is 168

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: