topology
Addressing Table
Device |
Interface |
IP Address |
Subnet Mask |
Dfault Gateway |
R1 |
g0/0 |
192.168.20.1 |
255.255.255.0 |
N/A |
|
G0/1 |
192.168.10.1 |
255.255.255.0 |
N/A |
S1 |
VLAN010 |
192.168.10.11 |
255.255.255.0 |
192.168.10.1 |
S2 |
VLAN10 |
192.168.10.12 |
255.255.255.0 |
192.168.10.1 |
Pc-a |
Nic |
192.168.10.3 |
255.255.255.0 |
192.168.10.1 |
Pc-b |
Nic |
192.168.20.3 |
255.255.255.0 |
192.168.20.1 |
Objectives:
Part 1:build the Network and Configure Basic Device Settings
Part 2:configure switches with VLAN and trunking
Part 3:verify Trunking, VLANs, Routing, and Connectivity
Background/scenario
Legacy Inter-vlan routing is seldom used in today's networks; However, it is helpful to configure and understand this type of routing before moving on to Router-on-stick (trunk-based) in Ter-vlan routing or configuring Layer-3 switching. One of the benefits of Legacy Inter-vlan routing is ease of the configuration.
Part 1:build the Network and Configure Basic Device Settings
Step 1:cable the network as shown in the topology.
Step 2:initialize and reload the router and switches.
Step 3:configure Basic Settings for R1.
- Disable DNS Lookup
- Assign the device name.
- Assign the class as the privileged EXEC mode encrypted password.
- Assign The Cisco as the console and Vty line password and enable login.
- Configure addressing and enable both interfaces.
Step 4:configure Basic settings on S1 and S2.
- Disable DNS Lookup
- Assign the device name.
- Assign class as the privileged EXEC mode encrypted password.
- Assign Cisco as the console and Vty line password and enable login.
Step 5:configure Basic settings on pc-a and Pc-b.
Part 2:configure switches with VLAN and trunking
Step 1:configure VLANs on S1.
- On S1, create VLAN 10. Assign Student as the VLAN name.
- Create VLAN 20. Assign Faculty-admin as the VLAN name.
- Configure F0/1 as the trunk port.
- Assign ports F0/5 and F0/6 to VLAN Ten and configure both F0/5 and F0/6 as access ports.
- Assign an IP address to VLAN Ten and enable it. Refer to the addressing Table.
- Configure the default gateway according to the addressing Table.
Configure VLANs on S2.
- On S2, create VLAN 10. Assign Student as the VLAN name.
- Create VLAN 20. Assign Faculty-admin as the VLAN name.
- Configure F0/1 as a trunk port.
- Assign ports F0/11 and F0/18 to VLAN and configure both F0/11 and F0/18 as access ports.
- Assign an IP address to VLAN Ten and enable it. Refer to the addressing Table.
- Configure the default gateway according to the addressing Table.
Part 3:verify trunking, VLANs, Routing, and Connectivity
Show IP route
Show interface Trunk
Show VLAN Brief
Ping
Lab-ccna Configure per-interface Inter-vlan routng