首页 map[addtime:<nil> column:0 data:{"status":0,"msg":"","data":{"data":{"banner":[{"image":"/assets/upload/2024/10/09/8321b9b943cd4f57fe891334012bebb1.png","t1":"感恩有你,未来可期","t2":"","t3":"/p/2802"}],"name1":"新闻资讯"}}} data2:<nil> description:16年IT服务经验-全国服务电话:400-017-5181 featured: id:1 illustrate:新闻资讯 keywords:同创双子公司新闻, 同创双子,同创双子怎么样,同创双子公司,成都同创双子,北京同创双子,同创双子最新新闻 name:新闻资讯 orders:1 state:true tag:<nil> templateslist:{ "controls": [ { "name": "data.name1", "label": "简单标题", "type": "input-text" }, { "type": "combo", "name": "data.banner", "label": "轮播", "multiple": true, "draggable": true, "items": [ { "name": "t1", "label": "标题", "type": "input-text" }, { "name": "t2", "label": "时间", "type": "input-text" }, { "name": "t3", "label": "连接", "type": "input-text" }, { "type": "input-image", "name": "image", "label": "配图", "receiver": "./api/upload?rich=2" } ] } ] } templatespage:{ "controls": [ { "label": "推荐等级", "type": "select", "name": "featured", "options": [ { "label": "不推荐", "value": 0 }, { "label": "首页推荐", "value": 1001 } ] }, { "type": "group", "body": [ { "name": "data.listimg", "label": "列表图片", "receiver": "./api/upload?rich=2", "type": "input-image" }, { "name": "data.img", "label": "首页图片", "receiver": "./api/upload?rich=2", "type": "input-image" } ] }, { "type": "input-rich-text", "name": "data.body", "label": "文章内容1", "receiver": "post:./api/upload?rich=1" } ] } title:新闻资讯-同创双子(北京)信息技术股份有限公司 tmpllist:list tmplpage:page url:news] > 新闻资讯 map[addtime:<nil> column:1 data:{"status":0,"msg":"","data":{"data":{"banner":[{"image":"/assets/upload/2023/12/13/3e1643bd17c60956f27ddf735eb3048d.png","t1":"桌面运维是什么?外包好还是自招好","t3":"https://www.itgemini.net/p/2613"},{"image":"/assets/upload/2023/12/13/d52a5f367538356cbcbfbbf727a5e0a7.png","t1":"什么是系统集成?同创双子可以做哪些系统集成服务","t3":"https://www.itgemini.net/p/2611"}],"name1":"干货分享"}}} data2:<nil> description:16年IT服务经验-全国服务电话:400-017-5181 featured: id:3 illustrate:干货分享 keywords:同创双子公司新闻, 同创双,同创双子公司,成都同创双子,北京同创双子,同创双子最新新闻,电脑卡顿,电脑故障,网络故障 name:干货分享 orders:1 state:true tag:<nil> templateslist:{ "controls": [ { "name": "data.name1", "label": "简单标题", "type": "input-text" }, { "type": "combo", "name": "data.banner", "label": "轮播", "multiple": true, "draggable": true, "items": [ { "name": "t1", "label": "标题", "type": "input-text" }, { "name": "t2", "label": "时间", "type": "input-text" }, { "name": "t3", "label": "连接", "type": "input-text" }, { "type": "input-image", "name": "image", "label": "配图", "receiver": "./api/upload?rich=2" } ] } ] } templatespage:{ "controls": [ { "label": "推荐等级", "type": "select", "name": "featured", "options": [ { "label": "不推荐", "value": 0 }, { "label": "首页推荐", "value": 1001 } ] }, { "type": "group", "body": [ { "name": "data.listimg", "label": "列表图片", "receiver": "./api/upload?rich=2", "type": "input-image" }, { "name": "data.img", "label": "首页图片", "receiver": "./api/upload?rich=2", "type": "input-image" } ] }, { "type": "input-rich-text", "name": "data.body", "label": "文章内容", "receiver": "post:./api/upload?rich=1" } ] } title:干货分享-IT技巧-同创双子(北京)信息技术股份有限公司 tmpllist:list tmplpage:page url:share] > 干货分享
配置单臂路由和dhcp下发ip地址

发布日期:2018/04/18 08:00:00

设备图标路由器配置单臂路由连接线图标配置单臂路由 交换机图标配置单臂路由 pc图标是配置单臂路由 首先打开思科模拟器在思科模拟器上面左下角找到设备图标把他拖拽到空白处,用连接线把设备与设备之间连接起来如下图

配置单臂路由

  下面所有设备单击打开找到CLI点击输入no回车以后就可以进设备去配置了,输入en回车show run查看一下设备有没有配置ex退出输入config两次回车进入全局配置就可以做单臂路由配置了,在思科 2960交换机SW0配置信息:

  #特权模式下进入vlan子模式

  Switch#vlan database

  #创建vlan 10并命名vlan10

  Switch(vlan)#vlan 10 name vlan10

  #全局模式下进入fa0/1-5端口

  Switch(config)#interface range fastEthernet 0/1-5

  #设置工作模式为access,只允许一个vlan通过

  Switch(config-if-range)#switchport mode access

  #允许vlan 10 通过

  Switch(config-if-range)#switchport access vlan 10

  #激活端口

  Switch(config-if-range)#no shutdown

  全局模式下进入fa0/24端口

  Switch(config)#interface fastEthernet 0/24

  #设置工作模式为trunk,允许多个VLAN通过

  Switch(config-if)#switchport mode trunk

  #激活端口

  Switch(config-if)#no shutdown

  Switch#wr (保存配置命令)

配置单臂路由

配置单臂路由

  交换机Switch0配置完成

  路由Router0配置

  Router(config)#interface fastEthernet 0/0.1

  #将虚拟子接口fa0/0.1划分到vlan 10并封装格式为802.1q

  Router(config-subif)#encapsulation dot1Q 10

  #设置IP地址及子网掩码

  Router(config-subif)#ip address 192.168.10.1 255.255.255.0

  #激活虚拟子接口fa0/0.1

  Router(config-subif)#no shutdown

  #全局模式下创建dhcp地址命名为vlan10

  Router(config)#ip dhcp pool vlan10

  #设置vlan 10获取的IP地址及子网掩码

  Router(dhcp-config)#network 192.168.10.0 255.255.255.0

  #设置vlan 10的dhcp默认路由

  Router(dhcp-config)#default-router 192.168.10.1

  #全局模式下进入fa0/0端口

  Router(config)#interface fastEthernet 0/0

  #激活端口

  Router(config-if)#no shutdown

  #全局模式下进入fa0/0端口

  Router(config)#interface fastEthernet 0/0

  #激活端口

  Router(config-if)#no shutdown

配置单臂路由

  路由router0也配置完成可以在pc里面查看一下地址有没有下发如图:

配置单臂路由

  以上是我分享的单臂路由和dhcp分发地址的小知识。

同创双子为企业保驾护航

专注数字化方案建设,推动智慧企业生态圈的升级发展