interview net Flashcards
What are the steps from you clicking on an information request on the internet from your machine until you get an answer back from the machine/company at the other end? (Describe the OSI model)
Application Layer (Layer 7):
You click on an information request (e.g., a web link) in your web browser. This action triggers an HTTP request.
Presentation Layer (Layer 6): Data from the application layer is formatted into a suitable presentation format, such as HTML for web pages. Session Layer (Layer 5): A session is established between your device and the destination server. parameters for communication, such as session IDs or cookies are set. Transport Layer (Layer 4): Data is segmented into smaller packets for transmission. Transmission Control Protocol (TCP) is often used at this layer to ensure reliable delivery of data. Network Layer (Layer 3): The network layer determines the best path for data transmission across the network. Internet Protocol (IP) addresses are added to the packets, and routing decisions are made to forward the packets towards the destination server. Data Link Layer (Layer 2): At this layer, data is broken down into frames and directed via to the appropriate MAC address. Physical Layer (Layer 1): Finally, the data is transmitted over the physical medium, such as Ethernet cables or wireless signals, using electrical or optical signals to the machine on the other end
How would you check a network problem on a machine that was connected yesterday?
inspect network cables, validate the IP address, inspect the NIC, check the subnet lease capacity, changes to firewall, software updates
What are VLANS? Why do we need them?
a way to logically segment a single physical network into multiple virtual networks. provide flexibility, enhance security, and optimize network resource utilization
What is a network?
collection of interconnected devices or nodes that communicate with each other to share resources and information
Explain your home network.
devices are connected wirelessly to a central router, which then connects to the internet through your modem which is connected to a coaxial cable that is ran into your house from an ISP’s cabinet box outside of your home. These connections allow you to send and receive data on your personal devices from the internet.
what is dhcp?
DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses to devices on a network. Using UDP for communication, it can assign dynamic IP addresses or lease static IPs to devices temporarily
what is an IP address? whats its purpose?
unique numerical label assigned to each device connected to a computer network. allow devices to communicate with each other over the internet or within a local network
What is TCP? 3 way handshake?
TCP (Transmission Control Protocol) a protocol that ensures reliable, ordered, and error-checked delivery of data.
SYN: Initiating device sends a SYN(synchronize sequence number) packet.
SYN-ACK: Receiving device responds with SYN-ACK packet.
ACK: Initiating device sends ACK packet to confirm connection.
More reliable than UDP.
What is UDP?
UDP (User Datagram Protocol) is a data transmission protocol. does not establish a connection before sending data. Each UDP is sent independently of previous or subsequent packets.
Unreliable Delivery: UDP does not guarantee delivery of packets or ensure the order of delivery. Packets may be lost, duplicated, or delivered out of order. FASTER than TCP.
Can you explain how DNS works?
DNS (Domain Name System) translates domain names into IP addresses. It follows a hierarchical structure, with top-level domains (TLDs) like .com or .org at the root. DNS servers translate domain names to IP addresses, querying higher-level servers if needed.
What is NAT? (network address translation)
NAT (Network Address Translation) modifies IP addresses in IP packet headers, allowing multiple devices to share one public IP for internet access, conserves IP addresses and enhancing security.
What is the difference between a hub, switch(mac) and router(ip)? How do these work with ARP?
Hub: Broadcasts data to all connected devices. No ARP interaction.
Switch: Directs data based on MAC addresses. ARP for MAC learning.
Router: Routes data between networks using IP addresses. ARP for IP to MAC resolution
Examples of network cabling?
crossover cables, twisted pair cables, fiber optic cables,
what is fiber attenuation? deliberate use case?
refers to the loss of signal strength as light travels through an optical fiber. caused by absorption, scattering, and dispersion of light in fiber. attenuators are used in fiber networks to reduce the signal strength to prevent overloading of receiving equipment and to improve signal quality
What is the difference between singlemode and multimode fiber?
single-mode fibersmaller core diameter, only one mode of light propagation, higher bandwidth, longer transmission distances. Multimode fiber, larger core diameter, multiple modes of light propagation, lower bandwidth, shorter transmission distances. MM is cheaper
What are some common connector types for fiber?
LC(lucent), SC,(subscriber), MPO(Multi-Fiber Push-On, FC( Ferrule connector)
What is cladding?
Layer of material covering core of fiber
What are some tools (software or phys) we can use to troubleshoot network connections?
Ping, traceroute, ipconfig (Windows) or ifconfig (Linux/macOS), network analyzers (Wireshark), VFLs, loopback plugs
What’s ping? When would you use tracert over ping?
Ping is used to test the reachability of a host on a network,measure the round-trip time for packets sent to that host. Traceroute provides info about each hop (router) along the path to the destination, showing the latency of each hop and helping diagnose network routing issues.
What is a node?
any device connected to a network that can send, receive, or forward data. This includes computers, servers, routers, switches, printers, or any other networked device.