LAB - CCNA Configure Per-Interface Inter-VLAN Routng

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)inter-VLAN routing or configuring Layer-3 switching. One of the benefits of Legacy inter-VLAN routing is ease of 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.

  1. disable DNS lookup
  2. assign the device name.
  3. Assign the class as the privileged EXEC mode encrypted password.
  4. Assign the cisco as the console and vty line password and enable login.
  5. Configure addressing and enable both interfaces.

Step 4: Configure basic settings on S1 and S2.

  1. disable DNS lookup
  2. Assign the device name.
  3. Assign class as the privileged EXEC mode encrypted password.
  4. 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.

  1. On S1, create VLAN 10. Assign Student as the VLAN name.
  2. Create VLAN 20. Assign Faculty-Admin as the VLAN name.
  3. Configure f0/1 as the trunk port.
  4. Assign ports f0/5 and f0/6 to VLAN 10 and configure both f0/5 and f0/6 as access ports.
  5. Assign an IP address to VLAN 10 and enable it. Refer to the Addressing Table.
  6. Configure the default gateway according to the Addressing Table.

Configure VLANs on S2.

  1. On S2, create VLAN 10. Assign Student as the VLAN name.
  2. Create VLAN 20. Assign Faculty-Admin as the VLAN name.
  3. Configure F0/1 as a trunk port.
  4. Assign ports F0/11 and F0/18 to VLAN 20 and configure both F0/11 and F0/18 as access ports.
  5. Assign an IP address to VLAN 10 and enable it. Refer to the Addressing Table.
  6. 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

时间: 2024-11-03 05:27:46

LAB - CCNA Configure Per-Interface Inter-VLAN Routng的相关文章

LAB - CCNA Configuring Router-on-a-Stick Inter-VLAN

Topology Addressing Table Device Interface IPv4 Address Subnet Mask Default Gateway R1 g0/0.10 172.17.10.1 255.255.255.0 N/A   g0/0.30 172.17.30.1 255.255.255.0 N/A PC1 NIC 172.17.10.10 /24 172.17.10.1 PC2 NIC 172.17.30.10 /24 172.17.30.1 Objectives:

CCNA交换 第五节 vlan的概述

创作:http://www.ie-lab.cn/ 原文地址:https://blog.51cto.com/14248289/2378853

Configure a bridge interface over a VLAN tagged bonded interface

SOLUTION VERIFIED February 5 2014 KB340153 Environment Red Hat Enterprise Linux 6 (All Versions) Red Hat Enterprise Linux 5 (All Versions) Issue Need to configure VLAN on bonded interface and a bridge on top of this VLAN tagged bonded interface. Reso

Part2 – OPENVSWICH – VLANs, Trunks, L3 VLAN interface, InterVLAN Routing – Configuration And Testing

In a previous tutorial we showed how to install Openvswitch on Qemu image with Microcore Linux. At the end of tutorial we created Openvswitch extension and submitted it to Microcore upstream. Assuming that Openvswitch is configured and functional, we

Lab - Configure EtherChannel

Objective Configure Etherchannel Background Four switches have just been installed. The distribution layer switches are Catalyst 3560 switches, and the access layer switches are Catalyst 2960 switches. There are redundant uplinks between the access l

Lab - Configure RIPv2

Topology Objective: Configure RIPv2 Verify Connectivity Background Although RIP is rarely used in modern networks, it is useful as a foundation for understanding basic network routing. In this activity, you will configure a default route, RIP version

路由器与三层交换机实验演示 -- 充当两个vlan的网关

路由器与三层交换机实验演示 -- 充当两个vlan的网关 --百家菜  背景:我们到知道路由器有路由功能,那么你知道怎么在一个路由器接口上配置两个网关(比如两个vlan的网关)?注意是在一个接口上而不是两个:我们在有些时候会将三层交换机拿来当路由器使用,那么这个时候我们应该如何配置三层交换机呢?我们以单臂路由为例子来演示一下. 在这里我不多说,直接给大家演示在Packet Tracer6.0上的操作. 环境:windows操作系统,packet  tracer 6.0  实验一:直连路由 单臂路

CCNA实验1:思科设备基本配置

实验目标: 1:了解CiscoPacket Tracer模拟器的使用方法 2:掌握思科设备通用的配置命令 实验步骤: 1:使用思科交换机或路由器练习通用命令 2:配置思科路由器的常用命令 3:配置思科交换机的常用命令 4:总结常用的show命令 实验笔记: 实验配置: 1:通用配置命令 Switch>                          # 用户模式,类似于电脑系统的来宾账户,权限较小 Switch>enable                    # 特权模式,类似于电脑系统

Cisco 的基本配置实例之四----vlan的规划及配置(核心交换机)

4.vlan的规划及配置 在本节中我们讲解vlan的规划及具体的配置命令.在此例中我们用的是vtp(VLAN Trunking Protocol)server的模式,在这种模式中我们需要配置核心交换机的vtp模式为server,各接入交换机的vtp模式为cilent,那么配置完成后接入交换机就会通过trunk口自动从核心交换机学习到所有的vlan配置信息.在接入交换机中只需要添加相应的端口即可,这样易于管理与部署.具体的配置命令我们通过两小节来演示: 4.1 核心交换机的相关配置 (这是一台已经