




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
/■//Microsoft
^</Windowsxp
OperatingSystem
AdHocInternetSharingwithMicrosoftWindowsXP
MicrosoftCorporation
Published:October2003
Updated:August2004
Abstract
TheInternetConnectionSharing(ICS)featureofMicrosoft@Windows@XPallowsyoutoshareasingleInternet
connectionwithmultiplecomputers.Built-insupportforIEEE802.11wirelessLANs(WLANs)allowsyouto
createanadhocwirelessnetwork.ThesetwofeaturescanbeusedtogethertoshareawiredInternet
connectionwiththemembersofanadhocwirelessnetwork.Thisarticledescribeshowtoquicklyandeasilyuse
WindowsXPtoshareawiredInternetconnectionwithotherWLANcomputers.
Microsoft@Windows@XPTechnicalArticle
Theinformationcontainedinthisdocumentrepresentsthecurrentviewof
MicrosoftCorporationontheissuesdiscussedasofthedateof
publication.becauseMicrosoftmustrespondtochangingmarket
conditions,itshouldnotbeinterpretedtobeacommitmentonthepartof
Microsoft,andMicrosoftcannotguaranteetheaccuracyofanyinformation
presentedafterthedateofpublication.
Thisdocumentisforinformationalpurposesonly.MICROSOFTMAKES
NOWARRANTIES,EXPRESSORIMPLIED.ASTOTHE
INFORMATIONINTHISDOCUMENT.
Complyingwithallapplicablecopyrightlawsistheresponsibilityofthe
user.Withoutlimitingtherightsundercopyright,nopartofthisdocument
maybereproduced,storedinorintroducedintoaretrievalsystem,or
transmittedinanyformorbyanymeans(electronic,mechanical,
photocopyina,recording,orotherwise),orforanypurpose,withoutthe
expresswrittenpermissionofMicrosoftCorporation.
Microsoftmayhavepatents,patentapplications,trademarks,copyrights,
orotherintellectualpropertyrightscoveringsubjectmatterinthis
document.Exceptasexpresslyprovidedinanywrittenlicenseagreement
fromMicrosoft,tnefurnishingofthisdocumentdoesnotgiveyouany
licensetothesepatents,trademarks,copyrights,orotherintellectual
property.
©2003MicrosoftCorporation.Allrightsreserved.
Microsoft,Windows,andWindowsServerareeitherregistered
trademarksortrademarksofMicrosoftCorporationintneUnitedStates
and/orothercountries.
Thenamesofactualcompaniesandproductsmentionedhereinmaybe
thetrademarksoftheirrespectiveowners.
Microsoft@Windows@XPTechnicalArticle
Contents
Overview1
ConfiguringAdHocInternetSharing2
1.ConnectingtheICSHostComputertotheInternet2
2.EnablingInternetSharingontheInternetConnectionoftheICSHostComputer4
3.CreatinganAdHocWirelessNetworkontheICSHostComputer4
4.ConnectingtotheNewAdHocWirelessNetworkfromtheOtherLaptopComputers6
RestoringtheConfigurationoftheICSHostComputer9
Summary10
RelatedLinks11
Microsoft@Windows@XPTechnicalArticle
Overview
WiththeInternetConnectionSharing(ICS)featureofWindowsXP,youcanshareaccesstotheInternet
withothercomputersofasmallnetwork.Forexample,whenyouhaveonecomputerthatconnectstothe
InternetbyusinganEthernetcableandICSisenabledontheEthernetconnectionofthiscomputer,known
astheICShostcomputer,theothercomputersonthesmallnetworkcanconnecttotheInternetthroughthe
ICShostcomputer.
WithIEEE802.11supportforwirelessLANs(WLANs),youcancreateanadhocwirelessnetwork,also
knownasacomputer-to-computerwirelessnetwork.Anadhocwirelessnetworkdoesnotrequiretheuse
ofawirelessaccesspoint,whichisaseparatedevicethatistypicallyusedbyprivateorganizationsand
publiclocationstoprovidecentralizedwirelessaccesstoalargernetwork.Youcanuseadhocwireless
networkstoconnectmultipleWLANcomputerstogetherinhomes,smallbusinesses,orfortemporary
connectivitybetweentwoormorecomputerssothattheycaneithercommunicatewitheachotherorwitha
sharedresource,suchastheInternet.Itisthislastcasethatwewillexploreinthisarticle.Wewilldescribe
thestepsrequiredtoconfigureacomputerrunningWindowsXPtoconnecttotheInternetusingan
EthernetconnectionandthensharethatInternetconnectionwithotherWLAN-basedcomputersusingan
adhocwirelessnetwork.
AdHocInternetSharingwithMicrosoftWindowsXP1
Microsoft@Windows@XPTechnicalArticle
ConfiguringAdHocInternetSharing
Thisconfigurationassumesthefollowingconfiguration:
•AlaptopcomputerrunningWindowsXPthatisequippedwithbothEthernetand802.11WLANnetwork
adapters.ThiscomputerisreferredtoastheICShostcomputer.
•AnEthernet-basedconnectiontotheInternet.
•LaptopsorothercomputersrunningWindowsXPthatareequippedwith802.11WLANnetwork
adapters.
Thefollowingfigureshowstheresultingconfiguration.
comcM9
C3I
cornpulef
ThestepstoconfiguringadhocInternetsharingarethefollowing:
i.ConnecttheICShostcomputertotheInternet.
2.EnableInternetsharingontheInternetconnectionoftheICShostcomputer.
3.CreateanadhocwirelessnetworkontheICShostcomputer.
4.Connecttothenewadhocwirelessnetworkfromtheotherlaptopcomputers.
Thefollowingsectionsdescribethesestepsindetail.
NoteThefollowingstepsassumethatthewirelessnetworkadaptersinstalledinallofthewirelessclientcomputerscan
connectusingacommon802.11technology,suchas802.11b,802.11g,or802.11a.
1.ConnectingtheICSHostComputertotheInternet
ConnectanEthernetcablethatleadstotheInternettotheEthernetadapterontheICShostcomputer.In
manycases,theInternetconnectionwillprovideautomaticIPaddressing.Toutilizethisfacilityofthe
Internetconnection,theEthernetconnectionintheNetworkConnectionsfolderinWindowsXPmustbe
configuredforautomaticaddressing.ToconfigureacomputerrunningWindowsXPforautomatic
addressing,dothefollowing:
1.FromtheWindowsXPdesktop,clickStart,clickControlPanel,clickNetworkandInternet
Connections,andthenclickNetworkConnections.
AdHocInternetSharingwithMicrosoftWindowsXP2
Microsoft@Windows@XPTechnicalArticle
2.Right-clickthenetworkconnectionthatcorrespondstotheEthernetnetworkadapterattachedtothe
Internet,andthenclickProperties.
3.OntheGeneraltab,double-clickInternetProtocol(TCP/IP)intheThisconnectionusesthe
followingitemslist.
4.OntheGeneraltab,clickObtainanIPaddressautomaticallyandObtainDNSserveraddress
automatically.Anexampleisshowninthefollowingfigure.
5.ClickOKtosavethechangestoyourconnection'sconfiguration.
IftheInternetconnectiondoesnotprovideautomaticIPaddressing,youmustmanuallyconfigureanIP
addressconfiguration.ToobtainanIPaddressconfiguration,seethenetworkadministratorofthenetwork
towhichyouareconnecting.TomanuallyconfigureacomputerrunningWindowsXPforanIPaddress
configuration,dothefollowing:
1.FromtheWindowsXPdesktop,clickStart,clickControlPanel,clickNetworkandInternet
Connections,andthenclickNetworkConnections.
2.Right-clickthenetworkconnectionthatcorrespondstotheEthernetnetworkadapterattachedtothe
Internet,andthenclickProperties.
3.OntheGeneraltab,double-clickInternetProtocol(TCP/IP)intheThisconnectionusesthe
followingitemslist.
4.OntheGeneraltab,clickUsethefollowingIPaddressandtypetheIPaddress,subnetmask,and
defaultgatewayasinstructed.ClickUsethefollowingDNSserveraddressesandtypetheIP
addressofapreferredandalternateDomainNameSystem(DNS)serverasinstructed.
5.ClickOKtosavethechangestoyourconnection'sconfiguration.
Next,youmustenabletheWindowsFirewallfeatureofWindowsXPwithServicePack2(SP2),theInternet
ConnectionFirewall(ICF)featureofWindowsXPwithServicePack1(SP1)orWindowsXPwithnoservice
packsinstalled,orathird-partyfirewalltohelpprotecttheICShostcomputerfrommaliciousInternetusers.
AdHocInternetSharingwithMicrosoftWindowsXP3
Microsoft@Windows@XPTechnicalArticle
ToenableWindowsFirewallontheICShostcomputer,dothefollowing:
i.FromtheWindowsXPdesktop,clickStart,clickControlPanel,clickNetworkandInternet
Connections,andthenclickWindowsFirewall.
2.ClickOn,andthenclickOK.
ToenableICFontheInternetconnectionoftheICShostcomputer,dothefollowing:
1.FromtheWindowsXPdesktop,clickStart,clickControlPanel,clickNetworkandInternet
Connections,andthenclickNetworkConnections.
2.Right-clicktheEthernetnetworkconnectionthatcorrespondstotheEthernetnetworkadapter
attachedtotheInternet,andthenclickProperties.
3.OntheAdvancedtab,selecttheProtectmycomputerbylimitingorpreventingaccesstothis
computerfromtheInternetcheckbox.
4.ClickOKtosavechangestoyourconnection.
AftertheICShostcomputerisconnectedtotheInternet,verifythatyouhaveInternetconnectivitybyusing
aWebbrowsersuchasInternetExplorertoviewafewWebsites.Toensurethatyouarenotviewing
locallystoredcopiesofWebpagecontents,refresheachWebpagethatyouview.
WhenyouareconfidentthatyouareaccessingtheInternetfromtheICShostcomputer,proceedtothe
nextstep.
2.EnablingInternetSharingontheInternetConnectionoftheICSHostComputer
ToenableInternetsharingontheInternetconnectionoftheICShostcomputer,dothefollowing:
1.FromtheWindowsXPdesktop,clickStart,clickControlPanel,clickNetworkandInternet
Connections,andthenclickNetworkConnections.
2.Right-clicktheEthernetnetworkconnectionthatisusedtoaccesstheInternet,andthenclick
Properties.
3.OntheAdvancedtab,selecttheAllowothernetworkuserstoconnectthroughthiscomputer's
InternetconnectioncheckboxandcleartheAllowothernetworkuserstocontrolordisable
thissharedInternetconnectioncheckbox.
4.ClickOKtosavechangestoyourconnection.
5.YoumightbepromptedwithaLocalNetworkmessageboxthatexplainshowyourcomputer's
configurationisbeingchanged.ClickYestoenableInternetsharing.
3.CreatinganAdHocWirelessNetworkontheICSHostComputer
TocreateanadhocwirelessnetworktoshareInternetaccesswiththeotherWLANcomputersona
computerrunningWindowsXPwithSP2orWindowsXPwithSP1andtheWPAWirelessSecurityUpdate
inWindowsXP,dothefollowing:
1.FromtheWindowsXPdesktop,clickStart,clickControlPanel,clickNetworkandInternet
Connections,andthenclickNetworkConnections.
2.Right-clickthewirelessnetworkconnection,andthenclickProperties.
AdHocInternetSharingwithMicrosoftWindowsXP4
Microsoft@Windows@XPTechnicalArticle
3.ClicktheWirelessNetworkstab.
4.Inthewirelessnetworkadapterpropertiesdialogbox,clickAddunderPreferrednetworks.
5.OntheAssociationtab,typethenameofyouradhocwirelessnetworkinNetworkname(SSID).
Forexample,youcouldnameyourwirelessnetworkAdHocInternet.
6.SelecttheThisisacomputer-to-computer(adhoc)networkcheckboxandcleartheThekeyis
providedformeautomaticallycheckbox.
7.InNetworkAuthentication,selectOpen.
8.InDataencryption,selectWEP.
9.InNetworkkey,typetheWEPkey.TheWEPkeyshouldbearandomsequenceofhexadecimal
digitsornumbers,letters,andpunctuation.
w.lnConfirmnetworkkey,retypetheWEPkey.
11.ClickOKtosavechangestothewirelessnetwork.
i2.ClickOKtosavechangestothewirelessnetworkadapter.
TocreateanadhocwirelessnetworktoshareInternetaccesswiththeotherWLANcomputersona
computerrunningWindowsXPwithSP1,dothefollowing:
1.FromtheWindowsXPdesktop,clickStart,clickControlPanel,clickNetworkandInternet
Connections,andthenclickNetworkConnections.
2.Right-clickthewirelessnetworkconnection,andthenclickProperties.
3.ClicktheWirelessNetworkstab.
4.Inthewirelessnetworkadapterpropertiesdialogbox,clickAddunderPreferrednetworks.
5.OntheAssociationtaboftheWirelessNetworkPropertiesdialogbox,typethenameofyourad
hocwirelessnetworkinNetworkname(SSID).Forexample,youcouldnameyourwirelessnetwork
AdHocInternet.
6.SelecttheDataencryption(WEPenabled)andThisisacomputer-to-computer(adhoc)
networkcheckboxesandcleartheThekeyisprovidedformeautomaticallycheckbox.
7.InNetworkkey,typetheWEPkey.TheWEPkeyshouldbearandomsequenceofhexadecimal
digitsornumbers,letters,andpunctuation.
8.RetypetheWEPkeyinConfirmnetworkkey.
9.ClickOKtosavechangestothewirelessnetwork.
w.ClickOKtosavechangestothewirelessnetworkadapter.
TocreateanadhocwirelessnetworktoshareInternetaccesswiththeotherWLANcomputersona
computerrunningWindowsXPwithnoservicepacksinstalled,dothefollowing:
1.FromtheWindowsXPdesktop,clickStart,clickControlPanel,clickNetworkandInternet
Connections,andthenclickNetworkConnections.
2.Right-clickthewirelessnetworkconnection,andthenclickProperties.
AdHocInternetSharingwithMicrosoftWindowsXP5
Microsoft@Windows@XPTechnicalArticle
3.ClicktheWirelessNetworkstab.
4.Inthewirelessnetworkadapterpropertiesdialogbox,clickAddunderPreferrednetworks.
5.IntheWirelessNetworkPropertiesdialogbox,typethenameofyouradhocwirelessnetworkin
Networkname(SSID).Forexample,youcouldnameyourwirelessnetworkAdHocInternet.
6.SelecttheDataencryption(WEPenabled)andThisisacomputer-to-computer(adhoc)
networkcheckboxesandcleartheThekeyisprovidedformeautomaticallycheckbox.
7.InKeyformat,selectakeyformat.
8.InKeylength,selectakeysize.
9.InNetworkkey,typetheWEPkey.TheWEPkeyshouldbearandomsequenceofhexadecimal
digitsornumbers,letters,andpunctuation.
w.ClickOKtosavechangestothewirelessnetwork.
11.ClickOKtosavechangestothewirelessnetworkadapter.
Theseinstructionsconfigureanencryptionkeyforwirelesscommunicationsontheadhocwirelessnetwork.
YoumusttelltheotheruserswhowanttoaccesstheInternettheWEPkey.Youcancreateanadhoc
wirelessnetworkwithoutrequiringencryptionandanencryptionkey,butitisnotrecommended.
4.ConnectingtotheNewAdHocWirelessNetworkfromtheOtherLaptop
Computers
Toconnecteachotherlaptopcomputertothenewlycreatedadhocmodewirelessnetwork,dothe
following:
1.Oncethenewadhocwirelessnetworkiscreated,WindowsXPonotherlaptopcomputersshould
detectitandpromptyouwithaOneormorewirelessnetworksareavailableorWireless
networksdetectedmessageinthenotificationareaofyourtaskbar.
2.Clickthenotificationmessage.
Ifyouarenotnotified,right-clickthewirelessnetworkadapterinNetworkConnectionsandclickView
AvailableWirelessNetworks.
YoushouldseetheWirelessNetworkConnectiondialogbox(forWindowsXPwithSP2),adialogbox
withthenameofthewirelessconnection(forWindowsXPwithSP1),ortheConnecttoWireless
Networkdialogbox(forWindowsXPwithnoservicepacksinstalled).AnexampleoftheWireless
NetworkConnectiondialogboxforWindowsXPwithSP2isshowninthefollowingfigure.
AdHocInternetSharingwithMicrosoftWindowsXP6
Microsoft@Windows@XPTechnicalArticle
3.ForWindowsXPwithSP2,clickthenameofthenewadhocwirelessnetworkinthelist,andthen
clickConnect.WhenpromptedbytheWirelessNetworkConnectiondialogbox,theWEPkeyin
NetworkkeyandConfirmnetworkkey,andthenclickConnect.
ForWindowsXPwithSP1,clickthenameofthenewadhocwirelessnetworkinAvailablenetworks,
typetheWEPkeyinNetworkkeyandConfirmnetworkkey,andthenclickConnect.
ForWindowsXPwithnoservicepacksinstalled,clickthenameofthenewadhocwirelessnetworkin
Availablenetworks,typetheWEPkeyinNetworkkey,andthenclickConnect.
Nowthatthelaptopcomputerisconnectedtotheadhocwirelessnetwork,youmustconfigureitforeither
WindowsFirewallorICFandautomaticaddressingbydoingthefollowing:
1.FromtheWindowsXPdesktop,clickStart,clickControlPanel,clickNetworkandInternet
Connections,andthenclickNetworkConnections.
2.Right-clickthenetworkconnectionthatcorrespondstothewirelessnetworkadapter,andthenclick
Properties.
3.ForcomputersrunningWindowsXPwithSP2,clicktheAdvancedtab,andthenclickSettings.
FromtheWindowsFirewalldialogbox,clickOn,andthenclickOK.
ForcomputersrunningWindowsXPwithSP1orWindowsXPwithnoservicepacksinstalled,clickthe
Advancedtab,andthenselecttheProtectmycomputerandnetworkbylimitingorpreventing
accesstothiscomputerfromtheInternetcheckbox.
4.ClicktheGeneraltab,double-clickInternetProtocol(TCP/IP)intheThisconnectionusesthe
followingitemslist.
5.OntheGeneraltab,clickObtainanIPaddressautomaticallyandObtainDNSserveraddress
automatically.
6.ClickOKtosavethechangestotheconfigurationofInternetProtocol(TCP/IP).
AdHocInternetSharingwithMicrosoftWindowsXP7
Microsoft@Windows@XPTechnicalArticle
7.ClickOKtosavethechangestoyourconnection'sconfiguration.
ThelaptopcomputershouldreceiveanIPaddressconfigurationfromtheICShostcomputerandhave
Internetconnectivity.TestInternetconnectivitybyusingaWebbrowsertoviewWebpages.
AdHocInternetSharingwithMicrosoftWindowsXP8
Microsoft@Windows@XPTechnicalArticle
RestoringtheConfigurationoftheICSHostComputer
AftertheadhocInternetsharingisnolongerneeded,youcanrestoretheconfigurationoftheICShost
computerrunningWindowsXPbydoingthefollowing:
1.FromtheWindowsXPdesktop,clickStart,clickControlPanel,clickNetworkandInternet
Connections,andthenclickNetworkConnections.
2.Right-clicktheEthernetnetworkconnectionthatisusedtoaccesstheInternet,andthenclick
Properties.
3.OntheAdvancedtab,cleartheAllowothernetworkuserstoconnectthroughthiscomputer's
Inte
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 20以内乘法除法口算练习卷1000道可打印
- 二硫化镍负极材料改性及储钠性能研究
- 用于蓝色能源收集的摩擦纳米发电机
- 2025年电阻测量仪表合作协议书
- 科技助力旅游业提升客户体验
- 知识产权在商业领域的价值实现与创新推动
- 科技教育中的清洁能源知识普及推广
- 资本结构融资协议书(2篇)
- 购买日用品合同(2篇)
- 科技赋能下的现代企业管理变革
- 糖尿病饮食指导护理
- 中建“大商务”管理实施方案
- 中国肥胖及代谢疾病外科治疗指南(2024版)
- 《物联网嵌入式技术》教学教案
- 电力系统全环节实时精准碳计量方法及其应用展望
- 高三英语语法填空专项训练100(附答案)及解析
- 航空航天标准与认证互认
- 心理课教案自我认知与情绪管理
- 车站信号自动控制课件:进站信号机点灯电路
- 民用无人机操控员执照(CAAC)考试复习重点题库500题(含答案)
- GB/T 6553-2024严酷环境条件下使用的电气绝缘材料评定耐电痕化和蚀损的试验方法
评论
0/150
提交评论