ensp创建配置环境,实现全网互访

创建配置环境,实现全网互访

image-20231217225345576

配置步骤

接入层交换机(sw4、sw5)划分vlan

image-20231217212542687

image-20231217213650128

汇聚层交换机(sw2、sw3)配置ip地址作为vlan网关、与sw1 ip地址直连

image-20231217214803843

image-20231217215208260

核心层交换机(sw1)配置ip地址与汇聚层交换机(sw2、sw3)、R1直连

image-20231217220300700

路由器R1配置ip地址

image-20231217220515626

sw1、sw2、sw3、R1配置静态路由,使vlan10、vlan20、172网段用户互访(静态路由:ip route-static 目标网段 子网掩码 下一跳地址)

image-20231217220752567

image-20231217221118835

image-20231217221513192

image-20231217221718043

查看配置

SW4、SW5:display port vlan active

image-20231217222957615

image-20231217223118610

SW2、SW3:display port vlan active

image-20231217223350167

image-20231217223456954

SW2、SW3:display ip interface brief

image-20231217223803321

image-20231217223627204

SW1:display port vlan active

image-20231217223930269

SW1:display ip interface brief

image-20231217224026256

SW1、SW2、SW3、R1:display ip routing-table protocol static

image-20231217224234590

image-20231217224333331

image-20231217224437079

image-20231217224610807

实现全网互通

PC1与PC3ping通,PC1与Server1ping通

image-20231217222007215

PC3与Server1ping通

image-20231217221928569

相关推荐

  1. linux环境创建口聚合实例

    2023-12-18 06:58:03       32 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2023-12-18 06:58:03       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2023-12-18 06:58:03       100 阅读
  3. 在Django里面运行非项目文件

    2023-12-18 06:58:03       82 阅读
  4. Python语言-面向对象

    2023-12-18 06:58:03       91 阅读

热门阅读

  1. 力扣面试150题 |1. 两数之和

    2023-12-18 06:58:03       55 阅读
  2. Kafka

    2023-12-18 06:58:03       50 阅读
  3. 12、Kafka中位移提交那些事儿

    2023-12-18 06:58:03       50 阅读
  4. Android终端模拟器Termux上使用Ubuntu

    2023-12-18 06:58:03       56 阅读
  5. 209. 长度最小的子数组

    2023-12-18 06:58:03       69 阅读
  6. html css概念

    2023-12-18 06:58:03       47 阅读