Network Fundamentals Flashcards

1
Q

What different transmission types exist

A

Broadcast links

Point to point links

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

Explain broadcast networks

A

Single communication channel shared by all machines on network. Packets sent are received by every machine and contain intended recipient.

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

What is multicasting?

A

Mode of operation that allows subset of machines to process given packet

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

Explain point to point links

A

Many connections between individual pairs of machines. Packets travelling between must visit intermediate machines. Various routes of different optimisation levels are available.

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

What is unicasting?

A

when point to point networks with single sender and receiver pair can share data

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

What does LAN stand for?

A

local area network

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

How can we distinguish LANs?

A

1) time: worst case transmission time can be determined in advanced
2) transmission technology: wired or wireless
3) topology: bus or ring

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

Explain bus in topology

A

Only single machine on network can transfer data at any time
Requires negotiation mechanism to resolve transmission conflicts
Ethernet is most common bus network

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

Explain ring in topology

A

Each transmission bit is propagated individually
Requires access control to resolve propagation queuing
Token ring (outdated), FDDI is most common ring network

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

What does WAN stand for?

A

Wide area network

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

Define link in the network context

A

Connection between 2 devices in network

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

What is bandwidth?

A

Max speed in which data can be transmitted on link

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

How is data transferred through the internet?

A

Circuit switching

Packet switching

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

Do links have the same bandwidth?

A

No

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

Explain circuit switching

A

End-to-end resources reserved for the session. Requires initial setup to reserve the resources. Dedicated resources with reserved bandwidth; no sharing

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

Explain packet switching

A

Sender divides data into packets, each of which contains a header (with source and destination address)
Network interface hardware transforms data for physical transmission then network delivers packets to destination (path may change!!!!). Receiver converts physical signal back into data packet. Receiver assembles packets back into data. Packets may be lost, corrupted or delivered out of order.

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

What are some advantages of packet switching?

A

Different packets can take different routes; resource sharing (packets from different users share resources)
Better utilisation of network resources

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

What are some disadvantages of packet switching?

A

No performance guarantees (hope it will get to destination but it may not)
Congestion: packets may be lost

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

What is a network protocol stack?

A

A stack of layers. Each layer provides a service to the layer above. Hierarchical approach.

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

What is http?

A

Network protocol. hypertext transfer protocol

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

What is a connection oriented service?

A
  • connect, disconnect, use
  • negotiation inherent in connection setup
  • similar to telephone service
  • packets travelling between destinations all use same route
  • eg. Telco, guarantees reliability of subnet (QoS important)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is a connectionless service?

A
  • use
  • message routed through intermediate nodes
  • similar to postal service
  • packets (datagrams) injected into subnet independently and packets are individually routed to destination
  • eg. internet (QoS not easily implemented)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is a service?

A
  • set of primitives that a layer provides to a layer above it
  • interfaces between layers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What is a protocol?

A

rules that govern the format and meaning of packets that are exchanged by peers within a layer
packets sent between peer entitites

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

What is the difference between a protocol and a service?

A

A service interfaces between layers, where protocol is packets sent between peer entities in same layer

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

Why do we need a network reference model?

A

Common baseline for development of many services and protocols by independent parties

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

What is the purpose of an API?

A

application programming interface (API) is a set of routines, protocols, and tools for building software and applications.

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

What is the OSI reference model?

A

Operation Systems Interconnection.

  • layer should be created where a different abstraction is needed
  • each layer should perform a well defined function
  • function of each layer should be chosen with a view toward defining internationally standardised protocols
  • layer boundaries should be chosen to minimise information flow across interfaces
  • number of layers should be large enough that distinct functions need not be thrown together in same layer out of necessity and small enough that architecture doesn’t become too unwieldy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Explain the components of OSI model

A
Application: APDU
Presentation: PPDU
Session: SPDU
Transport: TPDU
Network: Packet
Data link: Frame
Physical: Bit

where first word after is the unit exchanged.

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

What is TCP/IP model?

A

Transmission control protocol/internet protocol

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

Does TCP/IP depend on infrastructure?

A

No

32
Q

What layers are in TCP/IP model?

A

Application
Transport
Internet
Host to network

33
Q

Explain host to network layers

A

This is in TCP/IP reference model.
It consists of:
Physical layer -
corresponds to signalling technology, done in hardware

Data link layer -
frame management: take packets from network layer and encapsulate them into frames (containing header, payload, trailer)

       ethernet device address or MAC (media access control) address: 48 bit unique address
34
Q

Explain purpose of network layer

A

Provide necessary functionality to combine networks and route data through network:

  • creates internet address space(each host has 32 bit IP address)
  • runs IP routing software
  • implements packet routing across networks, defines a packet consisting of header and payload
  • used to forward data among computer networks
  • intermediate hosts are typically called gateways
35
Q

What is contained within the header?

A

Packet size, source & destination address

36
Q

What is contained within the payload?

A

contains data bits sent from source to host

37
Q

What is a gateway?

A

Intermediate host

38
Q

What do we call intermediate hosts?

A

Gateways

39
Q

What is an IP address?

A

internet protocol. hierarchical, not portable. depends on IP subnet to which node is attached

40
Q

What is a MAC address?

A

media access control. flat, portable, can move LAN card from one LAN to another

41
Q

Distinguish between IP and MAC addresses?

A

IP: like a postal address, internet protocol. hierarchical, not portable. depends on IP subnet to which node is attached

MAC: like social security number, media access control. flat, portable, can move LAN card from one LAN to another

42
Q

What do switches do?

A

Link layer device
Maintain switch table
Implement filtering algorithms
Plug-and-play; self learning

43
Q

What do routers do?

A

Network layer device
Maintain forwarding table
Implementing routing algorithms
Must be configured by admin

44
Q

Explain the transport layer

A

This has 2 primary protocols.
TCP (transmission control protocol): connection oriented, reliable delivery, provides stream-oriented access to network
UDP (user datagram protocol): connectionless (no guarantee packets will be delivered), more efficient relative to TCP

This layer has 16 bit port number as interface for applications
Provide reliable cost-effective data transport from source to destination independent of physical or data networks

45
Q

What are the 2 primary protocols of the transport layer? Which is more efficient?

A

TCP (transmission control protocol): connection oriented, reliable delivery, provides stream-oriented access to network
UDP (user datagram protocol): connectionless (no guarantee packets will be delivered), more efficient relative to TCP

46
Q

What is the difference in reliability between network and transport layers?

A

Network layer is unreliable. Transport layer is reliable.

47
Q

Explain the application layer and give examples

A

Examples: HTTP, FTP, SMTP, DNS

Treats transport layer and lower protocols as black boxes

48
Q

What does transport layer provide application layer?

A

application layer relies on network layer to help provide a service
service is between processes (eg. sockets)

49
Q

What does network layer provide application layer?

A

services between nodes (eg. routers and hosts)

hides details of link technology (eg. IP)

50
Q

What is a key function of the network layer?

A

Forward packets from source to destination

51
Q

What is QoS?

A

Quality of service

52
Q

What issues should be considered when connecting networks?

A

different network types and protocols
different motivations for network choices
different technologies at both hardware and software levels

53
Q

What does a packet contain?

A

A header (with source and destination address)

54
Q

Explain how packets travel within a network

A

The sender puts data into packets
Network interface hardware transforms data for physical transmission
Network delivers packets to variable destination
Receiver converts physical signal back into data packet
Receiver assembles packets back into data

55
Q

What is IP?

A
Internet protocol. Provides best effort service to route datagrams from source host to destination host.
Connectionless model (path taken can be different)
56
Q

Does IP use connection oriented or connectionless model?

A

Connectionless

57
Q

What are IP design goals?

A

Services should be independent of router technologies (remember path taken can be different)
Transport layer should be shielded from number, type and topology of routers
Network addressing should use a uniform numbering pattern

58
Q

How many bits is IP?

A

32 bits

59
Q

Describe structure of IPv4

A

Consists of header and some text
Header is 20 bit fixed part + variable length optional part
Version: IPv4 or IPv6
IHL: internet header length is variable
Type: differentiates different classes of service
Total length: header and payload, max length 65535 bytes
Identification: allows host to determine which datagram new fragment belongs to
DF: don’t fragment byte
MF: more fragment byte - is this last frag? are there more?
Fragment offset: where in datagram current fragment belongs
TTL: limits packet lifetimes (time to live)
Protocol: TCP, UDP, others
Header checksum: verifies header only
Source address: IP - host/network
Destination address: IP - host/network
Options: dw about these

60
Q

Explain time to live

A

we give packets of data a certain time to jump between nodes to get to their destination. if they don’t make it in that time frame, the packet is deleted. This is part of the IPv4 frame structure

61
Q

What is the purpose of fragmentation?

A

allows network gateways to meet size constraints

62
Q

Explain IP addresses

A

32 bit number that encodes network and host number

0.0.0.0 is lowest and 255.255.255.255 is highest

63
Q

What does 127.0.0.1 mean?

A

127.0.0.0 has all zeros for the host bits, so it is a network address. 127.0.0.1 is a loopback address.

64
Q

What is subnetting?

A

Allows networks to be split into several parts for internal uses while acting like a single network for external use

65
Q

What 2 types of notation can subnet masks be written in?

A

Dotted decimal or slash

66
Q

What is a NAT box?

A

Network address translation: in this local area, everyone has same address. NAT determines which internal device sent out a request (remember all machines on home network have same IP)

67
Q

What different classes of IP are available?

A

Class A: 128 networks, 16m hosts each, , 8/24
Class B: 16,384 networks, 64k hosts each, 16/16
Class C: 2m networks, 256 hosts each, 24/8
Class D: multicast
(host vals should be -2)
Recall that class a uses 1 bit (0) to identify it as being class a, class b uses 2 bits (10) and class c uses 3 (110)

68
Q

What is the network ID?

A

First address (all 0s in host portion)

69
Q

What is the broadcast address of subnet?

A

Last address with all 1s in host portion

70
Q

What is a subnet mask?

A

32-bit number that masks an IP address, and divides the IP address into network address and host address. Subnet Mask is made by setting network bits to all “1”s and setting host bits to all “0”s.

71
Q

What is a network?

A

Interconnected or intersecting system of components

72
Q

Is the internet a single network?

A

No, it’s a network of networks with a single point of control

73
Q

What is the WWW?

A

Distributed system that runs on top of internet

74
Q

What is responsible for error detection/correction in packet switching?

A

Higher-level protocol

75
Q

Does IP depend on router technology?

A

No, these should be independent

76
Q

What is fragmentation?

A

This allows data to fit through smaller gateways.

77
Q

What’s the difference between ipv4 and ipv6?

A

ipv6 is 128 bits instead of 32