Network Fundamentals Flashcards

(77 cards)

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
What is the difference between a protocol and a service?
A service interfaces between layers, where protocol is packets sent between peer entities in same layer
26
Why do we need a network reference model?
Common baseline for development of many services and protocols by independent parties
27
What is the purpose of an API?
application programming interface (API) is a set of routines, protocols, and tools for building software and applications.
28
What is the OSI reference model?
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
29
Explain the components of OSI model
``` Application: APDU Presentation: PPDU Session: SPDU Transport: TPDU Network: Packet Data link: Frame Physical: Bit ``` where first word after is the unit exchanged.
30
What is TCP/IP model?
Transmission control protocol/internet protocol
31
Does TCP/IP depend on infrastructure?
No
32
What layers are in TCP/IP model?
Application Transport Internet Host to network
33
Explain host to network layers
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
Explain purpose of network layer
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
What is contained within the header?
Packet size, source & destination address
36
What is contained within the payload?
contains data bits sent from source to host
37
What is a gateway?
Intermediate host
38
What do we call intermediate hosts?
Gateways
39
What is an IP address?
internet protocol. hierarchical, not portable. depends on IP subnet to which node is attached
40
What is a MAC address?
media access control. flat, portable, can move LAN card from one LAN to another
41
Distinguish between IP and MAC addresses?
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
What do switches do?
Link layer device Maintain switch table Implement filtering algorithms Plug-and-play; self learning
43
What do routers do?
Network layer device Maintain forwarding table Implementing routing algorithms Must be configured by admin
44
Explain the transport layer
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
What are the 2 primary protocols of the transport layer? Which is more efficient?
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
What is the difference in reliability between network and transport layers?
Network layer is unreliable. Transport layer is reliable.
47
Explain the application layer and give examples
Examples: HTTP, FTP, SMTP, DNS | Treats transport layer and lower protocols as black boxes
48
What does transport layer provide application layer?
application layer relies on network layer to help provide a service service is between processes (eg. sockets)
49
What does network layer provide application layer?
services between nodes (eg. routers and hosts) | hides details of link technology (eg. IP)
50
What is a key function of the network layer?
Forward packets from source to destination
51
What is QoS?
Quality of service
52
What issues should be considered when connecting networks?
different network types and protocols different motivations for network choices different technologies at both hardware and software levels
53
What does a packet contain?
A header (with source and destination address)
54
Explain how packets travel within a network
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
What is IP?
``` Internet protocol. Provides best effort service to route datagrams from source host to destination host. Connectionless model (path taken can be different) ```
56
Does IP use connection oriented or connectionless model?
Connectionless
57
What are IP design goals?
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
How many bits is IP?
32 bits
59
Describe structure of IPv4
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
Explain time to live
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
What is the purpose of fragmentation?
allows network gateways to meet size constraints
62
Explain IP addresses
32 bit number that encodes network and host number | 0.0.0.0 is lowest and 255.255.255.255 is highest
63
What does 127.0.0.1 mean?
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
What is subnetting?
Allows networks to be split into several parts for internal uses while acting like a single network for external use
65
What 2 types of notation can subnet masks be written in?
Dotted decimal or slash
66
What is a NAT box?
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
What different classes of IP are available?
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
What is the network ID?
First address (all 0s in host portion)
69
What is the broadcast address of subnet?
Last address with all 1s in host portion
70
What is a subnet mask?
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
What is a network?
Interconnected or intersecting system of components
72
Is the internet a single network?
No, it's a network of networks with a single point of control
73
What is the WWW?
Distributed system that runs on top of internet
74
What is responsible for error detection/correction in packet switching?
Higher-level protocol
75
Does IP depend on router technology?
No, these should be independent
76
What is fragmentation?
This allows data to fit through smaller gateways.
77
What's the difference between ipv4 and ipv6?
ipv6 is 128 bits instead of 32