Exam 1 essays Flashcards
Edge vs. Core - understand the concept to describe it, sketch it, and explain it
- Edge: end systems, access networks, links
- hosts: clients and servers (servers are often in data centers)
- core: packet switching, circuit switching, network structure
- interconnected routers, network of networks
- key functions: routing and forwarding
what are the ways that residents access the internet? Describe. Draw a schematic.
Point to Point access:
- DSL (digital subscriber line): use existing telephone line to central office DSLAM
- Dialup via Modem: can’t surf the web and be on the phone at the same time
- Cable Modems: network of cable and fiber that attaches homes to ISP router, the home shares access to the router, available via cable TV companies
- Home Network: router connects to wireless access point and creates own LAN point
What are the ways that companies access the internet? Describe.
- Enterprise access network (ethernet): end systems connect to ethernet switch that are connected to institutional mail, web servers, and institutional routers and ISP’s
- Companies also can access the internet wirelessly through access points at a base station
Describe three types of guided, physical media. Which is best for which kind of situation? Why?
Transmits signal out of computer onto something you can touch
- Coaxial Cable: two concentric copper conductors that are bidirectional and broadband capable to hold multiple channels on one single cable (LAN use)
- Fiber Optical Cable: glass fiber that carries light pulses through high speed operation point to point transmission, there is also low error rate that spaces repeaters far apart and are immune to electromagnetic noise. greater security, higher bandwidths
- Twisted Pair: two insulated copper wires that is the most popular network cable used in data networks due to lower cost
Describe two types of unguided, wireless media. Which of these is best for which kind of situation and why?
Signals propagate freely
- Radio: signal that is carried through electromagnetic spectrum with no physical wire, bidirectional (terrestrial microwave, Lan, wide area, satellite)
- Wireless (wifi) or Wide Area Cellular: requires no physical wire, all in the “air” come in directional (point to point) or omnidirectional (waves in all directions)
Explain the difference between circuit switching and packet switching. Draw a diagram of each. Which one is more efficient? why? what are silent periods?
- Packet switching is more efficient and shares more than one pipe. This type allows the use of many different routers More durable and efficient. not reliable for interaction of real time (skype) most common with email
- circuit switching is typically on the phone. only use pipe the is completely dedicated to your conversation. less efficient.
- silent periods: in circuit switching, reduces the mean bandwidth per voice flow and reduces the interferences with other transmitters
Explain the difference between TDM and FDM. What do these stand for? Draw a diagram of each. which one is more commonly used in networks? what is the purpose of multiplexing in the first place?
- Time Division Multiplexing (TDM): take signals and squish them onto one pipe using time. used in organizations moving big amounts of data
- Frequency Division Multiplexing (FDM): frequency waves on AM/FM that take signals and add/subtract frequencies to allow more signal on the same wire/space
- multiplexing is used because it is cost effective to a business
Draw the TCP/IP layer model and explain each layer in detail using the handout in class that has the virtual circuit on it. What layer does this virtual circuit appear on? why is it called a virtual circuit?
- Application: the users access to the network. uses application software. ex. internet explorer, skype, outlook. Defines the message on the internet
- Transport: links application layer to network layer. if we want to be reliable it will set up a virtual circuit. establishes an end to end connection. Breaks long messages up into small ones and numbers them, detects lost messages and resends them
- Network: in charge of routing and address finding
- Data Link: moves packet from one router to the next. controls the physical layer. formats the start and stop of messages. corrects errors.
- Physical: the physical connection between the sender and receiver
- Virtual Circuit: not real but appears physical to the user. on the Transport layer
How does TCP/IP model compare to the OSI 7 layer model? what are models used for?
- OSI 7: transport layer guarantees the delivery of packets, follows horizontal approach, has a separate presentation layer, provides both connectionless and connection oriented service, has 7 layers
- TCP/IP: the transport layer does not guarantee delivery of packets, vertical approach, does not have a separate presentation layer, network layer provides connectionless service, 5 layers
- models are used as a reference tool and also to five a visual of how the system works
What are the 4 causes of delay? Explain in detail the 4 causes of delay and use a diagram to do this. What is end to end delay made up of? Are there other places that we can find delay in networks too?
- Processing: associated with how sophisticated your processor is in your switch
- Queueing: waiting to get onto a pipe. delay happens when to many people are trying to access a pipe at once
- Transmission: how quickly or slowly the actual pipe runs. copper = slow
- propagation - physical distance to someone
- end to end is made up of processing, transmission, and propagation
- bad wifi connection can cause delay
What is the role of packet switching in statistical multiplexing?
statistical multiplexing: giving priority of the time slots on the pipe to whoever uses it the most. the people on the most get more time slots
What is a regional ISP vs. a Tier 1 ISP? What is the PoP? Describe how ISP’s hand off packets amongst each other. Draw a sketch to help us understand this issue. What is peering?
- regional ISP: where their ISP’s in the region connect. Each regional ISP then connects to tier 1 ISPs
- tier 1 ISP: similar to global transit ISP, but Tier 1 do not have a presence in every city in the world
- Pop: a group of one or more routers at the same location in the providers network where customers ISP can connect to provider ISP
- Peering links: directly connect their networks together so that all of the traffic between them passes over direct connection rather than through upstream intermediaries
- Internet exchange point: a meeting point where multiple ISPs can peer together
Why and how do packets get dropped in networks? What do we do if we drop a packet?
- a queue preceding link in buffer has a finite capacity and a packet arriving to a full queue gets dropped
- UPD: you will not know if you lost a packet
- TCP: packets get numbered and if one is missing it will get resent
Give 4 places where bottlenecks might occur in a sample network and draw a sketch of this to help us understand this
- bottleneck: a point where the flow of data is impaired or stopped entirely
Draw a picture of a packet sniffer and explain how it work
- a promiscuous network interface reads and records all packets passing by
What is an application layer message?
A transport layer message?
A network layer datagram?
A link layer frame?
application: sent from the sending host to the transport layer
transport: encapsulates the application layer message
network: adds source and destination end system addresses
link layer: the continuing datagram picks up link layer header information and creates a link layer frame
What is a botnet?
What is a DoS attack?
What is a DDoS attack?
- botnet: compromised host may also be enrolled in a network of thousands of similarly compromised devices, collectively known as a botnet
- DoS Attack: a broad class of security threats, it renders a network, host, or other piece of infrastructure unusable by legitimate users
- DDoS Attack: the attacker controls multiple sources and has each source blast traffic at the target
What is the difference between a virus, a worm, and a trojan horse?
- Virus: a malware that requires some form of user interaction to infect the user’s device ex. clicking on an email attachment
- Worm: a malware that can enter a device without any explicit user interaction
- Trojan Horse: a program that claims to rid your computer of viruses but instead puts viruses on it
What is analog?
What is digital?
How can we convert between analog and digital?
What is the sampling rate and how does that relate to the quality of a replicated digital bit stream with something like a CD? Skype?
- Analog: your voice vibrates a wire which causes the signal and electrons to move down the wire in waves (vinyl record)
- Digital: converts analog to binary using sampling
- Convert: Sampling a voice in slots of time (CD = 8,000/sec) and then quanticizes it and then digitizes it and then sends the 0s and 1s down the wire and mimics the original voice
- Sampling rate: the average number of samples obtained in one second
- CDs have a higher sampling rate of they are better quality than skype
What are some common status codes of HTTP?
- 200 ok
- 301 moved permanently
- 302 not found
- 304 not modified
- 400 bad request
- 401 unauthorized
- 403 forbidden
- 404 not found
- 505 http version not supported
Draw a detailed chart of how to keep user state with cookies and explain that and how it works. How does it work with a shopping cart?
How to keep state
- Protocol endpoints: maintain state at sender/receiver over multiple transactions
- cookies: http message carry state. they permit sites to learn a lot about you (ex. name, email, card number)
- shopping carts: your cookies remember what items you put in your shopping cart
Explain the difference between a port and a socket. Draw and explain what process, socket and then how the underlying transport protocol choice is made.
- Port: a logical connection place, specifically, using the internet’s protocol, TCP/IP, the way a client program specifies a particular server program on a computer in a network
- Sockets: process sends/receives messages to/from its socket
- Socket to door analogy:
1. sending process shoves message out door
2. sending process relies on transport infrastructure on other side of door to deliver message to socket at receiving process
What is the difference between a client server architecture and a peer to peer architecture? Which one is better for what types of applications and why?
- client server: everything is located and controlled by a server with a permanent IP address. It is very secure but also expensive. used with big networks or sensitive data
- peer to peer: no central server with everything on it. each of the peers have a piece of information so no one has all of it. fast but very poor security. used for content delivery or file sharing networks
Describe P2P architecture, discuss some of the pluses and minuses of it, then give 3 commercial examples of a P2P architecture.
- P2P: no central server with everything on it. IP addresses can change and different peers can come and go (churn). each peer has a piece of information so no one has all of it
- pluses: move files between computers efficiently. faster than client server
- minuses: security is awful. no way to password protect.
- 3 examples: BitTorrent, kankan, skype