IP Addressing Flashcards
How do you convert decimal to any number system?
Divide the number by the base of the system you are converting to, record the remainder, and read bottom up. i.e., 34 in Octadecimal = 42
8 | 34 | 2
8 | 4 | 4
0
How do you convert any number system to decimal?
Multiply each digit by the base of its number system to the power of the weight of the bit.
i.e. 67(octa) in decimal = 55
[(8^1)x6]+[(8^0)x7]
How do you convert octal to binary? How do you convert binary to octal?
Simple substitution in 3-bit chunks! Each digit from 0-7 can be converted forward or backward. i.e. 444 = 100100100
How do you convert binary to hexadecimal? How do you convert hexadecimal to binary?
Simple substitution in 4-bit chunks! Each digit from 0-F can be converted forward or backward. i.e. AAAA = 1010 1010 1010 1010
What is an IP address?
A unique logical address that identifies a device on a network.
What does an IPv4 address look like? What does an IPv6 address look like?
IPv4: 32-bits long, divided into 4 8-bit chunks. IPv6: 128-bits long, divided into 8 16-bit chunks.
What is a classful IP address?
It is an IP address where the subnet mask remains fixed and the number of hosts per network remains fixed.
What are the IPv4 classes and what are their ranges?
Class A: 1.0.0.0 - 126.255.255.255; Class B: 128.0.0.0 - 191.255.255.255; Class C: 192.0.0.0 - 223.255.255; Class D (Multicast): 224.0.0.0 - 239.255.255.255; Class E (Experimental): 240.0.0.0 - 255.255.255.254
What is the loopback address in IPv4?
127.0.0.0 - 127.255.255.255
What are the ranges of private IP addresses
Class A: 10.0.0.0 - 10.255.255.255
Class B: 172.16.0.0 - 172.31.255.255
Class C: 192.168.0.0 - 192.168.255.255
What is subnetting and why is it important?
It is a way to subdivide networks so as to preserve IP addresses, since there are not enough. Also called CIDR or VSLM (Variable-Length Subnet Mask).
What are the first and last IP addresses in VSLM?
The first is the network address, the last is the broadcast IP address.
What 0s can and cannot be omitted in IPv6?
Leading zeroes can be, trailing zeroes cannot. A block can be represented as :: once. i.e., 2001:0db8 : 0000 : 130f : 000A : 0000 : 0000 : 140b = 2001:db8:0:130f:A::140b.
How many bits are reserved for Network prefix in IPv6?
The first 64 bits (first 32 are ISP, then Customer, then end site subnet.
What is the global unicast address in IPv6?
001 prefix
What is the loopback address in IPv6?
0:0:0:0:0:0:0:1 or ::1
What are unicast, anycast and multicast?
Packets are sent to single, nearest or multiple interfaces.
How can IPv6 addresses be assigned?
Manually (via administrator), self-allocated (via device auto configuration) or dynamic (via DHCPv6).