Harmadik.pkt • Verified

Open the Command Prompt on PC0 and ping PC1 : ping 192.168.2.10

The goal is to establish connectivity between two or more local area networks (LANs) using a router, implementing proper IP addressing, and configuring basic network services. A standard setup for this lab usually includes: Router: 1x Cisco 2911 or 1941 router. Switches: 2x Cisco 2960 switches. harmadik.pkt

Copper Straight-Through cables for end devices to switches; Copper Straight-Through for switches to router interfaces. 2. Addressing Table Example configuration for two subnets: IP Address Subnet Mask Default Gateway Router0 192.168.1.1 255.255.255.0 Router0 192.168.2.1 255.255.255.0 PC0 192.168.1.10 255.255.255.0 192.168.1.1 PC1 192.168.2.10 255.255.255.0 192.168.2.1 3. Configuration Steps Router Setup Access the CLI and configure the gateway interfaces: Open the Command Prompt on PC0 and ping PC1 : ping 192

Router> enable Router# configure terminal Router(config)# interface gigabitEthernet 0/0 Router(config-if)# ip address 192.168.1.1 255.255.255.0 Router(config-if)# no shutdown Router(config-if)# exit Router(config)# interface gigabitEthernet 0/1 Router(config-if)# ip address 192.168.2.1 255.255.255.0 Router(config-if)# no shutdown Use code with caution. Copied to clipboard Click on PC0 -> Desktop -> IP Configuration . Copper Straight-Through cables for end devices to switches;

The first packet might time out due to ARP, but subsequent replies should be successful.

Ensure all connection dots in Packet Tracer are green.