Networking Flashcards

1
Q

What are the addressing schemes used for addressing network packets so they reach their destination?

A
  1. MAC (media access control) addresses, used by hardware.
  2. IPv4, IPv6 network addresses, used by software.
  3. Hostnames, used by people.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What do IP addresses identify?

A

A machines network interfaces?

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

What is a port?

A

A 16 bit number that supplements IP addresses to specify a particular communication channel.

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

What are the four IP address types?

A
  1. Unicast: Addresses that refer to a single network interface.
  2. Multicast: Addresses that simultaneously target a group of hosts.
  3. Broadcast: Addresses that include all hosts on a local subnet.
  4. Anycast: addresses that resolve to any one of a group of hosts.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How many bytes are IPv4 addresses?

A

4 Bytes.

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

Who sets the boundary between network and host portions of IPv4 addresses?

A

Administrator.

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

In what format are IPv4 addresses written?

A

Decimal numbers, 1 for each byte.

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

What decimal number is always part of the network portion in IPv4 addresses?

A

The left most number.

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

How many bytes are IPv6 addresses?

A

16 Bytes.

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

How many bytes are each the network and host portion in IPv6 addresses

A

8 Bytes each.

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

What was IPv6 originally created for?

A

To solve the problem of IP exhaustion.

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

What issues is IPv6 now being used to help solve?

A

Routing, mobility, and locality of reference.

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

Describe IPv6.

A

128 bits divided into 8 groups of 16 bits each. Separated by colons. Each 16 bit group is represented by hexadecimal digits.

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

What is IP spoofing?

A

When the IP address of the host from which a packet was sent has been changed/spoofed.

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

Who is the victim of IP spoofing?

A

The machine identified by the spoofed source. Error and return packets can disrupt their network connections.

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

What is the solution to IP spoofing

A

Block outgoing packets whose source address is not within your address space.

17
Q

What is the security issue with IP forwarding?

A

Hosts that forward packets can be coerced into compromising security by making external packets appear to have come from inside the network.

18
Q

What is the solution to issues with IP forwarding?

A

Turn off IP forwarding.

19
Q

What are the two network interfaces each system minimally has?

A

Virtual loopback interface

One real network card or port.

20
Q

What are the 4 steps in adding a new machine to a local network?

A
  1. Assign a unique IP address and hostname.
  2. Configure network interfaces and IP addresses.
  3. Set up a default route and perhaps fancier routing.
  4. Point to a DNS name server to allow access to the rest of the internet.
21
Q

What is routing?

A

The process of directing a packet through the maze of networks that stand between its source and its destination.

22
Q

Where is routing information stored?

A

In a routing table in the kernel.

23
Q

What are the two distinct things the term “routing” is commonly used for?

A
  1. Looking up network addresses in the routing table as part of the process of forwarding a packet to a destination.
  2. Building the routing table.
24
Q

What does DHCP stand for?

A

Dynamic Host Configuration Protocol

25
Q

What is DHCP

A

The process a device takes when connected into a network that obtains an IP address for itself on the local network, sets up an appropriate default route, and connects itself to a local DNS server.