IP Flashcards

(47 cards)

1
Q

List network layer protocols that run directly on IP.

A

ICMP/1 (Internet control message protocol): Used for status messaging and connectivity testing.

IGMP/2 (internet group messaging protocol): Used with multicasting.

GRE/47 (Generic routing Encapsulation): Used to tunnel packets across an intermediate network. Used in some VPN implementations.

ESP/50 (encapsulating security payload): used with the encrypted form of IP (IPSec).

AH/51 (Authentication Header):used with the encrypted form of IP (IPSec).

EIGRP/88 (enhanced interior routing protocol):used by routers to exchange information about paths to remote networks.

OSPF/89 (Open Shortest Path First): used by routers to exchange information about paths to remote networks.

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

What is a IP header?

A

Fields in a datagram used to identify source and destination IP addresses, protocol type, and other layer 3 properties.

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

What does a IP header consist of?

A

Version field- indicates the IP version (IPV4 or 6)
Header length- not a fixed length.
Diffserve- quality of service information
Total length- the entire length
Identification, Flags, and Fragment Offset- If the packet is too big and needs to be broken up these break it up and label the order it is meant to be reassembled in.
TTL- amount of hops for data to travel
Protocol- Specifies the type of data encapsulated in the payload. Normally its either TCP (indicated by 6) or UDP (indicated by 17) traffic
Checksum- error checking
Source address
Destination address
Options- anything else that get added
Data- the data

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

How do nodes from different subnets communicate?

A

via the router
if they are in the same subnet they can talk to each other directly.

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

What is ARP and what does it do?

A

Access resolution protocol
resolves a IPv4 address into a hardware MAC address.
Used to make a network more efficient.

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

What are the 2 types of ARP entries and what is the difference?

A

Dynamic: A dynamic entry is created automatically when a device sends out a broadcast message out on the network. Not permanent, gets flushed out periodically

Static: When a IP to MAC address is manually entered on the CLI. Used to reduce any unnecessary ARP broadcast traffic on the network.

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

How does unicast work?

A

Used when a host wants to sent a packet to a single recipient.
A unicast packet is sent addressed to the IP address of the destination host.

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

How does broadcast work?

A

Used to address multiple hosts.
performed by sending a packet to the network or subnets broadcast address.
All hosts in the same broadcast address will receive the packet

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

How does multicast work?

A

Allows a host to send content to other hosts that have identifies themselves as interested in receiving the hosts contents.
The intent to receive multicast from a particular host is signaled by joining a multicast group, IGMP (Internet Group Management Protocol) is typically used to configure this.
Multicast addresses are in the range of 224.0.0.0 to 239.255.255.255.

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

How does anycast work?

A

A group of host is configured to the same IP address and when a router forwards a packet to a anycast group it uses a prioritization algorithm and metrics to select the host that is “closest” and will receive the packet quickest.
Used a lot with servers, allows for load balancing and failover between server hosts sharing the IP address.
Anycast forwarding is handled by routers, typically using a dynamic routing protocol, such as Border Gateway Protocol (BGP).

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

What is the maximum theoretical size of a IPv4 packet?

A

65535 bytes
The limit is set by the total length field in the IPv4 header, which specifies the total size of the packet including the header and the payload.

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

What is classless subnetting?

A

IP networks and subnet IDs that are defined by network masks.
AKA CIDR addressing.

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

What is classful subnetting?

A

Classful addressing allocates a network ID based on the first octet of the IP address.
Divides IP addresses into fixed classes.

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

Tell me about class A networks.

A

Supports only 126 networks
Supports 16,777,214 hosts
First octet range of 1-126

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

Tell me about Class B networks.

A

Supports 16,384 networks
Supports 65,534 host
First octet range of 128-191

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

Tell me about class C networks.

A

support 2,097,152 networks
supports 254 hosts
first octet range of 192-223

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

what does 127.0.0.0/8 ip address do?

A

used for loopback testing.
Its a special address typically used to check that TCP/IP is correctly installed on the local host

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

what does 0.0.0.0/8 IP address do?

A

Used when a specific address is unknown. This is typically used as a source address by a client seeking a DHCP lease.

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

What is a private IP address?

A

IP addresses designated for use on private networks only.

20
Q

What is a public IP address?

A

An IP address that can establish a connection with other public IP networks and hosts over the Internet

21
Q

What is class A, B and C private IP address ranges?

A

Class A: 10.0.0.0 to 10.255.255.255
Class B: 172.16.0.0 to 172.31.255.255
Class C: 192.168.0.0 to 192.168.255.255

22
Q

What are the 2 ways internet access can be facilitated for hosts using a private IP?

A

Through a router configured with a single valid public IP address or a block of valid public IP addresses. The router uses NAT to translate between the public and private IPs

Through a proxy server that fulfills requests for internet resources on behalf of clients. The proxy must be configured with a public IP address on the external-facing interface.

23
Q

Who is the private IP address pool defined by?

24
Q

What are Class D and Class E IP addresses used for and what is their range?

A

Class D addresses (224.0.0.0 through 239.255.255.255) are used for multicasting.

Class E addresses (240.0.0.0 through 255.255.255.255) are reserved for experimental use and testing.

25
What is the 255.255.255 used for?
Used to broadcast to the local network when the local network address is not known.
26
What addresses are set aside for a variety of special purposes?
64.0.0.0/10, 192.0.0.0/24, 192.88.99.0/24, 198.18.0.0/15
27
What addresses are set aside for use in documentation and examples?
192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24
28
What factors must be weighed when planning a IPv4 network addressing scheme?
The number of IP networks and subnetworks required must be considered. The number of hosts per subnet that must be supported must be considered. The network ID must be from a valid public or a private range (not from the loopback, link local reserved range, multicast range, or reserved/experimental range, for instance). The network and/or host IDs cannot be all 1s in binary because this is reserved for broadcasts. The network and/or host ID cannot be all 0s in binary; 0 means "this network." Each host ID must be unique on the IP network or subnet. The network ID must be unique on the Internet (if you are using a public addressing scheme) or on your internal system of internetworks (if you are using a private addressing scheme).
29
What 2 problems does classless addressing solve?
1. that network address especially class B were becoming scarce. 2. Near exponential growth in internet routing tables. Also supports subnet addressing.
30
What is CIDR
Classless inter domain routing. Uses bits normally assigned to the network ID to mask the complexity of the subnet and host addressing scheme within that network. Sometimes described as supernetting.
31
What is VLSM and what does it allow you to do?
Variable length subnet masking. Uses network prefixes of different lengths within an IP network to create subnets of different sizes. Allows different length subnetmasks(netmasks) to be used within the same IP network, allowing more flexibility in the design process.
32
What is IPv6 addressing scheme and how many unique addresses does it allow?
Uses 128 bit addressing Has space for 340 undecillion unique addresses.
33
What is canonical notation?
Compressing the IPv6 address
34
How is a IPv6 address broken up?
The first 64 bits are the network ID and the last 64 bits are used for Interface ID (the equivalent of host ID).
35
What type of addressing can and cant IPv6 use?
Its can use multicast, anycast and unicast It doesn't use broadcast addressing.
36
What is IPv6 equivalent of IPv4 public addresses?
Global addressing.
37
What is EUI-64?
a method used in IPV6 addresses to create a 64 bit interface ID from a devices 48 bit MAC address. Inserts FFFE in the middle?????
38
What is a link local address?
starts with fe80:: Equivalent to IPv4 APIPA address but a IPv6 host is always configured with a link local address. Used to communicate within a local network segment.
39
What does MLD do?
Multicast listener Discovery protocol Allows nodes to join a multicast group and discover if members of a group are present on a local subnet.
40
What does IPv6 use for ARP?
Replaces ARP with Neighbor Discovery (ND) protocol.
41
What does it mean to dual stack?
That hosts and routers can run both IPv4 and IPv6 simultaneously and communicate with devices configured with either type of address.
42
What is tunneling for IP addresses and how does it work?
Can be used to deliver IPV6 packets over a IPv4 network options include: 6to4 replaced by IPv6 Rapid Deployment (6RD) Teredo protocol GRE (Generic routing encapsulation)
43
What is NAT64
An IPv6 host address uses the prefix 64:ff9b::/96 plus the 32 bit IPv4 routing address. When the packet reaches the IPv4 gateway router it strips the prefix and forwards the packet using IPv4 headers
44
What is the IPv6 loopback address?
0:0:0:0:0:0:0:1 often expressed as ::1
45
What are some IP configuration issues?
Having an incorrect IP address or incorrect Subnet Mask
46
What can you use to solved duplicate IP and MAC address issues?
ping and arp -a to examine the ARP cache.
47
What is the general ping sequence to identify connectivity issues?
Ping loopback Ping Host Ping Gateway Ping Remote Host Ping Host name Establish Session.