2.1 Intro to IP Flashcards

1
Q

A series of moving vans

A

Efficiently move large amounts of data – Use a shipping truck
* The network topology is the road
– Ethernet, DSL, cable system
* The truck is the Internet Protocol (IP)
– We’ve designed the roads for this truck
* The boxes hold your data
– Boxes of TCP and UDP
* Inside the boxes are more things – Application information

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

– Use a shipping truck
* The network topology is the road
– Ethernet, DSL, cable system
* The truck is the Internet Protocol (IP)
– We’ve designed the roads for this truck
* The boxes hold your data
– Boxes of TCP and UDP
* Inside the boxes are more things
– Application information

A

A series of moving vans

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

TCP and UDP

A
  • Transported inside of IP
    – Encapsulated by the IP protocol
  • Two ways to move data from place to place
    – Different features for different applications
  • OSI Layer 4
    – The transport layer
  • Multiplexing
    – Use many different applications at the same time
    – TCP and UDP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  • Transported inside of IP
    – Encapsulated by the IP protocol
  • Two ways to move data from place to place
    – Different features for different applications
  • OSI Layer 4
    – The transport layer
  • Multiplexing
    – Use many different applications at the same time
    – TCP and UDP
A

TCP and UDP

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

TCP – Transmission Control Protocol

A
  • Connection-oriented
    – A formal connection setup and close
  • “Reliable” delivery
    – Recovery from errors
    – Can manage out-of-order messages or retransmissions
  • Flow control
    – The receiver can manage how much data is sent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  • Connection-oriented
    – A formal connection setup and close
  • “Reliable” delivery
    – Recovery from errors
    – Can manage out-of-order messages or retransmissions
  • Flow control
    – The receiver can manage how much data is sent
A

TCP – Transmission Control Protocol

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

UDP – User Datagram Protocol

A
  • Connectionless - No formal open/close to the connection
  • “Unreliable” delivery
    – No error recovery
    – No reordering of data or retransmissions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  • Connectionless - No formal open/close to the connection
  • “Unreliable” delivery
    – No error recovery
    – No reordering of data or retransmissions
A

UDP – User Datagram Protocol

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

Why would you ever use UDP?

A
  • Real-time communication
    – There’s no way to stop and resend the data
    – Time doesn’t stop for your network
  • Connectionless protocols
    – DHCP (Dynamic Host Configuration Protocol)
    – TFTP (Trivial File Transfer Protocol)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Communication using TCP

A
  • Connection-oriented protocols prefer a “return receipt” – HTTPS (Hypertext Transfer Protocol Secure)
    – SSH (Secure Shell)
  • The application doesn’t worry about out of order frames or missing data
    – TCP handles all of the communication overhead – The application has one job
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Speedy delivery

A
  • The IP delivery truck delivers from one (IP) address to another (IP) address
    – Every house has an address, every computer
    has an IP address
  • Boxes arrive at the house / IP address – Where do the boxes go?
    – Each box has a room name
  • Port is written on the outside of the box – Drop the box into the right room
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Lots of ports

A
  • IPv4 sockets
    – Server IP address, protocol,
    server application port number
    – Client IP address, protocol, client port number
  • Non-ephemeral ports
    – permanent port numbers
    – Ports 0 through 1,023
    – Usually on a server or service
  • Ephemeral ports – temporary port numbers
    – Ports 1,024 through 65,535
    – Determined in real-time by the client
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Port numbers

A
  • TCP and UDP ports can be any number between 0 and 65,535
  • Most servers (services) use non-ephemeral (not-temporary) port numbers
    – This isn’t always the case
    – It’s just a number.
  • Port numbers are for communication, not security
  • Service port numbers need to be “well known”
  • TCP port numbers aren’t the same as UDP port numbers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly