TCP / IP and Subnet Masking Flashcards

1
Q

Tcp / ip version 4

A

current version of TCP / IP

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

TCP / IP Protocol

A

Is actually a protocol suite (i.e. a collection of protocols)
The main two protocols are made up of TCP and IP protocols

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

IP

A

Internet Protocol

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

What does IP do?

A

IP is the protocol w / in TCP/IP that is in controls routing of info to different comps, devices, servers.
Deals with IP addresses, subnet masks, default
Figures out where other comps are so they can begin communication.
It is a “routable protocol”
Connects computers based on the computers IP addresses

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

Protocol Suite

A

A collection of protocols

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

TCP

A

Transmission Control Protocol

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

Routable Protocol

A

makes it so you can divide comps into subnetworks with a boundary that is a router.
Go through a router to connect to other subnetworks.
Allow you to divide huge NWs into small NWs and can connect these smaller NWs with routers

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

NOn routable protocol

A

with non routable, all computers are connected

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

OSI Model

A

Basic steps of NW communication procedure.

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

What does TCP do?

A

Manages the communication process

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

Windowing

A

Process by which the client comp sends info to server comp.

The process that happens when comps are

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

Why was the internet created?

A

For the military. For WW3 scenarios. If nuclear armageddon has happened and you have diverse military installations trying to communicate with each other. This is the scenario tcp ip was created under.
Realization that communication might be flaky, if you send all info at once it might be garbled. Created “windowing” to test quality of transmission lines and sends “packets” (bits and bytes) of info. Acknowledgement is send back to sending computer to let it know packets where received. Sender will increase amount of packets sent after acknowledgment.

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

What does a receiving computer send to the sending computer when it receives packets?

A

It sends a confirmation message of data received

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

What does the sending computer do when it receives a confirmation of data received from its target computer?

A

It sends more packets than the last transmission

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

What does the sending computer do when there is an error in data sent?

A

Goes back to sending one packet at a time

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

What OSI layer is TCP?

A

Layer 4 - Transmission Layer

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

What OSI layer is IP?

A

Layer 3 - Networking Layer

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

IP Adresses

A

slj

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

Subnet Mask

A

Way to segment a NW logically so comps and devices can’t talk to other comps and devices on same NW. If you have a lot of comps and devices on your NW you don’t necessarily want them all talking to eachother

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

Default Gateway

A
the Router (can be other devices too) for the subnetwork
the device that connects your subnetwork to all the other networks out there
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

DNS Server

A

Map domain names to IP addresses

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

What does your comp do when you enter a domain name?

A

It talks to the DNS and asks what the domain name means. DNS tells your comp what
Your comp will first search the local NW for the website. If it doesn’t find it it goes to the default gateway to get connected out to the website on the internet.

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

DHCP

A

Dynamic Host Control Protocol

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

What does your computer need to know

A

Comp needs to know its ip , default gateway, subnet mask , and what DNS to talk to

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

Static IP

A

Manually way to give NW info to your computer
Can take a long time if you have a lot of computers to enter info for. Problem : same info entered for two comps will cause havoc

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

Dynamic IP addresses

A

You can give your comp dynamic ip addresses:
Where DHCP comes in.
When comp connects to NW it will call out the DHCP server.
Dhcp server will then give it an IP address, tell it the subnet mask, default gateway, and DNS server.
Dhcp keeps track of addresses given out so that all addresses are unique

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

What does dhcp allow for?

A

The automatic distribution of IP addresses

It keeps track of IP adresses issued so that no two computers receive the same IP address

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

What happens in DHCP process?

A
  1. your comp asks for an IP address
  2. you have already told dhcp the scope of ip addresses it can give out. You tell it the subnet mask, the default gateway, and the DNS servers this is all preconfigured by you
  3. DHCP server will then give all info to comp with a “lease time”
    Configured into DHCP by server admin.
  4. Half way through lease your comp will try to renew lease on IP
  5. DHCP server says yes or no
  6. if comp can’t contact dhcp at 50% mark, it tries again at next 50% mark and continues until it gets in touch.
    Contact time has a 50% “half life”.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

NAT

A

Network Address Translation
People at first thought each comp would have to have its own ip that was unique to the world. not just your office but unique to the world. nat fixed this issue

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

How NAT works

A

each router needs own ip address. once inside router / inside internal nw , you can reuse addresses.
server on internet is concerned with the routers external ip address
Router has nat built into it. router routs info to the client comp in its network w / o nat every comp would need a unique ip address.

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

NATs purpose

A

Makes it so each computer doesnt need an absolute unique IP address

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

Subnet Masking

A

sdf

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

Define a Protocol

A

a protocol is a set of rules and procedures used for communication.
a protocol sets the rules and procedures for computers on a nw to talk to communicate

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

Stack definition

A

a “stack” of many small protocols to make up one big protocol

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

Analogy for NW Protocols

A

USPS “protocol”
Fedex “protocol”
rules and procedure to send packages and mail. Both have same basic components to their protocols (they have the same standards of communication: packaging, addressing, payment, getting package onto the network

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

Standard of communication for computers

A

the OSI Model

37
Q

Purpose of the OSI Model

A

sets the basic standard for ALL NW communication

38
Q

7 layers of the OSI model

A
Application
Presentation
Session
Transport
Network
Data Link
Physical
39
Q

Neumonic saying for 7 Layers of OSI model

A
A
Preist
Saw 
Two
Nuns
Doing Pushups
40
Q

Application Layer

A

deals with network API’s.

Gateway layer

41
Q

Presentation Layer

A

deals with formatting for data to be sent

42
Q

Session layer

A

synchronization between the computers

43
Q

Transport layer

A

packet management,
where message is broken into pieces and ordered to be sent
Layer that TCP is on

44
Q

Network layer

A

Addressing and Routing
layer that IP is on.
Router layer

45
Q

Data Link layer

A

deals w/ data frames, like the letter you put the data into, format of the package / letter itself to go out onto the internet.
Bridge / Switch layer

46
Q

Physical layer

A

hardware, how are we connected to the internet?

Hub / Repeater

47
Q

How data travels through the OSI model

A

sending comp always sends data DOWN through OSI model.

receiving comp receives the data UP through the

48
Q

Header

A

the information that each OSI layer adds to the data being sent to assist in the process of communication.
Headers are removed by the corresponding layer on the receiving side of the network

49
Q

Trailer

A

information added to data by the Data Link layer to ensure data is not corrupted in transit

50
Q

even though data travels down and up through the layers, what does each layer believe?

A

each individual layer believes it is directly connected to its corresponding layer.

51
Q

tcp/ ip architechture based on

A

DARPA model

52
Q

DARPA model

A

4 layer model,

each layer coressponds to one or more layer of OSI model

53
Q

Names of

A

application
transport
internet
network

54
Q

What layers of DARPA model correspond to the OSI model?

A

Application -> application, presentation, session
Transport -> Transport
Internet -> Network
Network Access -> Data Link, Physical

55
Q

headers in darpa model

A

each layer of darpa model adds headers like in OSI model

56
Q

Protocols in Application layer of TCP/IP / DARPA model

A

http, ftp, smtp, dns, rip, snmp

57
Q

Protocols in Transport layer of TCP/IP / DARPA model

A

TCP, UDP

58
Q

Protocols in Internet layer of TCP/IP / DARPA model

A

IP, ARP, ICMP, IGMP

59
Q

Protocols in Network Access layer of TCP/IP / DARPA model

A

Ethernet, Token Ring “low level protocols”

60
Q

TCP

A

Transmission Control Protocol

61
Q

What is TCP

A

one to one connection between comps, connection-oriented communication, “reliable” communication

62
Q

connection-oriented communication, and 3-way handshake

A

used by TCP. means that a connection must be established before data can be exchanged. TcP uses a “three-way handshake” to establish this connection

63
Q

What is the 3 - way handshake?

A
  1. comp 1 signals comp 2 & sends info for communicating.
  2. comp 2 acknowledges comp 1s request and sends back info for communicating with it.
  3. comp 1 begins communication with comp 2
64
Q

Reliable Communication

A

each comp sends back acknowledgement of reception of each others messages
Like sending certified mail

65
Q

UDP

A

User Datagram Protocol
Typically used when one is trying to communicate with many,
connectionless, unreliable communications

66
Q

Unreliable Communication

A

no acknowledgement of receipt by receiving computer. Like sending uncertified mail

67
Q

analogy of UDP

A

radio broadcasting

68
Q

Internet Layer Protocols

A

IP, ARP, ICMP, IGMP

69
Q

Transport Layer Protocols

A

TCP and UDP

70
Q

IP Protocol

A

used for addressing and routing

71
Q

ARP

A

Address Resolution Protocol
Resolves an IP address down to the computers hardware address. Computers actually communicate based on their hardware addresses

72
Q

ICMP

A

Internet Control Message Protocol.
Diagnostic and error reporting.
icmp will try to send error back to sender if there is an error in transmission

73
Q

analogy for icmp

A

receive a letter back marked return to sender. letting you know there was an error in sending

74
Q

IGMP

A

Internet Group Management Protocol.

Manages IP multicast group membership.

75
Q

Multicast communication

A

requires membership to this group and igmp mananges this group membership

76
Q

Types of tcp/ip communication

A

Unicast (one to one)
Multicast (one to many)
Broadcast (one to all)
Anycast (one to one of many)

77
Q

how Multicast works

A

uses a multicast group. sends to everyone who chooses to subscribe.

78
Q

Anycast

A

a number of comps will subscribe to an any cast address. When server sends out info it is sent to the closest of all comps subscribed

79
Q

What is an IP address

A

a 32 bit address that is used to uniquely identify a computer on a network.
The NW ID portion of the IP address identifies the network where the computer sits.
The Host ID portion of the IP address uniquely identifies the computer on its network.

80
Q

analogy for an IP address

A

a lot like a street address.
NW ID portion is like the name of the street.
The Host ID portion is like the house number.

81
Q

Left most portion of the IP address

A

is the NW ID

82
Q

Right most portion of the IP address

A

is the Host ID

83
Q

Subnet Mask purpose

A

to determine where the division between NW and Host IDs in an IP address

84
Q

What are the numbers in the Subnet Mask and what do they represent?

A

Subnet mask always begins with 255s on the right and ends with 0s on the right side.
255s represent the Network ID and the 0s represent the Host ID

85
Q

are subnet masks required?

A

Subnet mask is not an optional component. An ip address will always have a subnet mask.

86
Q

How to view IP configuration

A

Command Prompt (cmd) > type in ipconfig

87
Q

How to test connectivity

A
Use ping (basically tries to go out an touch another comp)
Command Prompt > enter ping IPaddress
88
Q

What Ping does

A

sends out an echo request. If computer receives the request, it will send a message back. Makes 4 attempts incase there is a small hiccup on the 1st ping.