Books indexNetwork Foundations: from mental models to data measurement

Lesson

Lesson 3: Interfaces, network adapters and ports

Lesson 3 of 24 · Module 1: Mental models and roles

Learning goal

After this lesson, you can distinguish hardware from the interface managed by software and explain an interface that has no dedicated connector.

Why this concept matters

Configuration screens mix adapters, interfaces, connectors, MAC addresses and protocol ports. Separating them prevents searching for a physical socket behind a virtual interface or treating a MAC address as immutable identity.

Follow an application flow from port to medium

  1. An application opens a connection to a protocol port such as 443; the number is logical, not a hardware socket.
  2. The operating system chooses a logical interface, possibly a VLAN or tunnel.
  3. That interface is layered over a physical interface supported by an adapter.
  4. Frames leave through a connector or radio, possibly with a locally administered or randomized MAC address.

Adapter, interface and port

A network interface card or adapter is hardware that connects to a medium. A network interface is the entity the operating system configures and observes. A physical port is a hardware connector, not a synonym for every interface.

A MAC address is a link-layer identifier used by technologies such as Ethernet and Wi-Fi within a link scope. It can be universally or locally administered, and operating systems may randomise it for privacy; it is not a permanent universal personal identifier.

Example of a virtual tunnel interface

A logical interface is a software representation without a dedicated connector. A VLAN interface can separate logical link domains over Ethernet. A tunnel interface encapsulates packets across an intermediate network. VLAN means virtual local area network; a tunnel is a logical encapsulation path between endpoints.

A tunnel does not provide security by itself. Encryption or authentication may come from another protocol, or may be absent. The diagram shows interface relationships, not a security guarantee.

Hardware, physical and logical interfaces

An adapter supports a physical interface while software can create VLAN and tunnel interfaces above it.

Hardware, physical and logical interfacesAn adapter supports a physical interface while software can create VLAN and tunnel interfaces above it.Contextual relationContextual relationContextual relationNetwork adapterconnection hardwarePhysicalinterfacemanaged by the OSVLAN interfacelogical separationVirtual tunnelnot automaticsecurityHardware, physical and logical interfacesAn adapter supports a physical interface while software can create VLAN and tunnel interfaces above it.Network adapterconnection hardwarePhysical interfacemanaged by the OSVLAN interfacelogical separationVirtual tunnelnot automatic security
Source or destinationDirection or relationTeaching simplification
Virtual tunnel example; encryption and authentication require a separate contract.

Not a one-to-one relationship

A simple system may expose one interface for one adapter, but one physical link can support multiple VLAN, loopback or tunnel interfaces. Some logical interfaces can also aggregate several physical links.

Common misconception

Hardware, interfaces and ports answer different questions
ElementNatureQuestionExampleNot the same as
Network adapterCommunication hardwareWhat connects the system to a medium?Ethernet adapterVLAN interface
Physical interfaceOS entity backed by hardwareWhich physical connection is configured?Wi‑Fi interfaceTCP 443
Logical interfaceSoftware entityHow is separation or encapsulation represented?VLAN or tunnelRJ45 connector
Physical portConnector or radio attachmentWhere does the medium attach?Fibre connectorUDP 53
Protocol portTransport-layer numberWhich service receives the flow?TCP 443A chassis opening

Diagnostic exercise

Takeaway and the next lesson

Connectivity has physical and logical representations; a tunnel alone is not a security guarantee. Lesson 4 compares network-scope contexts.

Quick review

  1. How do adapter, interface and port differ?
  2. Why might the MAC value exposed by a device change?
  3. What does a tunnel interface prove, and what does it not prove?
Show the explained answers
  1. An adapter is hardware, an interface is a physical or logical attachment point, and port can mean a physical connector or a transport-service number.
  2. The operating system may expose a locally administered or randomized address for privacy instead of the adapter’s universal address.
  3. It proves that a logical tunnel interface exists; it does not by itself prove that the tunnel is connected, encrypted or secure.

References and evidence limits