📘Cisco DevNet Associate (200-901 DEVASC)
What is a MAC address?
- MAC stands for Media Access Control.
- It is a unique identifier assigned to a network interface card (NIC) in a device.
- Format: 6 pairs of hexadecimal numbers (0–9, A–F), e.g.,
00:1A:2B:3C:4D:5E. - Each MAC address is globally unique, meaning no two devices should have the same MAC on the same network.
Purpose of a MAC address
- Device Identification on a LAN (Local Area Network):
- MAC addresses help switches identify devices connected to the network.
- Example: If a switch receives data, it uses the MAC address to know which port to send the data to.
- Data Delivery within the Network:
- MAC addresses operate at Layer 2 (Data Link Layer) of the OSI model.
- They are used to forward frames between devices on the same network.
- Security and Network Management:
- Networks can allow or block devices based on MAC addresses.
- Example: A switch can be configured to allow only known MAC addresses to connect.
How MAC addresses are used in IT environments
- Switch forwarding tables: Switches maintain a table mapping MAC addresses to physical ports.
- ARP (Address Resolution Protocol): Computers use ARP to map IP addresses to MAC addresses.
- Network troubleshooting: Network engineers can track devices by their MAC addresses.
2. VLANs (Virtual Local Area Networks): Purpose and Usage
What is a VLAN?
- VLAN stands for Virtual Local Area Network.
- It is a way to segment a single physical network into multiple logical networks.
- Each VLAN is a separate broadcast domain, meaning devices in one VLAN cannot directly see devices in another VLAN without routing.
Purpose of VLANs
- Traffic Segmentation:
- VLANs separate network traffic even if devices share the same physical switch.
- This reduces unnecessary traffic and improves network performance.
- Security:
- VLANs can isolate sensitive devices.
- Example: A finance VLAN keeps finance computers separate from guest computers.
- Network Organization:
- VLANs allow grouping devices by function or department without moving cables.
- Example: All HR computers can be in VLAN 10, IT in VLAN 20, and so on.
How VLANs are used in IT environments
- Switch configuration: Ports on a switch are assigned to VLANs. Traffic stays within the VLAN unless routed.
- Inter-VLAN communication: Routers or Layer 3 switches allow devices in different VLANs to communicate.
- Trunking: Trunk links carry multiple VLANs across switches using tagging protocols like 802.1Q.
3. Relationship Between MAC Addresses and VLANs
- Switches use MAC addresses to forward traffic to the correct port.
- VLANs limit which devices can communicate, even if they share the same switch.
- Together, MAC addresses and VLANs control where and how data flows on a network.
Key Points for the Exam
- MAC addresses:
- Unique per device, Layer 2, used for forwarding and identification.
- VLANs:
- Logical network segmentation, improves security, performance, and organization.
- Switches:
- Use MAC addresses to forward frames within VLANs.
- Communication between VLANs requires a router or Layer 3 switch.
