欢迎来到天天文库
浏览记录
ID:34460743
大小:83.67 KB
页数:5页
时间:2019-03-06
《如何在xenserver中设置没有默认网关的ip》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、HowtoSetupXenServerinaRoutedNetworkDocumentID:CTX121169 / CreatedOn:2010-2-4 / UpdatedOn:2010-2-4AverageRating:(2ratings)Viewproductsthisdocumentappliesto SummaryInsomecases(suchashostingenvironments),multiplesubnetsofIPaddressesareprovidedonasingleint
2、erfacewheresubnetsotherthantheoriginalarenotassignedadefaultgateway.ThisconfigurationworkswhenanIPinterfaceexistswithinthesamesubnetasthedefaultgatewayfromtheprimarysubnet,howeverthisisnotalwayspossible.Thediagrambelowdepictsthisscenario:Inthiscase,ifaVMis
3、configuredwithinthe172.16.20.0/24subnet,thecustomer’sdefaultgateway(172.16.1.1)cannotbeusedandconnectivitytosubnetsotherthan172.16.20.0/24isnnotpossible.Wheneverpossible,youshouldconfigurethedefaultgatewayforthesecondarysubnetsassecondaryIPaddressesontheVL
4、AN.Thisactioncompletelyavoidstheneedforcomplexworkarounds.NoticeThisarticlemakeschangestotheXenServerconfigurationwhich,ifmadeimproperly,mightpreventnetworkaccesstothehostorcompromisesecurity.ThesechangesmightalsobeoverwrittenafterupdatesorupgradesbetweenX
5、enServerreleases.RequirementsOneormoreXenServerhostsconfiguredwithanexistingmanagementIPaddressinthesamesubnetasthedefaultgateway.Toimplementthisprocedure,itisassumedthatyouhavebasicLinux(suchaseditingfiles)andnetworkingknowledge.BackgroundXenServerisdesig
6、nedtoallowasingleIPaddresspermanagementinterface.Inaddition,XenServerdoesnotbydefaultfacilitateroutingbetweenIPinterfacesasthiscancompromisesystemsecurityifnotimplementedproperly.ForXenServertoworkeffectivelyinthistypeofenvironment,itmustbeconfiguredto:1.A
7、llowoneormoresecondaryIPaddressestobeconfiguredonagivenmanagementinterface.2.EnableforwardingbetweenIPinterfaces.3.Configurethein-builtIPTablesfirewalltoallowforwardingbetweentheprimaryandsecondarysubnets.Fromthesecondarysubnet,anIPaddressisdesignatedasthe
8、defaultgateway,whichisconfiguredontheXenServerhost.AllVMsusingthesecondarysubnet(s)routeexternalroutestotheXenServerDomain0.Thediagrambelowshowsthemodifiedbehavior:ProcedurePerformthefollowingstepstoconfigure
此文档下载收益归作者所有