当前位置: 首页 > news >正文 洛阳霞光高端定制网站建设活动 wordpress news 2025/10/21 9:56:33 洛阳霞光高端定制网站建设,活动 wordpress,网站建设 成都今网科技,博客用wordpress对吗目录 1. Super VLAN技术产生背景 2. Super VLAN概念 3. Super VLAN应用场景 4. Super VLAN工作原理 5. Super-VLAN主要配置命令 6. Super-VLAN主要配置步骤 7. 示例配置 7.1 示例场景 7.2 网络拓扑 7.3 配置代码 7.4 代码解析 7.5 测试验证 1. Super VLAN技术产生背…目录 1. Super VLAN技术产生背景 2. Super VLAN概念 3. Super VLAN应用场景 4. Super VLAN工作原理 5. Super-VLAN主要配置命令 6. Super-VLAN主要配置步骤 7. 示例配置 7.1 示例场景 7.2 网络拓扑 7.3 配置代码 7.4 代码解析 7.5 测试验证 1. Super VLAN技术产生背景 一般的三层交换机中通常是采用一个VLAN对应一个vlanif接口的方式实现广播域之间的互通这在某些情况下导致了IP地址的浪费。因为一个VLAN对应的子网中子网号、子网定向广播地址、子网缺省网关地址不能用作VLAN内的主机IP地址且子网中实际接入的主机可能少于编址数多出来的IP地址也会因不能再被其他VLAN使用而浪费掉。 如下VLAN规划中VLAN2预计未来有10个主机地址的需求但按编址方式至少需要给其分配一个掩码长度是28的子网10.1.1.0/28其中10.1.1.0为子网号10.1.1.15为子网定向广播地址10.1.1.1为子网缺省网关地址这三个地址都不能用作主机地址剩下范围在10.1.1.210.1.1.14的地址可以被主机使用共13个。VLAN2子网实际地址需求只有10个剩余的3个也不能再被其他VLAN使用。网络中的VLAN越多浪费的IP地址也就越多。 为了解决上述问题VLAN聚合应运而生。它通过引入Super-VLAN和Sub-VLAN的概念使每个Sub-VLAN对应一个广播域并让多个Sub-VLAN和一个Super-VLAN关联只给Super-VLAN分配一个IP子网所有Sub-VLAN都使用Super-VLAN的IP子网和缺省网关进行三层通信。 这样多个Sub-VLAN共享一个网关地址节约了子网号、子网定向广播地址、子网缺省网关地址且各Sub-VLAN间的界线也不再是从前的子网界线了它们可以根据各自主机的需求数目在Super-VLAN对应子网段灵活的划分IP地址范围从而保证了各个Sub-VLAN作为一个独立广播域实现广播隔离又节省了IP地址资源提高了编址的灵活性。 Super-VLAN技术主要目的是减少IP地址浪费。 2. Super VLAN概念 Super VLAN也叫VLAN聚合VLAN Aggregation指在一个物理网络内用多个VLAN称为Sub-VLAN隔离广播域并将这些Sub-VLAN聚合成一个逻辑的VLAN称为Super-VLAN。Super VLAN可以配置三层接口Sub VLAN不能配置三层接口。所有Sub-VLAN共用一个IP网段要进行三层通信时将使用Super VLAN三层接口的IP地址作为网关地址使用同一个缺省网关并且可以通过Super VLAN的VLANIF接口实现三层互通。 3. Super VLAN应用场景 Super VLAN适用于用户多VLAN多大量VLAN的IP地址在同一个网段但是又要实现不同VLAN之间二层隔离的场景。VLAN之间如果有互访的需求可以对Super VLAN开启ARP代理。常见的场景有宾馆酒店小区宽带接入等。一个房间或者一户人家一个VLAN彼此隔离但是IP地址有限无法给数量庞大的VLAN每个分一个网段IP只能共用一个IP地址段。例如VLAN 10的IP地址段是10.10.10.0/24一户人家可能就使用了1个或2个IP剩余200多个IP地址浪费了。Super VLAN可以使VLAN11-100共享10.10.10.0/24网段节约了IP地址。 与MUX VLAN隔离功能相比Super VLAN属于三层功能需要三层交换机支持。MUX VLAN属于二层交换机功能。Super VLAN的配置较为简单MUX VLAN配置较为复杂但对用户间的访问控制灵活性不如MUX VLANSuper VLAN内需要查询部分暂时离线的用户时网关需要在每个子VLAN内广播发送报文可能较大的消耗设备CPU资源。 4. Super VLAN工作原理 通过建立Super--VLAN和Sub-VLAN间的映射关系把三层逻辑接口和物理接口结合起来实现普通VLAN功能的同时也达到节省P地址的目的。 一个Super-VLAN可以包含一个或多个Sub-VLAN。Sub-VLAN要添加端口才能激活只要有一个子VLAN是激活的,那么SUPER VLAN就是激活的。Sub-VLAN不占用一个独立的网段。同一个Super-VLAN中无论终端属于哪一个Sub-VLAN它的IP地址都在Super-VLAN对应的网段内。 Super-VLAN 只建立三层VlanIf接口IP地址与网关对应不包含物理接口。与普通VLAN不同的是它的VlanIf接口的Up不依赖于自身物理接口的Up而是只要它所含Sub-VLAN中存在Up的物理接口就Up负责实现所有Sub-VLAN共享同一个三层接口的需求使不同Sub-VLAN内的主机可以共用同一个网关。VLAN 1不能配置为Super VLAN。 Sub-VLAN 只包含物理接口不建立三层VlanIf接口隔离广播域Sub-VLAN间相互隔离每个Sub-VLAN内的主机与外部的三层通信是靠Super-VLAN的三层VLANIF接口来实现的不同Sub-VLAN下的终端默认不能互通如果要通信需要在Super-VLAN的VLANIF接口上开启Proxy ARP代理ARP。 5. Super-VLAN主要配置命令 [SW-vlan100]aggregate-vlan //vlan100配置为Super-VLAN [SW-vlan100]access-vlan 10 20 30 //将Sub-VLAN10 20 30加入Super-VLAN。 [SW-Vlanif100] arp-proxy inter-sub-vlan-proxy enable // 开启代理ARP功能IPv4环境 display super-vlan //查看Super-VLAN类型的VLAN表项信息 Sub-VLAN配置详见华为--配置VLAN聚合节约IP地址 6. Super-VLAN主要配置步骤 创建Sub VLAN创建Super VLAN关联Super VLAN和Sub VLAN 配置Super VLANIF接口。 7. 示例配置 7.1 示例场景 某公司有多个部门且位于同一网段将不同部门的用户划分到不同VLAN中VLAN 10、VLAN 20、VLAN 30、VLAN 40和VLAN 50属于不同部门。各部门均有访问Internet需求同时由于业务需要部分部门间的用户需要互通。 7.2 网络拓扑 7.3 配置代码 system-view sysname R interface GigabitEthernet0/0/0ip address 192.168.3.253 255.255.255.0 interface LoopBack40ip address 123.123.1.1 255.255.255.255 quit ip route-static 0.0.0.0 0.0.0.0 192.168.3.254system-view sysname SW vlan batch 10 20 30 40 50 100 interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 10 20 interface GigabitEthernet0/0/2port link-type trunkport trunk allow-pass vlan 20 30 interface GigabitEthernet0/0/23port link-type accessport default vlan 50 interface GigabitEthernet0/0/24port link-type accessport default vlan 40 interface Vlanif40ip address 192.168.3.254 255.255.255.0 interface Vlanif50ip address 192.168.2.254 255.255.255.0 interface Vlanif100ip address 192.168.1.254 255.255.255.0arp-proxy inter-sub-vlan-proxy enablevlan 100aggregate-vlanaccess-vlan 10 20 30 quit ip route-static 123.123.1.1 32 192.168.3.253system-view sysname SW1 vlan batch 10 20 interface Ethernet0/0/1port link-type accessport default vlan 10 interface Ethernet0/0/2port link-type accessport default vlan 10 interface Ethernet0/0/3port link-type accessport default vlan 20 interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 10 20 quitsystem-view sysname SW2 vlan batch 20 30 interface Ethernet0/0/1port link-type accessport default vlan 20 interface Ethernet0/0/2port link-type accessport default vlan 30 interface Ethernet0/0/3port link-type accessport default vlan 30 interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 20 30 quit 7.4 代码解析 Huaweisystem-view [Huawei]sysname R [R]interface GigabitEthernet0/0/0 [R-GigabitEthernet0/0/0]interface LoopBack40 [R-LoopBack40] ip address 123.123.1.1 255.255.255.255 [R-LoopBack40]quit [R]ip route-static 0.0.0.0 0.0.0.0 192.168.3.254 Huaweisystem-view [Huawei]sysname SW [SW]vlan batch 10 20 30 40 50 100 [SW]interface GigabitEthernet0/0/1 [SW-GigabitEthernet0/0/1] port link-type trunk [SW-GigabitEthernet0/0/1] port trunk allow-pass vlan 10 20 [SW-GigabitEthernet0/0/1]interface GigabitEthernet0/0/2 [SW-GigabitEthernet0/0/2] port link-type trunk [SW-GigabitEthernet0/0/2] port trunk allow-pass vlan 20 30 [SW-GigabitEthernet0/0/2]interface GigabitEthernet0/0/23 [SW-GigabitEthernet0/0/23] port link-type access [SW-GigabitEthernet0/0/23] port default vlan 50 [SW-GigabitEthernet0/0/23]interface GigabitEthernet0/0/24 [SW-GigabitEthernet0/0/24] port link-type access [SW-GigabitEthernet0/0/24] port default vlan 40 [SW-GigabitEthernet0/0/24]interface Vlanif40 [SW-Vlanif40] ip address 192.168.3.254 255.255.255.0 [SW-Vlanif40]interface Vlanif50 [SW-Vlanif50] ip address 192.168.2.254 255.255.255.0 [SW-Vlanif50]interface Vlanif100 [SW-Vlanif100] ip address 192.168.1.254 255.255.255.0 [SW-Vlanif100] arp-proxy inter-sub-vlan-proxy enable //在Vlanif100端口开启vlan间代理ARP [SW-Vlanif100] vlan 100 [SW-vlan100] aggregate-vlan //指定vlan100为Super-VLAN [SW-vlan100] access-vlan 10 20 30 //vlan 10 20 30加入Super-VLAN。 [SW-vlan100]quit [SW]ip route-static 123.123.1.1 32 192.168.3.253 Huaweisystem-view [Huawei]sysname SW1 [SW1]vlan batch 10 20 [SW1]interface Ethernet0/0/1 [SW1-Ethernet0/0/1] port link-type access [SW1-Ethernet0/0/1] port default vlan 10 [SW1-Ethernet0/0/1]interface Ethernet0/0/2 [SW1-Ethernet0/0/2] port link-type access [SW1-Ethernet0/0/2] port default vlan 10 [SW1-Ethernet0/0/2]interface Ethernet0/0/3 [SW1-Ethernet0/0/3] port link-type access [SW1-Ethernet0/0/3] port default vlan 20 [SW1-Ethernet0/0/3]interface GigabitEthernet0/0/1 [SW1-GigabitEthernet0/0/1] port link-type trunk [SW1-GigabitEthernet0/0/1] port trunk allow-pass vlan 10 20 [SW1-GigabitEthernet0/0/1]quit [SW1] Huaweisystem-view [Huawei]sysname SW2 [SW2]vlan batch 20 30 [SW2]interface Ethernet0/0/1 [SW2-Ethernet0/0/1] port link-type access [SW2-Ethernet0/0/1] port default vlan 20 [SW2-Ethernet0/0/1]interface Ethernet0/0/2 [SW2-Ethernet0/0/2] port link-type access [SW2-Ethernet0/0/2] port default vlan 30 [SW2-Ethernet0/0/2]interface Ethernet0/0/3 [SW2-Ethernet0/0/3] port link-type access [SW2-Ethernet0/0/3] port default vlan 30 [SW2-Ethernet0/0/3]interface GigabitEthernet0/0/1 [SW2-GigabitEthernet0/0/1] port link-type trunk [SW2-GigabitEthernet0/0/1] port trunk allow-pass vlan 20 30 [SW2-GigabitEthernet0/0/1]quit [SW2] 7.5 测试验证 在上述配置下网络所有终端应该全部互通。 如上图所示网络所有终端互通正常。 如果取消vlanif100端口代理ARP功能Super VLAN下的所有子vlan间应该相互隔离。 取消聚合vlan100的vlanif100端口代理ARP功能Super VLAN下的所有子vlan间相互隔离但和其他非Super VLAN通信正常。 参考资料 华为--配置Super VLAN示例 硬核好文什么是Super VLAN-腾讯云开发者社区-腾讯云 文章转载自: http://www.morning.byywt.cn.gov.cn.byywt.cn http://www.morning.hongjp.com.gov.cn.hongjp.com http://www.morning.ttnfc.cn.gov.cn.ttnfc.cn http://www.morning.sgwr.cn.gov.cn.sgwr.cn http://www.morning.hrzky.cn.gov.cn.hrzky.cn http://www.morning.nmbbt.cn.gov.cn.nmbbt.cn http://www.morning.xtrnx.cn.gov.cn.xtrnx.cn http://www.morning.zqcsj.cn.gov.cn.zqcsj.cn http://www.morning.nwjd.cn.gov.cn.nwjd.cn http://www.morning.httpm.cn.gov.cn.httpm.cn http://www.morning.zcqbx.cn.gov.cn.zcqbx.cn http://www.morning.5-73.com.gov.cn.5-73.com http://www.morning.yrdn.cn.gov.cn.yrdn.cn http://www.morning.zdmrf.cn.gov.cn.zdmrf.cn http://www.morning.pudejun.com.gov.cn.pudejun.com http://www.morning.mlbn.cn.gov.cn.mlbn.cn http://www.morning.xfhms.cn.gov.cn.xfhms.cn http://www.morning.wmfmj.cn.gov.cn.wmfmj.cn http://www.morning.sdamsm.com.gov.cn.sdamsm.com http://www.morning.brsgw.cn.gov.cn.brsgw.cn http://www.morning.gwkwt.cn.gov.cn.gwkwt.cn http://www.morning.fhtmp.cn.gov.cn.fhtmp.cn http://www.morning.prprz.cn.gov.cn.prprz.cn http://www.morning.nrpp.cn.gov.cn.nrpp.cn http://www.morning.kwqqs.cn.gov.cn.kwqqs.cn http://www.morning.lynmt.cn.gov.cn.lynmt.cn http://www.morning.prls.cn.gov.cn.prls.cn http://www.morning.rcmwl.cn.gov.cn.rcmwl.cn http://www.morning.ghslr.cn.gov.cn.ghslr.cn http://www.morning.kjlia.com.gov.cn.kjlia.com http://www.morning.pctql.cn.gov.cn.pctql.cn http://www.morning.wptdg.cn.gov.cn.wptdg.cn http://www.morning.jqllx.cn.gov.cn.jqllx.cn http://www.morning.pwdgy.cn.gov.cn.pwdgy.cn http://www.morning.jmdpp.cn.gov.cn.jmdpp.cn http://www.morning.xnpj.cn.gov.cn.xnpj.cn http://www.morning.jmllh.cn.gov.cn.jmllh.cn http://www.morning.ychoise.com.gov.cn.ychoise.com http://www.morning.wplbs.cn.gov.cn.wplbs.cn http://www.morning.sfwfk.cn.gov.cn.sfwfk.cn http://www.morning.bbxbh.cn.gov.cn.bbxbh.cn http://www.morning.gctgc.cn.gov.cn.gctgc.cn http://www.morning.nrqnj.cn.gov.cn.nrqnj.cn http://www.morning.yrjkp.cn.gov.cn.yrjkp.cn http://www.morning.hmmnb.cn.gov.cn.hmmnb.cn http://www.morning.tqhpt.cn.gov.cn.tqhpt.cn http://www.morning.nqgff.cn.gov.cn.nqgff.cn http://www.morning.fswml.cn.gov.cn.fswml.cn http://www.morning.lflnb.cn.gov.cn.lflnb.cn http://www.morning.dnqliv.cn.gov.cn.dnqliv.cn http://www.morning.gmwqd.cn.gov.cn.gmwqd.cn http://www.morning.dmlgq.cn.gov.cn.dmlgq.cn http://www.morning.zcwwb.cn.gov.cn.zcwwb.cn http://www.morning.lhytw.cn.gov.cn.lhytw.cn http://www.morning.fcpjq.cn.gov.cn.fcpjq.cn http://www.morning.kxsnp.cn.gov.cn.kxsnp.cn http://www.morning.lczxm.cn.gov.cn.lczxm.cn http://www.morning.ggjlm.cn.gov.cn.ggjlm.cn http://www.morning.chmcq.cn.gov.cn.chmcq.cn http://www.morning.tstkr.cn.gov.cn.tstkr.cn http://www.morning.pmnn.cn.gov.cn.pmnn.cn http://www.morning.rqjfm.cn.gov.cn.rqjfm.cn http://www.morning.rmpfh.cn.gov.cn.rmpfh.cn http://www.morning.yckwt.cn.gov.cn.yckwt.cn http://www.morning.jnrry.cn.gov.cn.jnrry.cn http://www.morning.dnydy.cn.gov.cn.dnydy.cn http://www.morning.qgtbx.cn.gov.cn.qgtbx.cn http://www.morning.atoinfo.com.gov.cn.atoinfo.com http://www.morning.ghssm.cn.gov.cn.ghssm.cn http://www.morning.wtlyr.cn.gov.cn.wtlyr.cn http://www.morning.lwbhw.cn.gov.cn.lwbhw.cn http://www.morning.fwrr.cn.gov.cn.fwrr.cn http://www.morning.yhwyh.cn.gov.cn.yhwyh.cn http://www.morning.lwwnq.cn.gov.cn.lwwnq.cn http://www.morning.stprd.cn.gov.cn.stprd.cn http://www.morning.bprsd.cn.gov.cn.bprsd.cn http://www.morning.hlshn.cn.gov.cn.hlshn.cn http://www.morning.rxnl.cn.gov.cn.rxnl.cn http://www.morning.mtrrf.cn.gov.cn.mtrrf.cn http://www.morning.rptdz.cn.gov.cn.rptdz.cn 查看全文 http://www.tj-hxxt.cn/news/236533.html 相关文章: 用户体验网站网店怎么做 游民星空是用什么做的网站wordpress shop路径在哪儿 深圳移动网站建设公广东新闻联播回放 文昌网站建设做简单视频网站自己看 上蔡做网站广州注册公司地址怎么解决 模板建设网站app网站有哪些 东莞网站建设lhznkj广昌网站建设 申请自助建站网站制作的网站 建筑类网站建设黑科技软件合集网站 企业网站策划书东莞公司建站模板 网站创建一般创建哪种类型中国建筑股份有限公司 正规的培训行业网站制作php企业网站源码下载 制作网站公司选 择乐云seowordpress微信支付教程 南京网站设计公司推荐深圳网站制作可选兴田德润 天津网站建设是什么婚礼婚庆网站建设 广州大型网站建设公司排名创业的好项目 广州商务网站建设会qt怎么做网站 有没有免费建站开个小网站要怎么做 单页网站下载比较知名的企业 扬州集团网站建设西安网站开发多少钱 saas建站 彩页用word 做网站 做的网站怎么转成网址链接百度权重怎么看 做网站租用那个服务器好上海网站域名注册 沈阳网站建设dnglzxseo点击排名工具 手机版网站公司的wordpress移除评论字段 网站备案ps领动建站 青海商会网站建设公司荆州市住房和城乡建设厅官方网站 网站logo织梦怎么做我的网站为什么 深圳做外贸网站公司网站开发项目实例 安徽鲲鹏建设集团有限公司网站建立个人网站代码