IP Flashcards

1
Q

True/False - A device on one subnet cannot communicate with another device on a different subnet without the help of a router

A

True

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

True/False - Subnetting is transparent to the rest of the internet

A

True

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

Define subnetting

A

The process of dividing a network into smaller sized networks

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

How many hosts are possible on a Class B network

A

( 2 ^ 16 ) - 2

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

How many hosts are possible on a Class A network

A

(2 ^ 24 ) - 2

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

How many hosts are possible on a Class C network

A

( 2 ^ 8 ) - 2

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

What is the purpose of the special IP address 0.0.0.0

A

Only used in a local network for a src ip until DHCP gives an IP

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

What is the purpose of the special IP address 255.255.255.255

A

Limited Broadcast - only for a dst ip in a local network

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

What are the characteristics of the special IP address type, Network Address

A

Host ID is all 0’s, cant be used to address to a device

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

What are the characteristics of the special IP address type, Direct Broadcast

A

Net ID is specified, host portion is all 1’s, allows broadcast to a different network

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

How would a special IP address for a specific host on a network look

A

network id is all 0’s, host id is specified

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

What is the loopback address and what is its purpose

A

127.x.x.x , doesnt leave local interface

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

What are the private IP ranges

A

10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168. 0. 0 - 192.168.255.255

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

Describe a subnet mask in terms of the 32 bit sequence

A

A 32 bit sequence that contains a 1 in every network/subnet portion bit and a 0 in every host portion bit

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

True/False - All devices including hosts and routers that are located on the same network/subnet must have the same subnet mask

A

True

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

True/False - Devices on different subnets may have the same subnet mask

A

True

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

True/False - To find the network address, take the IP address and BIT AND it with the subnet mask

A

True

18
Q

True/False - IP is a connectionless, unreliable, best-effort service

A

True

19
Q

True/False - Routers in the internet ignore the protocol field

A

True

20
Q

True/False - IP just checks the header for errors, not the payload

A

True

21
Q

True/False - To get the size of the payload take the Total Len and subtract the Hdr Len

A

True

22
Q

True/False - Maximum Transmission Unit (MTU) is the Largest Payload a frame can handle

A

True

23
Q

True/False - Internet routers treat each fragment as an independent packet

A

True

24
Q

True/False - The last fragment must be a multple of 8

A

False

25
Q

True/False - Both end-systems and any internet router can fragment a packet

A

True

26
Q

True/False - if the rx’er doesnt get all the set of fragments it will drop all the the fragments

A

True

27
Q

True/False - All devices including hosts and routers that are attached to the same network must have the same network id portion

A

True

28
Q

Describe the NAT/PAT process

A
  • The host creates a packet with its private src IP and its dst IP
  • The host creates a frame with its src MAC and dst MAC of local router
  • The local router processes the frame and looks at the packet, it sees a private IP as src and replaces the private src ip with the routers public ip
  • The local router gets the src port from the payload and maps it to a selected different port in the NAT table. It changes the src port in the payload
  • The local router puts an entry in the NAT table with the private IP of the sending host
  • When the response comes back the local router finds the port mapping in the nat table to find out which devices to send to
  • the local router replaces the dst IP with the original hosts private src IP
29
Q

True/False - Home routers have higher layer functions, internet routers are strictly layer 3

A

True

30
Q

What are the characteristics of a Class A Network

A

0-127, First bit 0, Net ID: 7 bits (2^7 Networks), Host ID: 24 bits (2^24 Hosts)

31
Q

What are the characteristics of a Class B Network

A

128-191, First bits 10, Net ID: 14 bits (2^14 Networks), Host ID: 16 bits (2^16 Hosts)

32
Q

What are the characteristics of a Class C Network

A

192-223, First bits 110, Net ID: 21 bits (2^21 Networks), Host ID: 8 bits (2^8 hosts)

33
Q

True/False - When you BIT AND your own IP with your own subnet mask you get your own network ID

A

True

34
Q

True/False - When you BIT AND another host IP with your own subnet mask you get the other host network ID

A

False

35
Q

True/False - /31 can represent a point-to-point link

A

True

36
Q

What is the block format

A

a.b.c.d/n

37
Q

What is the size of a block

A

The number of ip addresses in the block, 2^32-n

38
Q

What is the number of addressable devices in a block

A

2^32-n - 2

39
Q

True/False - In the case of multiple matches in the routing table the router will choose the longest prefix match

A

True

40
Q

What is the DV (Bellman-Ford) Formula

A

Dx(y) = min{c(x,v) +dv(y)}

41
Q
A