首页 > 其他 > 详细

通过思科模拟器配置多个vlan,dhcp,vtp等综合实验

时间:2016-03-31 15:03:07      阅读:479      评论:0      收藏:0      [点我收藏+]

技术分享

技术分享

功能:1.router 2901作为DHCP服务器 

            2.sw1核心交换机作为vtp的server。

            3.vlan10 agent  ,vlan20 backoffice ,vlan30 adm

sw1:

        interface gigabitEthernet 0/2

        switchport trunk encapsulation dot1q 

        switchport mode trunk  //将0/2设置trunk ,dot1q类型

        interface range fastethernet 0/1 - 3

        switchport trunk encapsulation dot1q 

        switchport mode trunk 

        

        vtp domain 123.com

        vtp vtp password 123.com

        vtp mode server   //配置vtp ,模式为服务器模式

sw0,2,3相同配置:

        interface fastethernet 0/1

        switchport trunk encapsulation dot1q 

        switchport mode trunk 


        

         vtp domain 123.com

        vtp vtp password 123.com

        vtp mode client   //配置vtp ,模式为client模式


router配置:

        interface gigabitEthernet 0/0

        no shutdown

        exit

        interface gigabitEthernet 0/0.1    进入子接口

        encapsulation dot1Q 10               设置封装类型

        ip add 172.26.1.254 255.255.255.0

        exit

         interface gigabitEthernet 0/0.2    进入子接口

        encapsulation dot1Q 20               设置封装类型

        ip add 172.26.2.254 255.255.255.0


        exit


        

        interface gigabitEthernet 0/0.3    进入子接口

        encapsulation dot1Q 20               设置封装类型

        ip add 172.26.3.254 255.255.255.0


        exit




将计算机加入对应vlan即可获取IP


本文出自 “Tommy Lin” 博客,请务必保留此出处http://linyingyong.blog.51cto.com/6609544/1758746

通过思科模拟器配置多个vlan,dhcp,vtp等综合实验

原文:http://linyingyong.blog.51cto.com/6609544/1758746

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!