SlideShare a Scribd company logo
1 of 3
Sometimesitisnecessarytocreate atemporarynetworktocheck device connectivity.Thisisa
procedure Iuse to check hardware toisolate a failedcomponentormisconfiguration.Usingthismethod
onlychangesyournetworkinginformationonyourtesting device soyoudon'thave to rekeyeverything
inyour existingdevices.
Look foryour existingIPaddressonthe device youare tryingtoconnectto
Locate yoursubnetmaskand gatewayaddresses
Openyourstart menuon yourcomputer
Type “cmd” and pressenterto start the commandprompt
Type “netshinterface ipshowconfig“in the commandpromptif you wantto see the current
configuration
Type ‘netshinterface ipsetaddressname="Local AreaConnection"staticxxx.xxx.xxx.xxx yyy.yyy.yyy.yyy
zzz.zzz.zzz.zzz1’
The “x” addressreferstoyour computeraddress. Take the device IPaddressandadd 1 to the lastoctet
so youare mostlikelytostayinthe correct range
The “y” stringwill be whateveryoursubnetmaskis. Thismustmatch your device exactly
The “z” stringreferstoyour gatewayaddressonyourcomputer. Thiscan be the same as the one on the
device withoutissues,butitdoesn’thave toaslongas it’sinthe correct IPrange
Make sure youomit anyleading0’sfromthe addressesorit won’twork. Also,the 1 at the endof the
scriptMUST be there
Afterenteringthe informationforyournetshscript,pressenter. Itshouldpause foramomentthen
bringyour promptback up
Unplugthe ethernetcable fromthe device andconnectthe device toyourcomputerusingthe crossover
cable
On yourcomputer,type "ping" followedbythe IPaddressof yourdevice (there shouldbe aspace
before yourIPaddress)
From thispoint,providedyourpingtestcomesbacksuccessful,younow have a networkbetweenyour
computerandyour device. These stepswill workonwirelessconnectionsaswell,althoughtodoso you
have to create a wirelessadhocnetworkandyour "local areaconnection"needstobe changedto
whateverthe name of yourwireless adaptertochange iton is. Hope thishelpsanyone thatneedsit.
Sometimesitisnecessarytocreate atemporarynetworktocheck device connectivity.Thisisa
procedure Iuse to check hardware toisolate a failedcomponentormisconfiguration. Usingthismethod
onlychangesyournetworkinginformationonyourtestingdevice soyoudon'thave to rekeyeverything
inyour existingdevices.
<ul>
<li>Lookfor yourexistingIPaddressonthe device youare tryingtoconnectto</li>
<li>Locate your subnetmaskandgatewayaddresses</li>
<li>Openyourstart menuonyour computer</li>
<li>Type “cmd” andpressenterto start the commandprompt</li>
<li>Type “netshinterface ipshow config“inthe commandprompt if youwant to see the
currentconfiguration</li>
<li>Type ‘netshinterface ipsetaddressname="Local AreaConnection"staticxxx.xxx.xxx.xxx
yyy.yyy.yyy.yyyzzz.zzz.zzz.zzz1’</li>
<li>The “x” addressreferstoyourcomputeraddress.Take the device IPaddressandadd 1 to
the last octetso youare mostlikelytostayinthe correct range</li>
<li>The “y” stringwill be whateveryoursubnetmaskis.Thismustmatchyour device
exactly</li>
<li>The “z” stringrefersto yourgatewayaddressonyour computer.Thiscan be the same as the
one on the device withoutissues,butitdoesn’thave toaslongas it’sin the correct IPrange</li>
<li>Make sure you omitany leading0’sfromthe addressesorit won’twork.Also,the 1 at the
endof the scriptMUST be there</li>
<li>Afterenteringthe informationforyournetshscript,pressenter.Itshouldpause fora
momentthenbringyourpromptback up</li>
<li>Unplugthe ethernetcable fromthe device andconnectthe device toyourcomputerusing
the crossovercable</li>
<li>Onyour computer,type "ping"followedbythe IPaddressof your device (there shouldbe a
space before yourIPaddress)</li>
</ul>
From thispoint,providedyourpingtestcomesbacksuccessful,younow have anetworkbetweenyour
computerandyour device.These stepswill workonwirelessconnectionsaswell,althoughtodoso you
have to create a wirelessadhocnetworkandyour "local areaconnection"needstobe changedto
whateverthe name of yourwirelessadaptertochange iton is.Hope thishelpsanyone thatneedsit.

More Related Content

Similar to netsh tutorial

ConnectTheDots - My Galileo based weather station and first entry into IoT
ConnectTheDots - My Galileo based weather station and first entry into IoTConnectTheDots - My Galileo based weather station and first entry into IoT
ConnectTheDots - My Galileo based weather station and first entry into IoTJoe Healy
 
Zen alert - Why You Need and How It Works
Zen alert - Why You Need and How It WorksZen alert - Why You Need and How It Works
Zen alert - Why You Need and How It WorksZenAlert
 
Netreg Presentation
Netreg PresentationNetreg Presentation
Netreg Presentationpetertrevino
 
Syed Ubaid Ali Jafri - Black Box Penetration testing for Associates
Syed Ubaid Ali Jafri - Black Box Penetration testing for AssociatesSyed Ubaid Ali Jafri - Black Box Penetration testing for Associates
Syed Ubaid Ali Jafri - Black Box Penetration testing for AssociatesSyed Ubaid Ali Jafri
 
Metasploit: Pwnage and Ponies
Metasploit: Pwnage and PoniesMetasploit: Pwnage and Ponies
Metasploit: Pwnage and PoniesTrowalts
 
Helpful Juniper Tips and Tricks for New Network Engineers
Helpful Juniper Tips and Tricks for New Network EngineersHelpful Juniper Tips and Tricks for New Network Engineers
Helpful Juniper Tips and Tricks for New Network EngineersLizbeth E. Melendez
 
P5 connect hardware safely to a computer system
P5  connect hardware safely to a computer systemP5  connect hardware safely to a computer system
P5 connect hardware safely to a computer systemsophie07
 
Positive Hack Days. Pavlov. Network Infrastructure Security Assessment
Positive Hack Days. Pavlov. Network Infrastructure Security AssessmentPositive Hack Days. Pavlov. Network Infrastructure Security Assessment
Positive Hack Days. Pavlov. Network Infrastructure Security AssessmentPositive Hack Days
 
Intrusion Discovery on Windows
Intrusion Discovery on WindowsIntrusion Discovery on Windows
Intrusion Discovery on Windowsdkaya
 
AusNOG 2018 - The Robots are Coming!
AusNOG 2018 - The Robots are Coming!AusNOG 2018 - The Robots are Coming!
AusNOG 2018 - The Robots are Coming!Mark Smith
 
IoT on Raspberry PI v1.2
IoT on Raspberry PI v1.2IoT on Raspberry PI v1.2
IoT on Raspberry PI v1.2John Staveley
 

Similar to netsh tutorial (20)

Automation intro
Automation introAutomation intro
Automation intro
 
ConnectTheDots - My Galileo based weather station and first entry into IoT
ConnectTheDots - My Galileo based weather station and first entry into IoTConnectTheDots - My Galileo based weather station and first entry into IoT
ConnectTheDots - My Galileo based weather station and first entry into IoT
 
Virginiatools
VirginiatoolsVirginiatools
Virginiatools
 
Virginiatools
VirginiatoolsVirginiatools
Virginiatools
 
Virginiatools
VirginiatoolsVirginiatools
Virginiatools
 
Zen alert - Why You Need and How It Works
Zen alert - Why You Need and How It WorksZen alert - Why You Need and How It Works
Zen alert - Why You Need and How It Works
 
Netreg Presentation
Netreg PresentationNetreg Presentation
Netreg Presentation
 
Testing Terraform
Testing TerraformTesting Terraform
Testing Terraform
 
Cafè Terminal
Cafè TerminalCafè Terminal
Cafè Terminal
 
Presentation1
Presentation1Presentation1
Presentation1
 
computing networks and operating system
computing networks and operating system computing networks and operating system
computing networks and operating system
 
Syed Ubaid Ali Jafri - Black Box Penetration testing for Associates
Syed Ubaid Ali Jafri - Black Box Penetration testing for AssociatesSyed Ubaid Ali Jafri - Black Box Penetration testing for Associates
Syed Ubaid Ali Jafri - Black Box Penetration testing for Associates
 
Metasploit: Pwnage and Ponies
Metasploit: Pwnage and PoniesMetasploit: Pwnage and Ponies
Metasploit: Pwnage and Ponies
 
Helpful Juniper Tips and Tricks for New Network Engineers
Helpful Juniper Tips and Tricks for New Network EngineersHelpful Juniper Tips and Tricks for New Network Engineers
Helpful Juniper Tips and Tricks for New Network Engineers
 
P5 connect hardware safely to a computer system
P5  connect hardware safely to a computer systemP5  connect hardware safely to a computer system
P5 connect hardware safely to a computer system
 
Cover test
Cover testCover test
Cover test
 
Positive Hack Days. Pavlov. Network Infrastructure Security Assessment
Positive Hack Days. Pavlov. Network Infrastructure Security AssessmentPositive Hack Days. Pavlov. Network Infrastructure Security Assessment
Positive Hack Days. Pavlov. Network Infrastructure Security Assessment
 
Intrusion Discovery on Windows
Intrusion Discovery on WindowsIntrusion Discovery on Windows
Intrusion Discovery on Windows
 
AusNOG 2018 - The Robots are Coming!
AusNOG 2018 - The Robots are Coming!AusNOG 2018 - The Robots are Coming!
AusNOG 2018 - The Robots are Coming!
 
IoT on Raspberry PI v1.2
IoT on Raspberry PI v1.2IoT on Raspberry PI v1.2
IoT on Raspberry PI v1.2
 

netsh tutorial

  • 1. Sometimesitisnecessarytocreate atemporarynetworktocheck device connectivity.Thisisa procedure Iuse to check hardware toisolate a failedcomponentormisconfiguration.Usingthismethod onlychangesyournetworkinginformationonyourtesting device soyoudon'thave to rekeyeverything inyour existingdevices. Look foryour existingIPaddressonthe device youare tryingtoconnectto Locate yoursubnetmaskand gatewayaddresses Openyourstart menuon yourcomputer Type “cmd” and pressenterto start the commandprompt Type “netshinterface ipshowconfig“in the commandpromptif you wantto see the current configuration Type ‘netshinterface ipsetaddressname="Local AreaConnection"staticxxx.xxx.xxx.xxx yyy.yyy.yyy.yyy zzz.zzz.zzz.zzz1’ The “x” addressreferstoyour computeraddress. Take the device IPaddressandadd 1 to the lastoctet so youare mostlikelytostayinthe correct range The “y” stringwill be whateveryoursubnetmaskis. Thismustmatch your device exactly The “z” stringreferstoyour gatewayaddressonyourcomputer. Thiscan be the same as the one on the device withoutissues,butitdoesn’thave toaslongas it’sinthe correct IPrange Make sure youomit anyleading0’sfromthe addressesorit won’twork. Also,the 1 at the endof the scriptMUST be there
  • 2. Afterenteringthe informationforyournetshscript,pressenter. Itshouldpause foramomentthen bringyour promptback up Unplugthe ethernetcable fromthe device andconnectthe device toyourcomputerusingthe crossover cable On yourcomputer,type "ping" followedbythe IPaddressof yourdevice (there shouldbe aspace before yourIPaddress) From thispoint,providedyourpingtestcomesbacksuccessful,younow have a networkbetweenyour computerandyour device. These stepswill workonwirelessconnectionsaswell,althoughtodoso you have to create a wirelessadhocnetworkandyour "local areaconnection"needstobe changedto whateverthe name of yourwireless adaptertochange iton is. Hope thishelpsanyone thatneedsit. Sometimesitisnecessarytocreate atemporarynetworktocheck device connectivity.Thisisa procedure Iuse to check hardware toisolate a failedcomponentormisconfiguration. Usingthismethod onlychangesyournetworkinginformationonyourtestingdevice soyoudon'thave to rekeyeverything inyour existingdevices. <ul> <li>Lookfor yourexistingIPaddressonthe device youare tryingtoconnectto</li> <li>Locate your subnetmaskandgatewayaddresses</li> <li>Openyourstart menuonyour computer</li> <li>Type “cmd” andpressenterto start the commandprompt</li> <li>Type “netshinterface ipshow config“inthe commandprompt if youwant to see the currentconfiguration</li>
  • 3. <li>Type ‘netshinterface ipsetaddressname="Local AreaConnection"staticxxx.xxx.xxx.xxx yyy.yyy.yyy.yyyzzz.zzz.zzz.zzz1’</li> <li>The “x” addressreferstoyourcomputeraddress.Take the device IPaddressandadd 1 to the last octetso youare mostlikelytostayinthe correct range</li> <li>The “y” stringwill be whateveryoursubnetmaskis.Thismustmatchyour device exactly</li> <li>The “z” stringrefersto yourgatewayaddressonyour computer.Thiscan be the same as the one on the device withoutissues,butitdoesn’thave toaslongas it’sin the correct IPrange</li> <li>Make sure you omitany leading0’sfromthe addressesorit won’twork.Also,the 1 at the endof the scriptMUST be there</li> <li>Afterenteringthe informationforyournetshscript,pressenter.Itshouldpause fora momentthenbringyourpromptback up</li> <li>Unplugthe ethernetcable fromthe device andconnectthe device toyourcomputerusing the crossovercable</li> <li>Onyour computer,type "ping"followedbythe IPaddressof your device (there shouldbe a space before yourIPaddress)</li> </ul> From thispoint,providedyourpingtestcomesbacksuccessful,younow have anetworkbetweenyour computerandyour device.These stepswill workonwirelessconnectionsaswell,althoughtodoso you have to create a wirelessadhocnetworkandyour "local areaconnection"needstobe changedto whateverthe name of yourwirelessadaptertochange iton is.Hope thishelpsanyone thatneedsit.