TCP / IP and Subnet Masking Flashcards

(88 cards)

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
Static IP
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
26
Dynamic IP addresses
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
27
What does dhcp allow for?
The automatic distribution of IP addresses | It keeps track of IP adresses issued so that no two computers receive the same IP address
28
What happens in DHCP process?
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".
29
NAT
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
30
How NAT works
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.
31
NATs purpose
Makes it so each computer doesnt need an absolute unique IP address
32
Subnet Masking
sdf
33
Define a Protocol
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
34
Stack definition
a "stack" of many small protocols to make up one big protocol
35
Analogy for NW Protocols
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
36
Standard of communication for computers
the OSI Model
37
Purpose of the OSI Model
sets the basic standard for ALL NW communication
38
7 layers of the OSI model
``` Application Presentation Session Transport Network Data Link Physical ```
39
Neumonic saying for 7 Layers of OSI model
``` A Preist Saw Two Nuns Doing Pushups ```
40
Application Layer
deals with network API's. | Gateway layer
41
Presentation Layer
deals with formatting for data to be sent
42
Session layer
synchronization between the computers
43
Transport layer
packet management, where message is broken into pieces and ordered to be sent Layer that TCP is on
44
Network layer
Addressing and Routing layer that IP is on. Router layer
45
Data Link layer
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
Physical layer
hardware, how are we connected to the internet? | Hub / Repeater
47
How data travels through the OSI model
sending comp always sends data DOWN through OSI model. | receiving comp receives the data UP through the
48
Header
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
Trailer
information added to data by the Data Link layer to ensure data is not corrupted in transit
50
even though data travels down and up through the layers, what does each layer believe?
each individual layer believes it is directly connected to its corresponding layer.
51
tcp/ ip architechture based on
DARPA model
52
DARPA model
4 layer model, | each layer coressponds to one or more layer of OSI model
53
Names of
application transport internet network
54
What layers of DARPA model correspond to the OSI model?
Application -> application, presentation, session Transport -> Transport Internet -> Network Network Access -> Data Link, Physical
55
headers in darpa model
each layer of darpa model adds headers like in OSI model
56
Protocols in Application layer of TCP/IP / DARPA model
http, ftp, smtp, dns, rip, snmp
57
Protocols in Transport layer of TCP/IP / DARPA model
TCP, UDP
58
Protocols in Internet layer of TCP/IP / DARPA model
IP, ARP, ICMP, IGMP
59
Protocols in Network Access layer of TCP/IP / DARPA model
Ethernet, Token Ring "low level protocols"
60
TCP
Transmission Control Protocol
61
What is TCP
one to one connection between comps, connection-oriented communication, "reliable" communication
62
connection-oriented communication, and 3-way handshake
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
What is the 3 - way handshake?
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
Reliable Communication
each comp sends back acknowledgement of reception of each others messages Like sending certified mail
65
UDP
User Datagram Protocol Typically used when one is trying to communicate with many, connectionless, unreliable communications
66
Unreliable Communication
no acknowledgement of receipt by receiving computer. Like sending uncertified mail
67
analogy of UDP
radio broadcasting
68
Internet Layer Protocols
IP, ARP, ICMP, IGMP
69
Transport Layer Protocols
TCP and UDP
70
IP Protocol
used for addressing and routing
71
ARP
Address Resolution Protocol Resolves an IP address down to the computers hardware address. Computers actually communicate based on their hardware addresses
72
ICMP
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
analogy for icmp
receive a letter back marked return to sender. letting you know there was an error in sending
74
IGMP
Internet Group Management Protocol. | Manages IP multicast group membership.
75
Multicast communication
requires membership to this group and igmp mananges this group membership
76
Types of tcp/ip communication
Unicast (one to one) Multicast (one to many) Broadcast (one to all) Anycast (one to one of many)
77
how Multicast works
uses a multicast group. sends to everyone who chooses to subscribe.
78
Anycast
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
What is an IP address
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
analogy for an IP address
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
Left most portion of the IP address
is the NW ID
82
Right most portion of the IP address
is the Host ID
83
Subnet Mask purpose
to determine where the division between NW and Host IDs in an IP address
84
What are the numbers in the Subnet Mask and what do they represent?
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
are subnet masks required?
Subnet mask is not an optional component. An ip address will always have a subnet mask.
86
How to view IP configuration
Command Prompt (cmd) > type in ipconfig
87
How to test connectivity
``` Use ping (basically tries to go out an touch another comp) Command Prompt > enter ping IPaddress ```
88
What Ping does
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.