Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IPV4 VS IPV6
- ================
- IPv4 uses a 32-bit address scheme allowing for a total of 2^32 addresses (just over 4 billion addresses)
- IPv6 addresses are 128-bit IP address written in hexadecimal and separated by colons.
- 172.16.149.1
- 00000000.00000000.00000000.00000000 = 32 bit
- 2^2 2^1 2^0
- 0 0 0 0 000
- 1 0 0 1 001
- 2 0 1 0 010
- 3 0 1 1 011
- 4 1 0 0 100
- 5 1 0 1 101
- 6 1 1 0 110
- 7 1 1 1 111
- 192 = 11000000
- 168 = 10101000
- 128 64 32 16 8 4 2 1
- 192= 1 1 0 0 0 0 0 0
- 168= 1 0 1 0 1 0 0 0
- Subnetting
- 192.168.0.1/23
- 11000000.10101000.00000000.00000001
- IP Classes in decimal notation
- Class A addresses range from 1-126 -- 255.0.0.0 126.0.0.0
- Class B addresses range from 128-191 --- 255.255.0.0
- Class C addresses range from 192-223 --- 255.255.255.0
- Class D addresses range from 224-239
- Class E addresses range from 240-254
- 127.0.0.1--> loopback address
- 00000000.00000000.00000000.00000000 --- 11111111.11111111.11111111.11111111
- 0.0.0.0 --- 255.255.255.255
- Class A: 255.0.0.0 (2^N-2) HOSTS
- --- -----
- NI HI
- Class B: 255.255.0.0
- Class C: 255.255.255.0
- 172.16.0.1 - 172.16.0.255 ---->
- 172.16.1.0 - 172.16.1.255 ---->
- 172.16.2.0 - 172.16.2.255 ---->
- 172.16.0.54
- NAT - Network Address Translation
- ==================================
- This is a function which converts my Public IP Address to my Private IP Address and vice versa.
- 172.168.10.0 - 172.168.10.255
- 172.168.11.0 - 172.168.11.255
- TASKS:
- IPV5
Add Comment
Please, Sign In to add comment