TCP/IP basics Flashcards

1
Q

What OSI level does TCP work on?

A

Level 4

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

What level does Internet protocol work on?

A

Level 3

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

What are five things you will find in a TCP packet

A
Addressing
Time to live
Total length
Protocol (tcp or udp)
Ver: ipv4 or 6
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

With which protocol is “Syn, Syn Ack, Ack” associated?

A

Tcp has the three way handshake

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

What is the unabbreviated term for UDP

A

User datagram protocol

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

True or false: UDP does not get chopped up during the transport layer and simply gets a header slapped on it

A

True

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

What is a packet’s checksum?

A

A method of verifying the data’s integrity by comparing the checksum to the final product

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

What two protocols use UDP

A

DNS, DHCP

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

What is the method used by NICs to find the mac address of a computer it wishes to communicate with?

A

It will check its subnet to see if the computer is on the same network, and then send out an address resolution protocol broadcast.

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

What is the cmd command to see the mac addresses and IPs your computer is aware of on your LAN?

A

arp -a

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

How does your computer know where to send a packet when it’s not on the LAN

A

It sends it to the default gateway by default

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

How do you figure out the amount of hosts by looking at the IP.

A

2 to the power of (host bits)

2 represents the binary on/off state

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

What is the kool kid pattern for remembering ip classes

A

68123

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

What is the class a range

A

1-126

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

What is the class b subnet range

A

128-191

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

What is the class C subnet range

A

192-223

17
Q

What is the 8 times table multiples pattern

A

8 16 24 32 40

48 56 64 72 80

18
Q

What are the private IP address classes?

A

A - 10 - 10.255.255.255
B - 172.16.0.0 - 172.255.255
C - 192.168.0.0-192.168.255.255

19
Q

What is the process for finding a network ID for 192.168.32.56 /23

A

1) Write down the IP and Subnet in binary, though only the octet in which the networkID becomes the host ID (In this case, octet 2)
2) Compare the binary and if both the IP and Subnet have a 1, turn the binary into its integer number, like so:

Subnet: 1 1 1 1 1 1 1 0
IP: 0 0 1 0 0 0 0 0
^
There are matching 1’s in this line. So convert it to 32.
Your network ID is 192.168.32.0 As anything after the 32 binary number is a host bit, you can ignore the 56 on the end of the IP.

____________________________
3) Take away the network ID binary and use the rest to determine the host range:

Subnet is 1 1 1 1 1 1 1 0 equaling 254. This means you have 1 host bit for this octet, plus the eight from the following octet. 2 to the power of 9 is 512 hosts. (-2)

  1. 168.32.0 to 192.168.33.254 host range with all host bits on the lower range being off and all the host bits of the higher range being on.
    http: //www.network-calculator.com/ use this for practice
20
Q

What is the four way DHCP handshake?

A
DORA
Discover
Offer
Request
Ack
21
Q

What are three things a DHCP server needs to function

A

IP scope
Gateway info
Subnet

22
Q

True or false: Switches block broadcasts

A

False. Routers block broadcasts.

23
Q

What is DHCP relay?

A

DHCP relay enables routers to accept the DHCP discoveries of hosts on their network and forward it to a DHCP server elsewhere in the building.

24
Q

Using a mac address as an identifier to identify a specific computer, a DHCP server can do what?

A

Make sure the one computer always gets the same address.

25
Q

What is failover dhcp?

A

Having a backup dhcp server in the even to of a failure. uses same scope as primary server.

26
Q

What is rogue dhcp?

A

Someone else, innocent or not, plugging a dhcp server into your network. You can tell if a pc is on a bad network by looking at the gateway information in ip config.