版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
/■//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等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025至2030中國(guó)電子煙行業(yè)監(jiān)管政策調(diào)整對(duì)市場(chǎng)格局影響分析報(bào)告
- 2025年中控室消防員模擬題及答案沖刺
- 城市綠化土壤修復(fù)及污染治理方案
- 少兒美術(shù)教學(xué)培訓(xùn)話術(shù)及課程設(shè)計(jì)案例
- 塔吊拆卸安全技術(shù)方案及作業(yè)規(guī)范
- 2025-2030燃料電池行業(yè)市場(chǎng)分析及發(fā)展趨勢(shì)研判
- 2025-2030照明設(shè)備制造行業(yè)技術(shù)創(chuàng)新市場(chǎng)需求政府扶持行業(yè)發(fā)展分析報(bào)告
- 2025-2030熱泵設(shè)備行業(yè)政策調(diào)研及技術(shù)革新投資咨詢規(guī)劃
- 2025-2030湘菜半成品在新零售渠道的布局分析
- 2025-2030消防逃生設(shè)備市場(chǎng)技術(shù)標(biāo)準(zhǔn)分析生產(chǎn)認(rèn)證規(guī)劃建議
- 《無人機(jī)飛行安全及法律法規(guī)》第3版全套教學(xué)課件
- 2025內(nèi)蒙古電力集團(tuán)招聘筆試考試筆試歷年參考題庫附帶答案詳解
- 交通警察道路執(zhí)勤執(zhí)法培訓(xùn)課件
- 十五五學(xué)校五年發(fā)展規(guī)劃(2026-2030)
- 洗浴員工協(xié)議書
- GB/T 17642-2025土工合成材料非織造布復(fù)合土工膜
- 清欠歷史舊賬協(xié)議書
- 乙肝疫苗接種培訓(xùn)
- 心衰患者的用藥與護(hù)理
- 食品代加工業(yè)務(wù)合同樣本(版)
- 車間管理人員績(jī)效考核方案
評(píng)論
0/150
提交評(píng)論