Day 18: Networking Fundamentals Summary
Networking Fundamentals Summary
1. Cisco Routing Table Codes: C vs. L
- C (Connected): Represents an entire local network subnet. It dictates where to forward traffic intended for hosts residing on that segment.
- L (Local): Represents the unique, specific IP address assigned to the router’s own physical interface. It always features a
/32mask to isolate that single host address.
2. Removing Conflicting Static Routes
When a static route matches a directly connected network interface, the router ignores the static path because directly connected networks have a superior Administrative Distance (AD of 0 vs. 1).
Removal Commands
cafe01-RT02# configure terminal
cafe01-RT02(config)# no ip route 192.168.2.0 255.255.255.0 192.168.2.1
cafe01-RT02(config)# exit
cafe01-RT02# copy running-config startup-config
3. Binary Math
- Binary Value:
11111100 - Decimal Value:
252 - Subnet Context: Represents the final octet of a standard
255.255.255.252mask (a/30prefix), typically deployed for point-to-point links.
4. Switch Management Paths
Layer 2 switches require an IP address assigned to a VLAN (Switch Virtual Interface / SVI) so that they can possess a Layer 3 network identity. Without this IP, remote packets cannot target the switch across subnets.
VTY vs. Console Comparison
- Console Line (
line con 0): A physical port on the appliance hardware. Requires a physical rollover or serial cable. Used for out-of-band initial staging or disaster recovery when network connectivity is lost. - VTY Lines (
line vty 0 4): Virtual inbound software terminals. Relies entirely on network reachability and protocols like SSH/Telnet. Used for everyday in-band remote administration.
5. Network Address Translation (NAT) Terminology
NAT tracks packets traversing a router boundary using four distinct descriptors:
- Inside Local: The private IP address of a host on the internal network (e.g., your laptop
192.168.2.15). - Inside Global: The public IP address assigned by the router to represent the internal host to the outside internet (e.g.,
203.0.113.5). - Outside Global: The actual public IP address of a host residing on the internet (e.g., a web server at
8.8.8.8). - Outside Local: The external host IP address as it appears to inside devices. In standard deployments, this matches the Outside Global address exactly.
Live Translation Verification
You can view active address mappings using the show ip nat translations command:
cafe01-RT02# show ip nat translations
Pro Inside local Inside global Outside local Outside global
tcp 192.168.2.15:52143 203.0.113.5:52143 8.8.8.8:443 8.8.8.8:443
Note: The inclusion of source ports (e.g., :52143) indicates Port Address Translation (PAT) / NAT Overload, allowing multiple internal devices to share a single public IP address.