CSEC 701 Computer Networks 2

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/57

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

58 Terms

1
New cards

data link layer

transforms the physical layer to a reliable link, includes framing, physical addressing, flow control, error control, access control, hop-by-hop delivery

2
New cards

data link control LLC

communication between two adjacent nodes, framing, flow and error control

3
New cards

media access control MAC

how to share the link among multiple devices, subject to lots of collision

4
New cards

multiple access protocol 

determines how nodes share a channel, 

5
New cards

MAC address

48 bit, allocated by IEEE or burned in adapter ROM

6
New cards

IP address

network layer address, 32-bit, associated with each interface, not with the host, composed of network ID and host ID

7
New cards

CSMA/CD

senses if line is free before transmitting, used for ethernet 

8
New cards

ethernet preamble

8 bytes, used to synchronise receiver, serves as start of frame

9
New cards

ethernet address

6 bytes (48 bit) if adapter recieves frame with matching destination address or with broadcast address, it passes data to network layer or it is discarded

10
New cards

promiscuous mode

allows listening to all frames 

11
New cards

ethernet type

2 bytes, indicates the higher layer protocol

12
New cards

ethernet data payload

46-1500 bytes

13
New cards

ethernet FCS

4 bytes, checked at receiver, if error is detected then the frame is dropped

14
New cards

minimum frame length

chosen as 64 bytes, padding is added if less than 46

15
New cards

maximum frame length

1518 for the whole frame, 1500 bytes data; limits buffer memory requirements and prevents monopolizing

16
New cards

maximum transmission unit

size in bytes of the largest packet that a given layer of a communications protocol can pass onwards, larger packets means fragmentation 

17
New cards

IEEE 802.3 size

1492

18
New cards

ethernet II

1500

19
New cards

if length is grater than 1536

it is ethernet II frame 

20
New cards

repeater

can extend the phsycial length of a LAN, connects two segments of the same LAN

21
New cards

hub

repeats the signal to all connected segments, creating a big collision domain

22
New cards

bridge (DL)

separates collision domain, bandwth is shared only in one collision domain and bridge passes the frames destined to other domains 

23
New cards

switch

N-port bridge, between two hosts and direct connection=no collisions and full duplex, divides the collision domain

24
New cards

switch table

includes MAC address, interface, and time stamp, stale entries in table dropped

25
New cards

protocol stack 

includes application, transport, internet, link & hardware 

26
New cards

network layer

end to end delivery

27
New cards

IP address delivery

packet is delivered to the organization first (with network ID), then the organization finds the host (with host ID)

28
New cards

classful addressing

used the concept of classes (A, B, C, D, E)

29
New cards

how does computer get an IP address

hard coded by system admin or DHCP

30
New cards

DHCP

dynamically get address from a server

31
New cards

how does an org get a block of IP address

get allocated portion of its ISP’s address space

32
New cards

how does ISP get block of addresses

RIR assigns it

33
New cards

how does RIR get the IP address block

it is assigned by IANA under ICANN

34
New cards

IP address shortage

due to mobile devices, more internet connectivity, insufficient address usage

35
New cards

permanent IP solution

IPv6 as 128 bit address

36
New cards

temporary IP address

get rid of classes (CIDR) and dont assign static (public) IP address to everyone (use private address)

37
New cards

classless addressing

any number of addresses can be granted to an org

38
New cards

private address

given to devices within the internal network; not globally unique and not routed; they are invisible to outside world 

39
New cards

ARP table

IP address to MAC address

40
New cards

MAC address vs IP address

MAC address works only in LAN, to send it across multiple LAN need to use IP address

41
New cards

static address mapping

creating a table manually

42
New cards

dynamic mapping

logical to physical: ARP

physical ot logical: RARP, BOOTP, DHCP

43
New cards

ARP

IP/MAC address mappings for some LAN modes, kept for limited time to allow dynamic change

44
New cards

RARP

a client sends RARP request, a RARP server replies with the answer, the data link layer broadcast worls only in one LAN

45
New cards

BOOTP

application layer protocol, uses UDP (port 67), communcation between client and remote server

46
New cards

relay agent

retransmits the request packets and who knows the BOOTP server address

47
New cards

BOOTP problem

phsycial to logical relation is predetermined and permanent

48
New cards

DHCP

backward compatible with BOOTP, dynamic address allocation

49
New cards

ICMP

error reporting mechanism, router discarding a packet, destination is unreachable

50
New cards

ICMP route

  1. source sends series of UDP segemnts to dest

  2. when the n-th datagram arrives to the n-th router: router discards datagram

  3. when ICMP message arrives, source calculates RTT

51
New cards

routing table

indicates to which direction to send a packet

52
New cards

autonomous system AS

a collection of IP networks and routers under the control of one entity, typically an internet service provider or a large organization

53
New cards

within an AS

interior gateway protocol: ASPF, RIP

54
New cards

between ASes

exterior gateway protocol: BGP, routers in different AS can run different IGP

55
New cards

fragmentation

when the packet is alrger than MTU, it gets broken up and only reassembled at the dest

56
New cards

fields in header

identification (16 bit), flags, offset (13 bit)

57
New cards

offset

beginning byte location / 8

58
New cards

MF field

0 for last packet