• cisco路由器 三层交换机简单环境配置实例(图)


    出处:http://www.jb51.NET/softjc/56600.html

    cisco路由器&三层交换机简单环境配置实例


    一、网络拓扑图:




    二、配置命令:
    1、路由器的配置:
    interface FastEthernet0/0
    ip address 10.66.88.222 255.255.255.0
    ip nat outside
    duplex auto
    speed auto
    interface FastEthernet0/1
    ip address 192.168.1.1 255.255.255.0
    ip nat inside
    duplex auto
    speed auto
    interface Vlan1
    no ip address
    shutdown
    ip nat inside source list 1 interface FastEthernet0/0 overload
    ip classless
    ip route 192.168.2.0 255.255.255.0 192.168.1.222
    ip route 192.168.3.0 255.255.255.0 192.168.1.222
    access-list 1 permit 192.168.0.0 0.0.255.255
    三、三层交换机的配置:
    hostname L3-SW
    ip dhcp pool vlan2pool
    network 192.168.3.0 255.255.255.0
    default-router 192.168.3.1
    dns-server 202.101.172.35
    ip dhcp pool vlan1pool
    network 192.168.2.0 255.255.255.0
    default-router 192.168.2.1
    dns-server 202.101.172.35
    interface FastEthernet0/1
    no switchport
    ip address 192.168.1.222 255.255.255.0
    duplex auto
    speed auto
    interface FastEthernet0/2
    switchport mode trunk
    interface FastEthernet0/5
    switchport mode trunk
    interface Vlan1
    ip address 192.168.2.1 255.255.255.0
    interface Vlan2
    ip address 192.168.3.1 255.255.255.0
    ip classless
    ip route 0.0.0.0 0.0.0.0 192.168.1.1
    四、二层交换机的配置:
    1、switch0的配置:
    hostname sw0
    interface FastEthernet0/1
    switchport mode trunk
    interface FastEthernet0/2
    switchport mode access
    2、switch1的配置:
    hostname sw1
    interface FastEthernet0/1
    switchport mode trunk
    interface FastEthernet0/2
    switchport access vlan 2
    switchport mode access
  • 相关阅读:
    超微主板不识别M2-解决方案
    Centos7安装zookpeer
    PowerBI主题制作
    [python错误]UnicodeDecodeError: 'gbk' codec can't decode byte...
    使用Python批量合并PDF文件(带书签功能)
    Oracle使用超大SQL脚本文件恢复数据问题记录
    Linux Mint 18.2安装后需要进行的设置
    Excel使用SUMIF函数注意事项
    CSV文件分割与列异常处理的python脚本
    小程序例子
  • 原文地址:https://www.cnblogs.com/GaoAnLee/p/7266686.html
Copyright © 2020-2023  润新知