Published using Google Docs
VLANs Part 1 Day 16 LAB - CCNA study notes Issue 12
Updated automatically every 5 minutes

VLANs Part 1 Day 16 Lab - CCNA study notes Issue 12

Practice configuring access ports on a Cisco switch using Packet Tracer (Free CCNA | VLANs (Part 1) | Day 16 Lab – Notes)

In this topology, R1 is doing inter-VLAN routing because R1 has one interface in each VLAN.

(Lab prepared by Jeremy McDowell)

Lab instructions:

1. Configure the correct IP address/subnet mask on each PC.

    Set the gateway address as the LAST USABLE address of the subnet.

2. Make three connections between R1 and SW1.

    Configure one interface on R1 for each VLAN.

    Make sure the IP addresses are the gateway address you configured on the PCs.

3. Configure SW1's interfaces in the proper VLANs.

    Remember the interfaces that connect to R1!

    Name the VLANs

     (Engineering, HR, Sales)

4. Ping between the PCs to check connectivity.

    Send a broadcast ping from a PC (ping the subnet broadcast address),

     and see which PCs devices receive the broadcast

      (use Packet Tracer's 'Simulation Mode')

128

64

32

16

8

4

2

1

0

0

0

0

0

0

0

0

*VLAN 10 Engineering

10.0.0.0/26, so subnet mask is 255.255.255.192 (192 = 128 + 64)

Broadcast address: all host bits set to 1 (the last 6 bits), so 32 +16 + 8 +4 + 2 + 1 = 63

Last usable address of subnet = 10.0.0.62

Note (using a subnetting trick - see https://supervisorbullying.com/ccna-subnetting-exercises/):

The last bit of the network portion is 64,

so,

>first subnet block: 10.0.0.0 - 10.0.0.63 (Engineering) →10.0.0.0/26 then add 64

>next network block is .64 - .127 (HR) →10.0.0.64/26 then add 64

>next network is .128 - .191 (Sales) →10.0.0.128/26 then add 64

*VLAN 20 HR

10.0.0.64/26

Broadcast address: .127 (64 + 63)

Last usable address = 10.0.0.126

*VLAN 30 Sales

10.0.0.128/26

Broadcast address: .191 (128 + 63)

Last usable address = 10.0.0.190

*Configs:

When connecting a PC to a switch or a router to a switch, a straight-through cable works fine.

SW1

R1

VLAN

g0/1

g0/0

VLAN 10

g1/1

g0/1

VLAN 20

g2/1

g0/2

VLAN 30

On R1 (example):

R1(config)#int g00

R1(config-if)#ip add 10.0.0.62 255.255.255.192

R1(config-if)#no shutdown

R1(config-if)#do show ip int br

On SW1 (example):

SW1(config)#int range g0/1, f3/1, f4/1

SW1(config-if-range)#switchport mode access

SW1(config-if-range)#switchport access vlan 10

SW1(config-if-range)#do show vlan br

CLI output:

Source:

Free CCNA | VLANs (Part 1) | Day 16 Lab | CCNA 200-301 Complete Course

https://www.youtube.com/watch?v=-tq7f3xtyLQ&list=PLxbwE86jKRgMpuZuLBivzlM8s2Dk5lXBQ&index=31