Networking Flashcards
List at least two criteria for choosing a network physical media type
Transmission rate and shared or direct access among users
Why layering is needed in networking?
The explicit structure allows identification, and relationship of complex system’s pieces. Modularization eases the maintenance and updating of the system. Structure developers can work in one layer or multiple layer without disturbing the whole networking
List the sources of packet delay.
propagation delay, transmission delay, queuing delay, and processing delay.
How does packet loss occur?
When one or more transmitted data packets fail to arrive at their destination due to network congestion, hardware issues, software bugs, and a number of other factors
What do we mean by a network protocol?
Network protocols are rules that define the format, order of messages sent and received among network entities, and actions taken on msg transmission, receipt communication activity on the Internet governed by protocols
Give some examples of end systems (hosts) and packet switches (networking devices).
end systems=servers, workstations, network-interface print devices, and routers. packet swithces= Ethernet and Frame Relay
What are the key network-layer functions?
The first one is breaking up segments into network packets, and reassembling the packets on the receiving end. The other is routing packets by discovering the best path across a physical network
What Network-layer service model the Internet provides?
The Internet uses a datagram network layer. With a datagram network layer, each time an end system wants to send a packet, it stamps the packet with the address of the destination end system and then pops the packet into the network.
What is a subnet?
Device interfaces that can physically reach each other without passing through an intervening router
How does a host get an IP address?
Hard-coded by sysadmin in the config file. DHCP-Dynamic Host Configuration Protocol: dynamically get address from a server
What is NAT?
Network address translation.
Differences between IPV6 and IPV4
IPv4 is 32-Bit IP address whereas IPv6 is a 128-Bit IP address. IPV4 bits are separated by a dot(.) whereas IPV6 bits are separated by a colon(:). IPv4 is a numeric addressing method whereas IPv6 is an alphanumeric addressing method. IPv4 offers 12 header fields whereas IPv6 offers 8 header fields. IPv4 supports broadcast whereas IPv6 doesn’t support broadcast. IPv4 has checksum fields while IPv6 doesn’t have checksum fields. IPv4 supports VLSM (Variable Length Subnet Mask) whereas IPv6 doesn’t support VLSM. IPv4 uses ARP (Address Resolution Protocol) to map to MAC address whereas IPv6 uses NDP (Neighbour Discovery Protocol) to map to MAC address.
What are the possible Internet transport protocol services that can be provided to applications?
UDP- has a very low overhead for both header size and protocol logic, which means that both the packet transmissions and receptions consume less energy, and each packet has more room for application-layer data
TCP- provides a reliable byte stream and reduces the application complexity at the cost of a larger header size and more complex transport layer protocol logic .
The differences between Non-persistent HTTP and persistent HTTP
After the client receives the object with non-persistent, the connection is immediately closed.
Disadvantages of Non-Persistent HTTP
Requires 2 RTTs per object.
OS overhead for each TCP connection.
Browsers open parallel TCP connections to fetch referenced objects