IP Addressing Flashcards
Learn IP addressing
what is the Class A IP range?
1-126
What is the Class B IP range?
128-191
What is the Class C network range?
192-223
What is the Class A private range?
10.0.0.0 - 10.255.255.255
Name the Class B private range
172.16.0.0 - 172.31.255.255
Name the Class C private range
192.168.0.0 - 192.168.255.255
What is the APIPA valid host range?
169.254.0.1 - 169.254.255.254
What does a host address of all 0’s mean?
designates the network, or any host on that network
what does a host address of all 1’s mean?
designates all hosts on a network
network address of all 0’s means?
this network
network address of all 1’s means?
all networks
entire IP address set to 0’s means what?
used by cisco routers to designate default route
ip address of all 1’s is reserved for what?
to broadcast to all hosts on the current network
easiest way to find out the valid hosts on a network?
1) turn all the host bits off; that gives the network address
2) turn all the host bits on; that gives the broadcast address.
3) the valid hosts sit between the network address and broadcast address
Class A address always has the first bit set to what?
zero
Class B network address always starts with what?
10
What address range starts with 11 as the first two bits?
Class C
Multicast address use what IP address range?
224-239
Name 2 features of multicasting
1) packets are sent only to subscribed hosts
2) routers will forward multicast packets
You want a public facing IPv6 interface, what kind of address do you use?
Global Unicast Address
What is the IPv6 equivalent of a private IPv4 address range?
Unique Local Address
You want to quickly set up a local IPv6 network to share resources between a few computers, what addresses type would you give them?
Link-local addresses
What IPv6 address type is known as one to nearest addressing?
Anycast
How long is an IPv6 address?
Name the 2 sections that typically make up an IPv6 address?
1) Global Prefix and Subnet (64-bit)
2) Interface ID (64-bit)
You have old legacy infrastructure and can’t afford to upgrade everything to IPv6. What strategy could you employ to allow IPv4 devices make use of IPv6?
Dual Stacking
You need your IPv6 network to communicate with another IPv6 network over an IPv4 network. How do you do this?
6to4 tunnelling
When would you use Teredo?
If you had get IPv6 packets over an IPv4 network that has NAT
What is the link-local unicast IPv6 range?
FE80::/10
What is the IPv6 multicast range?
FF00::/8
What is the IPv6 global unicast address range allocated for internet access?
2000:/3
What address range is used for 6to4 tunnellings?
2002::/2
What address range is this, FE80::/10?
Link-local unicast
What address range is this, FF00::/8?
IPv6 multicast
Name this address range, 2002::/2?
IPv6 6to4 tunelling range
Name this address range 2000:/3
IPv6 Global unicast range
What type of IPv6 address is equivalent to an APIPA address in its function and cannot be routed AT ALL?
link-local address
What is Miredo?
tunnelling technique used on native IPv6 Linux and BSD machines to communicate on the IPv4 internet directly without needing a dual stack router
APIPA address lie in what Class range?
Class B
What class of addresses use the range 224-229?
Class D, multicast
What address range is for scientific purposes only and not a valid host address?
240-255
in an IPv6 address, a double colon can only be used once to represent a block of all zeros. TRUE or FALSE?
TRUE
Stateless auto-configuration allows devices on a network to what?
to address themselves with a link-local or global unicast address.
What 16-bit hex value is inserted into a MAC address to create an EUI-64 address? After which bit, counting from the left, is it inserted?
FF:FE
Bit 24 or a block and a half in from the left
which bit should be flipped when converting a 48-bit MAC address to a 64-bit EUI?
The 7th bit.
List (8) in order the subnet mask decimal values e.g.
10000000 =
11000000 =
128 192 224 240 248 252 254 255
What is the minimum number of bits required for the host portion of an address?
2
List how many valid hosts can be obtain for each borrowed bit in the pattern below: 1-bit 2-bits 3-bits 4-bits 5-bits 6-bits 7-bits 8-bits
1-bit - invalid 2-bits - 2 (calc = 2*2-2) 3-bits - 6 (calc = 2*2*2-2) etc 4-bits - 14 5-bits - 30 6-bits - 62 7-bits - 126 8-bits - 254
What is the calculation to work out the valid subnets/block size?
subtract the subnet mask from 256 e.g. if a subnet has 4 borrowed bits then it would be 256-240=16
What is Static NAT?
A type of network address translation that allows one-to-one mapping between local and global addresses. You’ll need one real internet address for each host on the network.
Which type of NAT is also known as Port Address Translation? How does it work?
NAT Overload. It works by allowing multiple private IP addresses to use just a single public IP by using source and destination ports to forward data from the internet to host machines