AP Networking Portfolio | 2025-2026
View the Project on GitHub Scarletteblack/Black-Scarlett-AP-Networking-Portfolio
Working in pairs, partners figured out why two computers connected directly with an Ethernet cable cannot communicate. Both computers are running Ubuntu virtual machines and are connected with a working Ethernet cable. The main layers that could have issues are the physical layer, data link layer, and the network layer. The most likely scenario is that there is an issue in the data link layer or the network layer.
The ethernet cable was plugged into both MACs and the connection was checked to be firm and secure. In each Ubuntu VM Terminal ip a was used to find the MAC address where it says link/ether
Both Partners VMs:
IP of VM 1
IP of VM 2
The two VMs were on the same network in order to communicate directly; however, the two VMs have different MAC addresses. Using the ping command and inserting the other VM’s IP, the reachability of the other MAC was tested. If the ping was successful and the packet was able to reach the other MAC, it would have shown the time it took the packet to travel between the two. However, the ping failed and both partners got the message Destination Host Unreachable. This is evident that Layer 2 cannot find the partner’s MAC address and thus cannot send any packets through the data link.
Both partners’ VM pings
VM #1 ping unsuccessful
VM #2 ping unsuccessful
IP 1
IP 2
Explanation
Although both virtual machines show very similar IP addresses, they are not part of the same Layer 3 network. UTM assigns each VM to its own isolated host-only network, complete with a separate virtual switch and its own DHCP server. This makes the IPs appear related, but the machines are actually in different broadcast domains and cannot receive each other’s ARP messages. Since ARP cannot operate across two distinct virtual switches, the VMs are unable to communicate at Layer 3 despite having matching IP ranges. Therefore, Layer 3 connectivity is not possible in this setup.
Changing VM 1 to bridged mode
Successful ping on VM 1
Changing VM 2 to bridged mode
Successful ping on VM 2
The VMs needed to be placed in bridged mode rather than shared mode so they could exchange Layer 2 frames over the same virtual network. After switching to bridged mode, static IP addresses had to be assigned using nmcli, because two computers connected directly do not have access to any DHCP server that could automatically provide network configuration.
Even though the two computers were linked with a functioning Ethernet cable at Layer 1, communication failed because the systems were placed in separate virtual Layer 2 broadcast domains within UTM. Each VM was assigned to its own isolated virtual switch and DHCP service, so ARP messages could not reach the other machine. Since no MAC resolution was possible, Layer 2 communication broke down, which also prevented any Layer 3 exchange between the two different IP networks. UTM enforces this separation in Host-Only mode to provide sandboxing, security, and controlled traffic flow between virtual machines. To allow communication, both VMs would need to be attached to the same virtual network—such as a shared Host-Only interface, a bridged adapter, or a custom virtual LAN created inside UTM. In real SOHO networks, switches maintain a shared Layer 2 broadcast domain for devices that should communicate locally, while routers connect different IP subnets and forward traffic only when networks are properly configured.