Highlights
Business Case (Marketing, Project Manager, Senior Executives)
Your job will be to create a network monitor, which monitors the performance of all network interface devices. Monitoring network interfaces can help in debugging system problems as well as in enhancing system performance through a central intelligent networking device.
Currently, on our virtual machine, we have two network interfaces: ens33 and lo. On other machines such as routers, there may be as many as 64 network interfaces, some of them running in the order of 10GBits/second. For routers and other networking equipment, it is crucial to know the performance of each interface and to control each interface, therefore we are going to create a network monitor.
Requirements (Marketing, Project Manager, Project Lead)
1. Our network monitor must be able to monitor any set of network interfaces requested by the user.
2. The statistics for each network interface can be found under Linux's /sys directory, specifically /sys/class/net/. The /sys directory is another directory like /proc and /dev which can be accessed to set or obtain information about the kernel's view of the system.
The statistics to be monitored are:
The operating state - operate
The up-count (number of times the interface has been up) - carrier_up_count
The down-count (number of times the interface has been down) - carrier_down_count
The number of received bytes - rx_bytes
The number of dropped received bytes - rx_dropped
The number of erroneous received bytes - rx_errors
The number of received packets - rx_packets
The number of transmitted bytes - tx_bytes
The number of dropped transmitted bytes - tx_dropped
The number of erroneous transmitted bytes - tx_errors
The number of transmitted packets - tx_packets
3. If an interface goes down (see operstate) then your network monitor must set it back up.
4. Your network monitor must shut down gracefully. That means it must intercept a ctrl-C to shut down the program. The shutdown might include the following - close file connections, deallocate memory, etc...
5. The network monitor will act synchronously. It will not instantly react to any changes in the statistics. Rather, it will poll the statistics every one second.
6. Your network monitor will print out the following once every second for each network interface:
Interface: state: up_count: down_count:
rx_bytes: rx_dropped: rx_errors: rx_packets:
tx_bytes: tx_dropped: tx_errors: tx_packets:
7. For a bonus mark, you can have the statistics displayed on a web page. See week 7 of our lecture notes on setting up the Apache2 web server to work within a Linux environment.
Design (Project Lead, Senior Engineers)
There are two parts to the design - the interface monitor and the network monitor itself. There may be one or more interface monitors but there is only one network monitor.
The Interface Monitor Each interface will have a process dedicated to it. This is called the interface monitor. For instance, if there are three network interfaces on a Linux machine, three instances of the interface monitor process will be running. Each interface monitor will:
The Network Monitor
The network monitor controls all interface monitors running on the system. In a software defined network, it is common to centralize all intelligence in one spot in order to coordinate the operations of all network devices. In our case, intelligence is centralized in the network monitor and the work is done by the interface monitors. The network monitor will:
Testing and Rework (Junior and Senior Engineers, Product Support)
Questions
1. In a few sentences, describe the general architecture of your entire layout with the network monitor and interface monitors. What does each do?
2. Could the interface monitor and network monitor all be contained within one process, if so how?
3. Could the interface monitor and network monitor all be contained within one process, assuming 128 network interfaces running at several Giga-bits per second, which require a polling interval of one millisecond per interface?
4. What is a software-defined network? In doing so, describe the applications layer, the control layer, and the forwarding layer.
This IT and Computer Science has been solved by our PhD Experts at My Uni Paper. Our Assignment Writing Experts are efficient in providing a fresh solution to this question. We are serving more than 10000+ Students in Australia, the UK, and the US by helping them to score HD in their academics. Our Experts are well-trained to follow all marking rubrics and referencing styles.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.