The story so far
| Statement | Status | Source or note |
|---|---|---|
| MAC changes at every router, IP stays; ARP is broadcast request / unicast reply; switch learns source MAC, floods unknown; frame/packet/segment names | unverified | fundamental networking, not tied to a Cisco page; consistent with the Cisco CAM/MAC guides checked in Module 2 |
| Mac address table behaviour (learn, flood unknown, aging 300 s) | verified | Cisco Catalyst 9000 MAC guide (see Module 2 table) |
| Mention of access points / wireless | refinement | marked in the lesson as outside ENCOR v1.2 (wireless removed) |
Verified means checked against the named Cisco document. Unverified means not checked yet: confirm it before relying on it in the exam. Refinement means the lesson needs the added detail.
Picture your first week as the IT person at a small company. The network grew by accident: a switch here, a router there, cables nobody labelled. People say 'the internet is slow' and expect you to know why. Over ten short chapters you will rebuild that network properly, in one lab you keep and extend, and by chapter 10 you will understand every part of it and why it was built that way.
This is chapter 1. We do not touch a single command yet. First we follow one tiny message, a ping, from a PC to a router and back. If you understand that journey, VLANs, subnets, routing, spanning tree and even automation are all just details of it.
1. Meet the cast
A network is just devices passing messages. There are only a few roles, and the whole course is about how they cooperate.
| Device | Job in one line | Looks at |
|---|---|---|
| Host (PC, phone, server, camera) | Starts and ends conversations | Everything it sends and receives |
| Switch | Connects hosts in the same local network and passes frames between them | MAC addresses |
| Router | Connects different networks and chooses where packets go next | IP addresses |
| Firewall / access point | Controls what may pass / connects wireless devices (wireless is not in the ENCOR v1.2 exam, so it is background only) | Rules and radios |
2. Two addresses, two jobs
Every message carries two kinds of address, and beginners often mix them up. Think of a letter delivered inside a large office building:
| MAC address | IP address | |
|---|---|---|
| Analogy | The name tag on your shirt: who you are, wherever you stand | Your postal address: where you live, and it can change if you move |
| Looks like | 0050.7966.6801 (48 bits, 12 hex digits) | 192.168.1.10 (32 bits, four numbers) |
| Given by | The manufacturer, burned into the network card | You or a DHCP server |
| Used by | Switches, to deliver inside one network | Routers, to deliver between networks |
| Changes on the way? | Yes, at every router | No (it stays the same end to end) |
3. Wrapping the message (encapsulation)
Your PC does not send a ping 'as is'. Each layer wraps what it receives in its own envelope. The receiver unwraps in the opposite order. This wrapping is called encapsulation.
| TCP/IP layer | OSI layers | Name of the data | Addresses | Device that cares |
|---|---|---|---|---|
| Application | 7, 6, 5 | Data | - | Hosts, firewalls |
| Transport | 4 | Segment | Port numbers | Hosts, firewalls |
| Internet | 3 | Packet | IP addresses | Router |
| Link (network access) | 2 and 1 | Frame and bits | MAC addresses | Switch |
4. Same room: STAFF-PC pings EDGE
Start with the easy case: STAFF-PC and the router are on the same local network (this is exactly what you will build in the lab). STAFF-PC knows the router's IP address, 192.168.1.1. To build the frame it needs the router's MAC, and it does not have it. So it asks, using ARP (Address Resolution Protocol).
- STAFF-PC now stores 'IP 192.168.1.1 = MAC of EDGE' in its ARP table for a few minutes, so the next ping skips the question.
- The switch learned STAFF-PC's MAC from the very first frame, and EDGE's MAC from its reply. This is its MAC address table. Next time it forwards straight to the right port.
- This is why the first ping often loses a packet: ARP needs time. The rest are quick.
5. Different rooms: the message crosses a router
Now STAFF-PC pings a server 10.5.5.5 on another network. STAFF-PC cannot ARP for a device that is not in its room, so it sends the frame to its default gateway, the router, and lets the router carry on. At every hop the router throws away the old frame and builds a new one for the next stretch.
The question every host asks first: is it local?
Before sending, a host compares the destination IP with its own address and subnet mask. If the destination is in its own network, it ARPs for it directly. If not, it sends to the gateway. (Chapters 2 and 3 teach exactly how that comparison is calculated.)
Try it
6. What each device really does (the short list)
| Switch | Router | |
|---|---|---|
| Reads | Destination MAC | Destination IP |
| Decision | Which port leads to that MAC? (MAC table) | Which interface and next hop lead to that network? (routing table) |
| Unknown destination | Floods it out of every other port | Drops it (or uses a default route) |
| Rewrites the MAC header? | No | Yes, on every hop |
| Splits broadcasts? | No (one broadcast domain per VLAN) | Yes (each interface is a new broadcast domain) |
7. Our practice network
From now on every exercise happens in one lab you keep: the Harbour Office campus lab. It is a small company with an edge router, two core switches, two floors of access switches, a few computers, and two pretend internet providers. Your work carries over from chapter to chapter, so you never rebuild from scratch. Each chapter tells you which devices to start, so your CML server only runs what you need.
| Chapter | Devices to start | What changes in the lab |
|---|---|---|
| 1 | EDGE, CORE1, ACCESS1, STAFF-PC | First addresses; follow a ping |
| 2 | EDGE, CORE1, ACCESS1, STAFF-PC | Binary and masks, seen on real devices |
| 3 | EDGE, CORE1 | A proper address plan |
| 4 | CORE1, ACCESS1, ACCESS2, STAFF-PC, GUEST-PC, FILE-SRV | VLANs and trunks |
| 5 | CORE1, CORE2, ACCESS1, ACCESS2, STAFF-PC | Spanning tree |
| 6 | CORE1, EDGE, ISP1, ISP2, WEB-SRV | Static and default routes |
| 7 | EDGE, CORE1, CORE2, ACCESS1, STAFF-PC, GUEST-PC | Inter-VLAN routing |
| 8 | EDGE, CORE1, CORE2, ISP1, WEB-SRV, ACCESS1, STAFF-PC | OSPF |
| 9 | Ten devices | DHCP, NAT, an ACL |
| 10 | Everything the fault cards need | Break, find, fix |
8. Commands you will use in the lab
| Question | On a Cisco device | On an Alpine PC |
|---|---|---|
| Which devices am I wired to? | show cdp neighbors | - |
| Is the port up? | show ip interface brief | ip link show eth0 |
| What is my address? | show ip interface brief | ip addr show eth0 |
| Whose MAC do I know? | show ip arp (router) | ip neigh |
| Which port holds that MAC? | show mac address-table (switch) | - |
| Can I reach it? | ping 192.168.1.1 | ping -c 4 192.168.1.1 |
9. Why this matters for ENCOR
- Module 1 (Architecture): the access, distribution and core layers are just 'where the switches and routers sit' in the journey above.
- Module 2 (Packet Switching): the MAC table (CAM), the routing table and CEF are the same decisions, made in hardware at wire speed.
- Everything later: VLANs, spanning tree, OSPF, NAT and ACLs all act on the MAC or IP header of the message you just followed.
Check yourself
Think first, type an answer if you like, then reveal.