
What happens when your laptop sends data?

48 × 10/100 PoE ports.
4 SFP slots, no modules.
5-port Gigabit desktop switch.
Extend the wired network.
Wireless travel router.
Show DHCP and a default gateway.

Repeats signals to other ports.
Shared bandwidth and collision domain.
Learns source MAC addresses.
Forwards frames within a VLAN.
Uses IP routes to choose a next hop.
Connects different IP networks.

| Vendor | Names to recognize | Examples of what they make |
|---|---|---|
| Cisco | Catalyst | Enterprise switches, including our 3560 |
| Ubiquiti | UniFi | Gateways, switches, and Wi-Fi access points |
| HPE Aruba Networking | CX switches, APs | Campus and branch wired/wireless networks |
| TP-Link | Omada | Business networking; also desktop switches like ours |
| GL.iNet | Travel routers | Portable Wi-Fi routers, including our AC1200 |

| Layer | What it helps explain | Example question |
|---|---|---|
| 7 · Application | Application protocols | Did the HTTP request succeed? |
| 6 · Presentation | Data representation | Can the data be decoded? |
| 5 · Session | Conversation management | Is the conversation maintained? |
| 4 · Transport | TCP, UDP, ports | Can the service be reached? |
| 3 · Network | IP and routing | Is there a route? |
| 2 · Data link | Frames and local delivery | Is the peer on this VLAN? |
| 1 · Physical | Signals and link | Is the cable connected? |

| TCP/IP model | Approximate OSI mapping | Examples |
|---|---|---|
| Application | 5-7 | HTTP, DNS, DHCP |
| Transport | 4 | TCP, UDP |
| Internet | 3 | IPv4, IPv6, ICMP |
| Link | 1-2 | Ethernet, Wi-Fi |


Local link-layer delivery.
02:00:00:00:00:0aNetwork-layer addressing.
192.168.50.10A transport endpoint.
TCP 443
| When a frame arrives | What the switch does |
|---|---|
| Source is A, arriving on port 1 | Learn A → port 1 in this VLAN |
| Destination B is not learned yet | Flood to eligible other ports in this VLAN |
| B replies through port 2 | Learn B → port 2; forward toward A |

Host A: 192.168.50.10/24 · Mask: 255.255.255.0
| Destination | Network with this /24 | Decision for A |
|---|---|---|
192.168.50.20 | 192.168.50.0/24 | On the local subnet |
192.168.51.20 | 192.168.51.0/24 | Needs a route beyond the subnet |
.0 is the network address and .255 is the broadcast address.
A broadcasts: “Who has 192.168.50.20?”
Ethernet destination:ff:ff:ff:ff:ff:ff
B supplies its MAC address, normally in a unicast reply to A.
A caches the IP → MAC mapping.
A can address an Ethernet frame to B’s MAC.
The IP packet still targets 192.168.50.20.

192.168.50.10/24192.168.50.1192.168.51.20IP destination: the remote host.
Ethernet destination: the gateway’s MAC, resolved with ARP.
Choose a route and next hop.
Build a new link-layer frame for the outgoing link.

32-bit addresses
192.168.50.10ARP on the local Ethernet link.
128-bit addresses
2001:db8::10Neighbor Discovery instead of ARP.

Reliable, ordered byte stream.
Acknowledgments, retransmission, flow and congestion control.
Connections can still fail.
Independent datagrams.
No built-in delivery or ordering guarantee.
Applications can add reliability.

| Connection setup | Direction | Purpose |
|---|---|---|
| SYN | Client → server | Start a connection; announce an initial sequence number |
| SYN + ACK | Server → client | Acknowledge the client; announce the server’s sequence number |
| ACK | Client → server | Acknowledge the server |


A records supply IPv4 addresses; AAAA records supply IPv6 addresses.
Cached answers can be reused until their TTL expires.
The host still needs a route and next-hop delivery.
The transport connection and application request can fail separately.

Access over telephone copper.
Distance and line quality matter.
Uses a DSL modem.
Coaxial access, often with fiber in the provider network.
Shared capacity and provisioning matter.
Uses a cable modem.

Optical signals over fiber.
An optical network terminal serves many home deployments.
Sharing and upload rates depend on service.
Radio access through a carrier.
Coverage, spectrum, congestion, and plan limits matter.
Supports mobile connections.

The Gigabit switch cannot make a Fast Ethernet port faster.

.10/24.20/24Presenter: physical Catalyst. You: two PCs + a 2960 in Packet Tracer.

Windows host
ipconfig /all
ping -n 4 192.168.50.20
arp -aCatalyst console
show mac address-table dynamicPC command prompt
ipconfig
ping 192.168.50.20
arp -aSwitch CLI
enable
show mac address-table

ping -t 192.168.50.20
# Stop with Ctrl+C
ipconfig /all
route print
What would you check next?
The two local hosts exchanged ICMP traffic.
A path beyond the subnet, name resolution, and a working application connection.


Which part would you like to see again?

Limit source MAC addresses on a supported access port.
Swap A for B and inspect violations.
switchport mode access
switchport port-security
switchport port-security maximum 1
switchport port-security violation restrict
