8 - Internet & TCP/IP Flashcards

1
Q

Requirements of Internetworking (4)

A
  • provide a link between networks
  • provide routing and delivery of data between process on different networks
  • provide an accounting service to keep track
  • accommodate the differences between different sub-networks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

RFCs

A

Requests for Comments

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

TCP/IP Protocol Architecture incl. matching OSI model layer

A
  • (7-5) 4 Application
  • (4) 3 Transport
  • (3) 2 Internet
  • (1-2) 1 Network Access
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Role of Network Access from TCP/IP

A

route date between hosts on the same network

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

Role of Internet from TCP/IP

A

route data across multiple networks and hosts

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

Roles of classes in TCP/IP Addr ?

A

Leading bits

  • A - 0
  • B - 10
  • C - 110
  • D - 1110 (multicast)
  • E - 11110 (reserved)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Addr are encoded via the …

A

… MSB

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

CIDR

A
  • Classless Inter Domain Routing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

CIDR reasons

A

Allows us to subnet IP addr for

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

Calculating same subnet

A
  • Perform logic AND between addr and subnet mask
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

CIDR uses (3)

A
  • routing tables
  • configuring firewalls
  • security services
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

ARP

A

Addr Resolution Protocol

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

Reason for ARP?

A

Allows a host to discover the mapping for a given IP addr by maintaining a table

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

ARP Packet Outline

A

Dest addr -> src addr -> type -> ARP req or repl -> padding -> CRC

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

ARP Method (3)

A
  • Hosts wants to find eth addr of a gateway
  • ARP is broadcasted, all hosts receive packet and update tables
  • Gateway replies with OpCode 2 and appropriate fields
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Types of IP config

A

State + Dynamic

17
Q

DHCP (3)

A

Dynamic Host Configuration Protocol

  • Dynamic: allocates IP addr on a lease
  • Auto: remembers IP addr for MAC
  • Static: fixed IP addr
18
Q

DHCP Connection

A

Disc -> Offer -> Req -> ACK -> ARP

19
Q

ICMP

A

Internet Control Message Protocol

- allows host and routers to discover and communicate characteristics of the network

20
Q

ICMP Ping

A

Echo request to see if connected

21
Q

ICMP Traceroute (5)

A
  • UDP packet sent to address with TTL of 1
  • 1st route decrements TTL and send back expired packet
  • Sender then knows RTT
  • Sends out UDP packet with TTL incremented by 1
  • Eventually reaches unreachable port