Summary
Highlights
The video begins by guiding users through setting up a basic network topology in Packet Tracer. This involves dragging a 1940 router, two PCs (PC0 and PC1), and a 2960 switch onto the workspace. Straight-through cables are used to connect PC0 to the switch (FastEthernet 0/1), PC1 to the switch (FastEthernet 0/2), and the switch (FastEthernet 0/3) to the router (GigabitEthernet 0/0). This forms a Local Area Network (LAN) with the router's GigabitEthernet 0/0 as the default gateway.
The instructor then accesses the router's Command Line Interface (CLI) in Packet Tracer. The first steps include declining the initial configuration dialog and entering privileged EXEC mode ('en') followed by global configuration mode ('config t'). Key initial configurations include disabling DNS lookup ('no ip domain lookup') to prevent delays from mistyped commands, setting the hostname to 'R1', and creating a login banner for authorized users.
Security is addressed by configuring various passwords. A console line password ('Cisco') is set for direct console access, requiring the 'login' command to prompt for authentication. An enable secret password ('Cisco1') is created for privileged EXEC mode, which is encrypted by default. Finally, VTY line passwords ('Cisco2') are configured for remote access, supporting up to five simultaneous connections (0 to 4) on this router model. The 'service password-encryption' command is then used to encrypt the console and VTY passwords.
The router's GigabitEthernet 0/0 interface, which acts as the default gateway for the LAN, is configured with an IPv4 address. The command 'interface G0/0' is used to enter interface configuration mode. The IP address '192.168.10.1' with a subnet mask of '255.255.255.0' is assigned using 'ip address 192.168.10.1 255.255.255.0'. The 'no shut' command is essential to bring the interface up and activate it.
To allow the router to process IPv6 packets in addition to IPv4, the global command 'ipv6 unicast-routing' is executed. This enables dual-stack functionality. Subsequently, an IPv6 address '2001:DB8:ACAD:3::1/64' is assigned to the GigabitEthernet 0/0 interface using 'ipv6 address 2001:DB8:ACAD:3::1/64'. This provides both IPv4 and IPv6 connectivity on the router's LAN interface.
After all router configurations, the running configuration is saved to the startup configuration using 'copy run start' to ensure changes persist after a reboot. The video then transitions to configuring the PCs. PC0 is assigned a static IPv4 address '192.168.10.2' and is configured for IPv6 auto-configuration (SLAAC). Similarly, PC1 receives '192.168.10.3' and also uses SLAAC for IPv6.
Connectivity is verified from PC0 using the command prompt. The 'arp -a' command is used to show the ARP cache, initially empty. Pinging PC1 ('ping 192.168.10.3') populates the ARP cache with PC1's MAC address. Subsequently, pinging the default gateway ('ping 192.168.10.1') adds the router's MAC address to the ARP cache, demonstrating how ARP resolves IP addresses to MAC addresses for local communication. The video also shows how to view a PC's MAC address using 'ipconfig /all'.