By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Switching and routing are the backbone of modern networks. Switches connect devices within a local network (LAN), forwarding data only to the intended recipient. Routers connect multiple networks (e.g., LAN to the internet), directing traffic between them.
You use them daily—every time you load a webpage, stream a video, or send an email. Without switching and routing, the internet and corporate networks wouldn’t function.
Industries like finance, healthcare, and cloud computing depend on fast, secure, and scalable networks.
00:1A:2B:3C:4D:5E
192.168.1.1
Key difference: MACs operate at Layer 2 (Data Link), IPs at Layer 3 (Network).
255.255.255.0
/24
192.168.1.0/24
Example MAC table:
Port | MAC Address -----|------------ 1 | 00:1A:2B:3C:4D:5E 2 | 00:1B:2C:3D:4E:5F 3 | (unknown)
192.168.1.10
10.0.0.5
10.0.0.0/24
203.0.113.1
Example routing table:
Destination | Next Hop | Interface --------------|---------------|---------- 192.168.1.0/24| Direct | eth0 10.0.0.0/24 | 192.168.1.1 | eth0 0.0.0.0/0 | 203.0.113.254 | eth1 (default route)
192.168.1.10/24
192.168.1.20/24
bash ping 192.168.1.20
bash # Example Cisco IOS commands enable configure terminal interface GigabitEthernet0/0 ip address 192.168.1.1 255.255.255.0 no shutdown
bash ip nat inside source list 1 interface GigabitEthernet0/1 overload access-list 1 permit 192.168.1.0 0.0.0.255
192.168.1.20
/16
bash ip nat inside # On the LAN interface ip nat outside # On the WAN interface
A switch receives a frame with a destination MAC address not in its table. What does the switch do? - A: Drops the frame.- B: Sends the frame to all ports except the sender’s.- C: Forwards the frame to the default gateway.- D: Sends an ARP request to find the MAC.
Correct Answer: BExplanation: Switches flood unknown unicast frames to all ports (except the source) to locate the device.Why the Distractors Are Tempting: - A: Incorrect; switches don’t drop unknown frames (unlike routers with no route).- C: Incorrect; switches don’t use default gateways (that’s a router function).- D: Incorrect; ARP is used to map IPs to MACs, not for unknown MACs.
A router’s routing table has the following entries:
192.168.1.0/24 Direct eth0 10.0.0.0/8 192.168.1.2 eth0 0.0.0.0/0 203.0.113.1 eth1
Where will the router send a packet destined for 10.5.6.7? - A: Directly to 10.5.6.7 via eth0.- B: To 192.168.1.2 via eth0.- C: To 203.0.113.1 via eth1.- D: Drops the packet.
10.5.6.7
eth0
192.168.1.2
eth1
Correct Answer: BExplanation: The router matches 10.5.6.7 to 10.0.0.0/8 and forwards it to 192.168.1.2 (the next hop).Why the Distractors Are Tempting: - A: Incorrect; 10.5.6.7 isn’t directly connected (no "Direct" route).- C: Incorrect; the default route (0.0.0.0/0) is only used if no other match exists.- D: Incorrect; routers don’t drop packets unless no route exists.
10.0.0.0/8
0.0.0.0/0
You configure NAT on a router to allow internal devices (192.168.1.0/24) to access the internet. After setup, devices can ping external IPs but can’t browse websites. What’s the most likely issue? - A: The router’s default gateway is misconfigured.- B: DNS settings are missing on the internal devices.- C: The NAT ACL is blocking HTTP traffic.- D: The router’s WAN interface is down.
Correct Answer: BExplanation: Ping uses ICMP (works), but browsing requires DNS resolution (fails if DNS isn’t configured).Why the Distractors Are Tempting: - A: Incorrect; if the default gateway were wrong, ping wouldn’t work.- C: Incorrect; NAT ACLs typically allow all outbound traffic by default.- D: Incorrect; if the WAN interface were down, ping wouldn’t work.
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.