IP Addressing Flashcards

1
Q

IPv4 Address Classes

A

Class A: 1-126 | 255.0.0.0 | /8
Class B: 128-191 | 255.255.0.0 | /16
Class C: 192-223 | 255.255.255.0 | /24
Class D 224-239 | n/a | n/a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Private IPs

A

Can be used by anyone
Non-routable outside your LAN

NAT (Network Address Translation)
Allows for routing of private IPs through a public IP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Specialized IPs

A

Loopback Address (127.X.X.X range)
Usually 127.0.0.1
Used for device itself for testing

APIPA
Dynamically assigned by OS when DHCP is unavailable
169.254.X.X

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Data Flows: Unicast

A

Data travels from a single source device to a single destination device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Data Flows: Multicast

A

Data travels from a single source device to multiple (but specific) destination devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Data Flows: Broadcast

A

Data travels from a single source device to all devices on a destination networks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

IP Address Components

A

IP Address
Subnet Mask
Default Gateway

Server Addresses (DNS, WINS)
DNS: Convers domain names to IP addresses
WINS: Converts NetBIOS names to IP addresses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

DHCP Configuration

A

Dynamic Host Control Protocol Configuration

Based on older Bootstrap Protocol (BOOTP)
Required static database of IPs & MACs to assign

Service assigns IP from an assignable pool (scope)

IP Address Management
Software used to manage IPs being assigned

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Zeroconf

A

Newer tech based on APIPA

Assigns link-local IPs

Resolving computer names to IPs without DNS server
mDNS (Multicast Domain Name Server)

Locating network services
(SLP, SSDP, DNS-SD)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Subnetting

A

Default classful subnet masks are rarely an optimal choice for a subnet size

Subnets can be modified using subnet masks to create networks that are better scoped

Creating a subnet involves borrowing bits from the original host portion and adding them to the network portion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Purpose of Subnets

A

More efficient use of IP addresses than classful default
Enables separation of networks for security
Enables bandwidth control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

CIDR

A

Classless Interdomain Routing
Instead of advertising multiple individual routes, the routes can be summarized & advertised as a single route

Used to summarize contiguous networks (route aggregation)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

VLSM (And protocols that support it)

A

Variable-Length Subnet Masking
Allows subnets of various sizes to be used

Requires routing protocol that supports it
(RIPv2, OSPF, IS-IS, EIGRP, BGP)

Basically, subnetting subnets
Without VLSM, all subnets would have to be the same size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

IPv6 Benefits

A

No broadcasts

No fragmentation
Performs MTU (maximum transmission units) discovery for each session

Can coexist with IPv4 during transition (dual stack)
IPv6 over IPv4 (tunneling over IPv4)

Simplified header

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

IPv6 Address Structure

A

Each hexadecimal digit is 4-bits
128-bits total
No more than 32 hexadecimal digits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

IPv6 Address Types

A

Globally routable unicast addresses
Begins with 2000 to 3999
(Similar to IPv4 Class A/B/C)

Link-local address (Unicast)
Begins with FE80
(Similar to private IPv4 addresses)

Multicast address
Begins with FF

17
Q

DHCP & IPv6

A

IPv6 uses SLAAC (no need for DHCP)

If you want to use DHCP: DHCPv6 protocol

IPv6 uses NDP (Neighbor Discovery Protocol) to learn the layer 2 addresses on the network

18
Q

NDP

A

Neighbor Discovery Protocol
Used to learn layer 2 addresses on network

Router Solicitation
Hosts send message to locate routers on link

Router Advertisement
Routers advertise their presence periodically and in response to solicitation

Neighbor Solicitation
Used by nodes to determine link layer addresses

Neighbor Advertisement
Used by nodes to respond to solicitation messages

Redirect
Routers informing host of better first-hop routers

19
Q

IPv6 Data Flows: Anycast

A

Designed to let one host initiate the efficient updating of router tables for a group of hosts

IPv6 can determine which gateway host is closest & sends the packets to that host as though it were a unicast communication

That host can anycast to another host in the group until all routing tables are updated

Data travels from single source device to the device nearest to multiple (but specific) destination devices

20
Q

SLAAC

A

Stateless Address Autoconfiguration:
Discovers the current network that an interface is located on & then selects its own host ID based on its MAC using the EUI64 process

Eliminates need to obtain addresses or other config info from a central server (Ex: No need for DHCP)

(EUI = Extended Unique Identifier)

21
Q

EUI

A

Extended Unique Identifier:
Allows a host to assign itself a unique 64-bit IPv6 interface identifier (EUI-64)

Splits 48-bit MAC and puts 16-bits in between (FF FE)

Ex:
MAC - 00 21 2F B5 6E 10
EUI - 00 21 2F FF FE B5 6E 10

22
Q

RFC1918 Address

A

An IP address that is assigned by an enterprise organization to an internal host. These IP addresses are used in private networks