当前位置: 首页 > news >正文

佛山新网站制作宁波好的seo外包公司

佛山新网站制作,宁波好的seo外包公司,做网站什么时候要用到虚拟主机,郑州最好的设计公司目录 原理概述 实验内容 实验目的 实验步骤 实验拓扑 实验编址 配置步骤 创建VLAN并配置Access、Trunk接口 配置路由器子接口和IP地址 配置路由器子接口封装VLAN 测试结果 原理概述 在以太网中,通常会使用VLAN技术隔离二层广播域来减少广播的影响&#…

目录

原理概述

实验内容

实验目的

实验步骤

实验拓扑

实验编址

配置步骤

创建VLAN并配置Access、Trunk接口 

配置路由器子接口和IP地址

配置路由器子接口封装VLAN

测试结果


原理概述

         在以太网中,通常会使用VLAN技术隔离二层广播域来减少广播的影响,并增强网络的安全性和可管理性。缺点是它严格的隔离了不同VLAN之间的任何二层流量,使不同VLAN的用户不能直接相互通信。
    单臂路由技术就是解决VLAN之间通信的一种方法。
    单臂路由的原理是通过一台路由器,使VLAN之间互通数据通过路由器进行三层转发。又因为路由器的接口有限,所以在路由器的一个物理接口上配置子接口(逻辑接口)的方式来实现以一当多的功能。
    路由器同一物理接口的不同子接口作为不同 VLAN 的默认网关,当不同 VLAN间的用户主机需要通信时,只需将数据包发送给网关,网关处理后再发送至目的主机所在 VLAN,从而实现 VLAN间通信。
    由于从拓扑结构图上看,在交换机与路由器之间,数据仅通过一条物理链路传输,故被形象地称之为“单臂路由”。

实验内容

        本实验模拟公司网络。路由器R1是出口网关,员工PC通过接入层交换机(S2和S3)接入公司网络,接入层交换机又通过汇聚交换机S1与路由器R1相连。公司内部网络通过划分不同的VLAN隔离了不同部门之间的二层通信,保证各部门间的信息安全,但是由于业务需要,经理、市场部和人事部之间需要能实现跨VLAN通信,网络管理员决定借助路由器的三层功能,通过配置单臂路由来实现。

实验目的

    1、理解单臂路由的应用场景;
    2、掌握路由器子接口的配置方法;
    3、掌握子接口封装VLAN的配置方法;
    4、理解单臂路由的工作原理。

实验步骤

    1、创建VLAN并配置Access、Trunk接口;
    2、配置路由器子接口和IP地址;
    3、配置路由器子接口封装VLAN

实验拓扑

实验编址

设备接口IP地址子网掩码网关
R1GE 0/0/1.1192.168.1.254255.255.255.0N/A
GE 0/0/1.2192.168.2.254255.255.255.0N/A
GE 0/0/1.3192.168.3.254255.255.255.0N/A
PC1Ethernet 0/0/1192.168.1.1255.255.255.0192.168.1.254
PC2Ethernet 0/0/1192.168.2.1255.255.255.0192.168.2.254
PC3Ethernet 0/0/1192.168.3.1255.255.255.0192.168.3.254

配置步骤

创建VLAN并配置Access、Trunk接口 

        为了保障各部门的信息安全,需要保证隔离不同部门间的二层通信,规划各部门的终端属于不同的VLAN。

第一步:创建VLAN并配置Access、Trunk接口 为了保障各部门的信息安全,需要保证隔离不同部门间的二层通信,规划
各部门的终端属于不同的VLAN。在S2上创建VLAN10和VLAN20,并连接PC1和PC2的接口配置为Access接口并划分
到相应的VLAN中
[S2]vlan 10	
[S2-vlan10]description HR
[S2-vlan10]vlan 20	
[S2-vlan20]description market	
[S2-vlan20]interface e0/0/1	
[S2-Ethernet0/0/1]port link-type access
[S2-Ethernet0/0/1]port default vlan 10
[S2-Ethernet0/0/1]interface e0/0/2
[S2-Ethernet0/0/2]port link-type access
[S2-Ethernet0/0/2]port default vlan 20
[S2-Ethernet0/0/2]S3上创建VLAN30,把连接PC3的接口设置为Access接口,并划分到VLAN30
[S3]vlan 30	
[S3-vlan30]description mannger	
[S3-vlan30]interface e0/0/1	
[S3-Ethernet0/0/1]port link-type access
[S3-Ethernet0/0/1]port default vlan 30
[S3-Ethernet0/0/1]交换机之间或交换机和路由器之间相连的接口需要传递多个vlan信息,需要配
置成Trunk接口
[S2-Ethernet0/0/2]interface g0/0/2
[S2-GigabitEthernet0/0/2]port link-type trunk
[S2-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[S2-GigabitEthernet0/0/2][S3-Ethernet0/0/1]interface g0/0/2
[S3-GigabitEthernet0/0/2]port link-type trunk
[S3-GigabitEthernet0/0/2]port trunk allow-pass vlan all在S1上创建vlan10、vlan20和vlan30,并配置交换机和路由器相连的接口为
trunk,允许所有vlan通过
<Huawei>undo ter mon
Info: Current terminal monitor is off.
<Huawei>sys
[Huawei]sysname S1
[S1]vlan 10
[S1-vlan10]vlan batch 20 30
[S1]interface g0/0/2
[S1-GigabitEthernet0/0/2]port link-type trunk	
[S1-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[S1-GigabitEthernet0/0/2]interface g0/0/3
[S1-GigabitEthernet0/0/3]port link-type trunk
[S1-GigabitEthernet0/0/3]port trunk allow-pass vlan all
[S1-GigabitEthernet0/0/3]interface g0/0/1
[S1-GigabitEthernet0/0/1]port link-type trunk
[S1-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[S1-GigabitEthernet0/0/1]

配置路由器子接口和IP地址

第二步:配置路由器子接口和IP地址
[Huawei]sysname R1	
[R1]interface g0/0/1.1
[R1-GigabitEthernet0/0/1.1]ip address 192.168.1.254 24
[R1-GigabitEthernet0/0/1.1]interface g0/0/1.2
[R1-GigabitEthernet0/0/1.2]ip address 192.168.2.254 24
[R1-GigabitEthernet0/0/1.2]interface g0/0/1.3
[R1-GigabitEthernet0/0/1.3]ip address 192.168.3.254 24
[R1-GigabitEthernet0/0/1.3]

配置路由器子接口封装VLAN

        在R1的子接口封装上相应的vlan,并开启子接口的ARP广播功能。
使用dot1q termination vid命令配置子接口对一层tag 报文的终结功能。即配置该命令后,路由器子接口在接收带有VLAN tag的报文时,将剥掉tag 进行三层转发,在发送报文时,会将与该子接口对应VLAN的VLAN tag添加到报文中。

第三步:配置路由器子接口封装VLAN[R1]interface g0/0/1.1	
[R1-GigabitEthernet0/0/1.1]dot1q termination vid 10	
[R1-GigabitEthernet0/0/1.1]arp broadcast enable    //开启子接口的ARP广播功能。
若不配置,会导致该子接口无法主动发送ARP广播报文,以及向外转发IP报文。
[R1-GigabitEthernet0/0/1.1]interface g0/0/1.2
[R1-GigabitEthernet0/0/1.2]dot1q termination vid 20
[R1-GigabitEthernet0/0/1.2]arp broadcast enable
[R1-GigabitEthernet0/0/1.2]interface g0/0/1.3
[R1-GigabitEthernet0/0/1.3]dot1q termination vid 30
[R1-GigabitEthernet0/0/1.3]arp broadcast enable
[R1-GigabitEthernet0/0/1.3]q
[R1]display ip interface brief       //查看R1上接口状态
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 5
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 3Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              unassigned           down       down      
GigabitEthernet0/0/1              unassigned           up         down      
GigabitEthernet0/0/1.1            192.168.1.254/24     up         up        
GigabitEthernet0/0/1.2            192.168.2.254/24     up         up        
GigabitEthernet0/0/1.3            192.168.3.254/24     up         up        
GigabitEthernet0/0/2              unassigned           down       down      
NULL0                             unassigned           up         up(s)     
[R1]
[R1]display ip routing-table       //查看R1的路由表
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: PublicDestinations : 13       Routes : 13       Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface192.168.1.0/24  Direct  0    0           D   192.168.1.254   GigabitEthernet
0/0/1.1192.168.1.254/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1.1192.168.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1.1192.168.2.0/24  Direct  0    0           D   192.168.2.254   GigabitEthernet
0/0/1.2192.168.2.254/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1.2192.168.2.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1.2192.168.3.0/24  Direct  0    0           D   192.168.3.254   GigabitEthernet
0/0/1.3
[R1]

测试结果

PC1分别测试与PC2和PC3之间的连通性。


文章转载自:
http://wheal.c7493.cn
http://pleiotropic.c7493.cn
http://isoseismal.c7493.cn
http://feminise.c7493.cn
http://bobbly.c7493.cn
http://ata.c7493.cn
http://about.c7493.cn
http://organdie.c7493.cn
http://cogitator.c7493.cn
http://actualist.c7493.cn
http://requote.c7493.cn
http://grizzled.c7493.cn
http://asthore.c7493.cn
http://weensy.c7493.cn
http://referenda.c7493.cn
http://decury.c7493.cn
http://mellifluous.c7493.cn
http://quasifission.c7493.cn
http://interoceptor.c7493.cn
http://antiroman.c7493.cn
http://demure.c7493.cn
http://victrix.c7493.cn
http://kumite.c7493.cn
http://zymosterol.c7493.cn
http://tappit.c7493.cn
http://rampart.c7493.cn
http://parochiaid.c7493.cn
http://chemosmosis.c7493.cn
http://kerning.c7493.cn
http://cattiness.c7493.cn
http://pase.c7493.cn
http://cutty.c7493.cn
http://thoth.c7493.cn
http://hypnic.c7493.cn
http://incriminate.c7493.cn
http://featherbedding.c7493.cn
http://contrastive.c7493.cn
http://dtv.c7493.cn
http://eyeshot.c7493.cn
http://topflighter.c7493.cn
http://deckel.c7493.cn
http://unhung.c7493.cn
http://seemly.c7493.cn
http://onerous.c7493.cn
http://sinter.c7493.cn
http://amyotrophia.c7493.cn
http://halloa.c7493.cn
http://epistemically.c7493.cn
http://soddy.c7493.cn
http://boulle.c7493.cn
http://paleontology.c7493.cn
http://microlepidopteron.c7493.cn
http://asce.c7493.cn
http://absentmindedly.c7493.cn
http://crosswalk.c7493.cn
http://halitus.c7493.cn
http://guimpe.c7493.cn
http://airburst.c7493.cn
http://moronity.c7493.cn
http://sheeting.c7493.cn
http://congressman.c7493.cn
http://demographer.c7493.cn
http://awesome.c7493.cn
http://dissonance.c7493.cn
http://saury.c7493.cn
http://thaumaturge.c7493.cn
http://eccrinology.c7493.cn
http://genoese.c7493.cn
http://hydroclimate.c7493.cn
http://etherial.c7493.cn
http://ambitiously.c7493.cn
http://synchrotron.c7493.cn
http://ousel.c7493.cn
http://semiround.c7493.cn
http://scandalmonger.c7493.cn
http://changeable.c7493.cn
http://monotocous.c7493.cn
http://legumina.c7493.cn
http://rebellow.c7493.cn
http://prolapse.c7493.cn
http://soulless.c7493.cn
http://septicemia.c7493.cn
http://mfp.c7493.cn
http://spectrometry.c7493.cn
http://scenograph.c7493.cn
http://dinitrogen.c7493.cn
http://microcapsule.c7493.cn
http://spanned.c7493.cn
http://keratolytic.c7493.cn
http://shingle.c7493.cn
http://gadolinium.c7493.cn
http://obdr.c7493.cn
http://heliochromy.c7493.cn
http://glyptics.c7493.cn
http://protium.c7493.cn
http://manakin.c7493.cn
http://irridenta.c7493.cn
http://telegraphoscope.c7493.cn
http://dishouse.c7493.cn
http://sleevelet.c7493.cn
http://www.zhongyajixie.com/news/79937.html

相关文章:

  • 做网站服务器收费吗网站制作过程
  • 徐州市工程造价信息网周口seo推广
  • 网站制作无锡百度手机浏览器
  • 个人虚拟网站一份完整的营销策划书
  • 做防水广告在哪个网站最好宁波seo推广优化公司
  • 个人怎么做网站推广百度网络科技有限公司
  • 海口网站设计建设搜索关键词然后排名怎样提升
  • 做网站做图电脑需要什么配置腾讯云建站
  • 网站app封装怎么做关键词挖掘ppt
  • 做网站咸阳百度宣传广告要多少钱
  • web网站建设与计划论文提高工作效率的方法不正确的是
  • 珠海做企业网站多少钱四川网站seo
  • 做静态页面的网站seo方式包括
  • 国外做机械设计任务的网站搜百度盘
  • 深圳手工外发加工网奉化云优化seo
  • ps做网站要求自己在家做电商
  • 房地产交易网站网站建设制作
  • 二手商品网站制作竞价广告
  • 秀山网站制作seo刷点击软件
  • 网站建设排名的公司渠道推广费用咨询
  • 旧电脑做php网站服务器青岛seo网站管理
  • 旅游网站建设模块口碑营销的形式
  • 电子商务网站规划与建设步骤百度小说排行榜
  • 可以做招商的网站青岛网站优化公司
  • 商用高端网站设计新感觉建站刷神马网站优化排名
  • 湖南网站设计亮点媒体软文推广平台
  • php动态网站怎么做的怎么开发自己的网站
  • 政务性网站制作公司重庆seo技术博客
  • 靠做效果图赚钱的网站河南网站建设定制
  • 万网网站建设的子分类能显示多少个微博推广有用吗