Você está na página 1de 2

21/01/2015 SuporteemTI

Quartafeira,21dejaneirode2015|19:20

ManutenoeSuporteTcnico
Solueseminformticaparaempresas

HomePage Contato Clientes Servios reaVip

HelpTcnico
Comandosteisderede

1)AlteraodeIPnainterfaceparaendereoesttico:
netshinterfaceipsetaddressname="RedeLocal"static10.0.0.9255.255.255.010.0.0.11

2)AlteraodeIPnainterfaceparaendereoDHCP
netshinterfaceipsetaddressname="RedeLocal"source=dhcp

3)AlterandooGatewayemetrica
netshinterfaceipsetaddress"RedeLocal"gateway=10.0.0.1gwmetric=2

4)AlterandooDNSdaplacaderede
netshinterfaceipsetdns"RedeLocal"source=staticaddr=200.200.200.200register=PRIMARY

AlgunscomandosquefuncionamapenascomWindowsXPSP2!!!

1)MostrarconfiguraodoFirewalldoWindowsXP
netshfirewallshowconfig

2)ResetaconfiguraesdoFirewallparapadro
netshfirewallreset

3)ResetatodasconfiguraesdeREDE(tilemcasodespywarescontaminar,eseumicronoconseguirmaisrequisitar
umIPaoDHCPServer)
netshwinsockreset

netshwinsockresetcatalog
netshintipresetreset.log
netshwinsockresetcatalog(resetwinsockentries)
netshintipresetreset.loghit(resetTCP/IPstack)

ipconfig/release
ipconfig/renew

##VisualizarasconfiguraesdeTCP/IP:
c:>netshinterfaceipshowconfig

##AlterarasconfiguraesdeTCP/IPparautilizaroendereoIP10.0.0.2comogateway10.0.0.1:
c:>netshinterfaceipsetaddressname="LocalAreaConnection"static10.0.0.2255.0.0.010.0.0.11

##ExportarasconfiguraesdeTCP/IPparaumarquivodetext
c:>netshcinterfacedump>c:location1.txt

##ImportarasconfiguraesdeTCP/IPdeumarquivodetexto.
c:>netshfc:location1.txt

##ConfigurarparaobterIPapartirdeumservidorDHCP.
c:>netshinterfaceipsetaddress"LocalAreaConnection"dhcp

##ConfiguraroDNS

http://www.geovani.com.br/tecnico/dica011.php 1/2
21/01/2015 SuporteemTI
netshinterfaceipsetdns"LocalAreaConnection"static10.0.0.1

##ConfiguraroWINS
netshinterfaceipsetWINs"LocalAreaConnection"static10.0.0.1

##Melhor,deixeoDHCPentregaroendereodoDNS.
netshinterfaceipsetdns"LocalAreaConnection"dhcp

Paraconfigurararede,especificandomanualmenteosendereos,vocusaria:

C:\>netshintipsetaddressname="ConexoLocal"source=static192.168.0.22
255.255.255.0192.168.0.11

...ondeo"ConexoLocal"onomedaconexoderede(daformacomoaparecenopaineldeConexesderededoPainel
decontrole),seguidopeloendereoIP,mscaraegatewaydarede.Noseesqueadonmero"1"nofinal,queum
parmetroparaaconfiguraodogateway.

ParaconfiguraroDNS,vocusaria:

C:\>netshintipsetdns"ConexoLocal"static200.204.0.10

ParaconfigurarosendereoseDNSviaDHCP,vocpodeusaroscomandos:

C:\>netshintipsetaddressname="ConexoLocal"source=dhcp
C:\>netshintipsetdns"ConexoLocal"dhcp


ByGeovaniFreitas

http://www.geovani.com.br/tecnico/dica011.php 2/2