皖西学院本科毕业论文(设计)I基于QINQ技术的IP城域网优化方案的实现作者周国祥指导教师毛德梅摘要:随着使用互联网人数的增大,各种不同的业务也在增多,导致IP城域网在不断的扩大,各种安全问题也在频繁出现。为了能够对用户进行精确标识,同时使城域网具备业务识别能力,确保业务数据流的正确转发,必须对整个城域网进行扩容。QINQ技术作为802.1Q协议的扩充,在802.1QVLAN的基础上又增加了一层VLAN标签,拓展了VLAN空问,克服了目前VLAN在城域网发展中遇到的数量不足的问题。同时,为了适应城域网的发展,QINQ封装、终结的方式也越来越丰富,为用户精确标识和业务识别提供了有效的解决方案,在运营商的业务精细化运营方面得到了越来越深入的应用。本文对QINQ技术的原理和它在IP城域网中的应用进行了研究,介绍了QINQ技术在IP城域网中的几种常用组网方案。同时为满足更多的用户上网需求。首先,设计了VLAN模块。通过用户接口,完成QINQ配置命令的处理,实现了以太网子接口VLAN信息的维护。其次,通过分析VLAN、PPPOE等模块之间的数据流和控制流,实现了三层以太子接口报文接收和发送的处理。最后,通过对现有PPPOE接口和固定IP业务的接口,在BAS和接入层上实现QINQ隔离端口功能。该方案能够应用在QINQ组网的环境中,解决了用户精确定位、业务识别等问题,增强了网络的可运营、可管理性。关键词:QINQ;ME60;交换机、;PPPOE;端口隔离皖西学院本科毕业论文(设计)IIImplementationofIPMAN’soptimizationbasedonQINQtechnologyAbstract:AStheusingnumberofInternetincreases,anddifferentkindsofbusinessarealsoontherise,theyhavecontributedtotheIPMANexpandingconstantly,andmadeavarietyofsecurityproblemsemergefrequently.Inordertoaccuratelyidentifytheuserandmakethemalsohavetheabilitytoidentifybusinesses;makeappropriatetriageofthedifferentservice,andensuretoforwardcorrectlythebusinessdataflow,itisnecessarilythatOperatorexpandstheentiremetropolitanareanetwork.ThatQINQbeingusedas802.1Qprotocolextension,andaddingalayerofVLANlabelbasedonVLAN,expandstheVLAN,expandstheVLANspace,andovercomestheproblemofinsufficientquantitythatthecurrentVLANencounteredinMANdevelopment.Atthesametime,inordertoadaptthedevelopmentmetropolitanareanetwork,QINQpackage,theendingwaybecomemoreandmoreabundant,whichprovidesaneffectivesolutiontopreciseidentificationandserviceidentificationfortheuser.Moreover,ithasbeenmorein-depthapplicationintheoperationalaspectsofbusinessrefinement.ThepaperstudiestheprincipleofQINQtechnologyanditsapplicationinIPMAN,andalsointroduceseveralcommonnetworkingsolutionstoQINQtechnologyinIPMAN.Firstly,IdesignedtheVLANmodule.Throughdesigningoftheuserinterface,andaccomplishingtheQINQconfigurationcommandprocessing,itmaintainsEthernetnetworkinterfaceVLANinformation.Secondly,throughtheanalysisoftheexistingPPPOEinterfaceandafixedIPserviceinterface,wecanachievethefunctionoftheQINQisolationportbasedonBASandtheaccesslayer.ThisprogramcanbeappliedtoaQINQnetworkenvironment.Itwillsolvesomeproblems,forinstance,theuser’sprecisepositioning,serviceidentificationandisolationect.Thisschemewillenhancetheoperationandmanageabilityofnetwork.Keywords:QINQ;ME60;switch;PPPOE;PortIsolation皖西学院本科毕业论文(设计)III目录1绪论.........................................................................................................................................................................11.1研究背景......................................................................................................................................................11.1.1VLAN的局限性................................................................................................................................11.1.2研究方案的意义...............................................................................................................................31.1.3研究方案的主要内容.......................................................................................................................31.2本文内容安排..............................................................................................................................................42QINQ技术..............................................................................................................................................................52.1QINQ(802.1Qin802.1Q)技术介绍........................................................................................................52.1.1QINQ报文格式.................................................................................................................................52.1.2QINQ封装.........................................................................................................................................62.1.3QINQ终结.........................................................................................................................................72.2QINQ在IP城域网中的应用......................................................................................................................82.2.1QINQ组网方案.................................................................................................................................93BRAS及相关协议...............................................................................................................................................123.1宽带远程接入服务器................................................................................................................................123.2PPP协议.....................................................................................................................................................133.2.1PPP交互过程..................................................................................................................................133.2.3PPP认证方式........................................................................................................