martes, 4 de marzo de 2008

Export LAN configuration

Product : Parameters used into LAN.
Part Involved : LAN configuration..
Summary: It is an interesting short procedure to export into a file all the parameters related with LAN configuration of your Pc.
Scenario : Adding diversity to use the file exported.
Company : National Institute of Cancer of Peru (INEN).
Reference Date : March 2008.

I suggest to some people to use next procedure to backup their LAN configuration, if your day to day is necessary changing LAN configuration then fixs you. Then from the command prompt windows (DOS) then type :

netsh dump>C:\IpConfiguration.txt

Here begin an example of that file ******
#========================
#Configuraci¢n de interfaz
#========================
pushd interface
reset all
popd
# Fin de la configuraci¢n de interfaz
#==========================
#Configuraci¢n de interfaz
#==========================
pushd interface ipv6
uninstall
popd
# Fin de la configuraci¢n de interfaz
# ------------------------------------
# Configuraci¢n de ISATAP
# ----------------------------------
pushd interface ipv6 isatap
popd
# Fin de configuraci¢n de ISATAP
# ----------------------------------
# Configuraci¢n de 6to4
# ----------------------------------
pushd interface ipv6 6to4
reset
popd
# Final de la configuraci¢n de 6to4
#==================================
# Configuraci¢n del puerto de proxy
#==================================
pushd interface portproxy
reset
popd
# Fin de configuraci¢n del puerto de proxy
# ---------------------------------------------
# Configuraci¢n de la interfaz IP
# ---------------------------------------------
pushd interface ip
# Configuraci¢n de la interfaz IP para "Conexi¢n de rea local"
set address name="Conexi¢n de rea local" source=static addr=192.168.31.11 mask=255.255.224.0
set dns name="Conexi¢n de rea local" source=static addr=none register=PRIMARY
set wins name="Conexi¢n de rea local" source=static addr=none
popd
# Fin de la configuraci¢n de la interfaz IP
# =========================================
# Configuraci¢n RAS
# =========================================
pushd ras
set authmode mode = standard
delete authtype type = PAP
delete authtype type = SPAP
delete authtype type = MD5CHAP
delete authtype type = MSCHAP
delete authtype type = MSCHAPv2
delete authtype type = EAP
add authtype type = MSCHAP
delete link type = SWC
delete link type = LCP
add link type = SWC
add link type = LCP
delete multilink type = MULTI
delete multilink type = BACP
add multilink type = MULTI
add multilink type = BACP
set user name = Administrador dialin = policy cbpolicy = none
set user name = Asistente de ayuda dialin = policy cbpolicy = none
set user name = Invitado dialin = policy cbpolicy = none
set user name = SUPPORT_388945a0 dialin = policy cbpolicy = none
set user name = VUSR_FILESERVER dialin = policy cbpolicy = none
set tracing component = * state = disabled
popd
# Final de la configuraci¢n RAS .
# -----------------------------------------
# Configuraci¢n de acceso remoto de AppleTalk
# -----------------------------------------
pushd ras appletalk
set negotiation mode = allowset access mode = all
popd
# Fin de la configuraci¢n de acceso remoto de AppleTalk.
# -----------------------------------------
# Configuraci¢n IP RAS
# -----------------------------------------
pushd ras ip
delete pool
set negotiation mode = allow
set access mode = all
set addrreq mode = deny
set broadcastnameresolution mode = disabled
set addrassign method = auto
popd
# Fin de la configuraci¢n IP RAS.
# -----------------------------------------
#Configuraci¢n IPX RAS
# -----------------------------------------
pushd ras ipx
set negotiation mode = allow
set access mode = all
set nodereq mode = allow
set netassign method = autosame
popd
# Fin de la configuraci¢n IPX RAS.
# -----------------------------------------
# Configuraci¢n NBF RAS
# -----------------------------------------
pushd ras netbeui
set negotiation mode = allow
set access mode = all
popd
# Fin de la configuraci¢n NBF RAS.
# -----------------------------------------
# Configuraci¢n RAS AAAA
# -----------------------------------------
pushd ras aaaa
set authentication provider = windows
set accounting provider = windows
delete authserver name = *delete acctserver name = *
popd
# Fin de configuraci¢n RAS AAAA.
# Configuraci¢n de enrutamiento
pushd routing
reset
popd
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
## ## ANTES de ejecutar esta secuencia de comandos ## #
# Para restaurar la configuraci¢n del enrutador IPX #
# DESINSTALE IPX desde la carpeta Conexiones de red y #
# vuelva a instalarlo. ##
## Esto eliminar la anterior configuraci¢n del #
# enrutador IPX y la restaurar a sus valores #
# predeterminados ##
##!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#
#----------------------------------------------------------
# Configuraci¢n IPX
#----------------------------------------------------------
pushd routing ipx
#----------------------------------------------------------
# Configuraci¢n de la interfaz IPX
#----------------------------------------------------------
#----------------------------------------------------------
# Configuraci¢n del filtro de tr fico IPX
#----------------------------------------------------------
#----------------------------------------------------------
# Configuraci¢n de la ruta est tica IPX
#----------------------------------------------------------
#----------------------------------------------------------
# Configuraci¢n del servicio est tico IPX
#----------------------------------------------------------
popd
# Fin de la configuraci¢n IPX
#----------------------------------------------------------
# Configuraci¢n RIP IPX

#----------------------------------------------------------
pushd routing ipx rip
popd
# Fin de la configuraci¢n IPX RIP
#----------------------------------------------------------
# Configuraci¢n SAP IPX
#----------------------------------------------------------
pushd routing ipx sap
popd
# Fin de la configuraci¢n IPX SAP
#----------------------------------------------------------
# Configuraci¢n NETBIOS IPX
#----------------------------------------------------------
pushd routing ipx netbios
popd
# Fin de la configuraci¢n IPX NB
N§ de configuraci¢n IP
pushd routing ip
reset
set loglevel error
add preferenceforprotocol proto=LOCAL preflevel=1
add preferenceforprotocol proto=STATIC preflevel=3
add preferenceforprotocol proto=NONDOD preflevel=5
add preferenceforprotocol proto=AUTOSTATIC preflevel=7
add preferenceforprotocol proto=NetMgmt preflevel=10
add preferenceforprotocol proto=OSPF preflevel=110
add preferenceforprotocol proto=RIP preflevel=120
add interface name="Conexi¢n de rea local" state=enable
set filter name="Conexi¢n de rea local" fragcheck=disable
add interface name="{657F0909-4AD3-489F-9D92-31F8F9100540}" state=enable
set filter name="{657F0909-4AD3-489F-9D92-31F8F9100540}" fragcheck=disable
add interface name="{E5329AA6-02CF-4A1E-AE97-26DCA879A372}" state=enable
set filter name="{E5329AA6-02CF-4A1E-AE97-26DCA879A372}" fragcheck=disable
add interface name="Bucle invertido" state=enable
set filter name="Bucle invertido" fragcheck=disable
add interface name="Interno" state=enable
set filter name="Interno" fragcheck=disable
popd
# Fin de la configuraci¢n IP
# ----------------------------------
# Configuraci¢n proxy DNS
# ----------------------------------
pushd routing ip dnsproxy
uninstall
popd
# Fin de configuraci¢n proxy DNS

# ----------------------------------
# Configuraci¢n IGMP
# ----------------------------------
pushd routing ip igmp
uninstall
popd
# Fin de configuraci¢n IGMP

# ----------------------------------
# Configuraci¢n NAT
# ----------------------------------
pushd routing ip nat
uninstall
popd

# ----------------------------------
# Configuraci¢n OSPF
# ----------------------------------
pushd routing ip ospf
uninstall
popd
# Fin de configuraci¢n OSPF

# -----------------------------------
# Config. del Agente de retrans. DHCP
# -----------------------------------
pushd routing ip relay
uninstall
popd
# Fin de la configuraci¢n Agente de retransmisi¢n DHCP

# ----------------------------------
# Configuraci¢n RIP
# ----------------------------------
pushd routing ip rip
uninstall
popd
# Fin de configuraci¢n RIP

# -------------------------------------------------------------------------
# Configuraci¢n de descubrimiento de enrutadores
# -------------------------------------------------------------------------
pushd routing ip routerdiscovery
uninstall
add interface name="Conexi¢n de rea local" disc=disable minint=7 maxint=10 life=30 level=0
add interface name="{657F0909-4AD3-489F-9D92-31F8F9100540}" disc=disable minint=7 maxint=10 life=30 level=0
add interface name="{E5329AA6-02CF-4A1E-AE97-26DCA879A372}" disc=disable minint=7 maxint=10 life=30 level=0
add interface name="Bucle invertido" disc=disable minint=7 maxint=10 life=30 level=0
add interface name="Interno" disc=disable minint=7 maxint=10 life=30 level=0
popd
# ----------------------------------
# Configuraci¢n de asignador DHCP
# ----------------------------------
pushd routing ip autodhcp
uninstall
popd# Fin de configuraci¢n de asignador DHCP
# ------------------------------------
# Configuraci¢n de puente (no compatible)
# ------------------------------------
# ------------------------------------
# Final de la configuraci¢n del puente
# ------------------------------------
Here is the end of the example file ******

Following the purpose of my example, I have changed the ip address parameter painted in the above script (mark as blue font), then after saved that, and finally in order to update that configuration, run next command :

netsh exec C:\IpConfiguration.txt

Remember, this procedure is available too into "YouTube Videos hosted by German Medina -at the right side of this page-), like as the next video :

jueves, 28 de febrero de 2008

Iperf : Measuring your bandwidth (2)

Product : Iperf
Part Involved : Measure of Bandwidth
Summary: When the answer of the command "ping" is not continue and you find a bouncing link then it is necessary to establish how is your bandwidth working.
Scenario : The delayed conecction inserted into LAN connection has a big impact on your LAN company.
Company : The National Cancer Institute of Peru (INEN).
Reference Date : February 2008.

That is in the case when your company has limited resources and there is no possible to hire some contractor to troubleshooting the event occured linked to LAN trouble. The another point is to share all the stages into LAN conecctions between : structured cabling, switching equipment and every other device connected into the path of the trace of your command "ping". That is, follows the trace of the signal locating the source and target place to test the connecction of that band width .

Additionally, the answer of the comand "ping" has its own limitation when the answer is not continuos, in that case how can you determine the source of the problem, that is focusing on the measure of the bandwidth of that segment of LAN.

Here, you will find an interesting video captured http://www.youtube.com/watch?v=oPWMgZ8mMng about two measures did (and the process involved) at the same time on the same screen, reading values of the how the Server is looking that link and how Client is looking the same link.

jueves, 21 de febrero de 2008

Installing Red Hat over VmWare

Product : Linux
Part Involved : Red Hat
Summary: Installation of Red Hat Linux distribution.
Scenario : The installation procedure has been installed over virtual Machine (using VmWare).
Company : owner.
Reference Date : February 2008.

The overall procedure to install Red Hat over VmWare has been uploaded into next links :
Part 1 : Http://www.youtube.com/watch?v=x6MpBPIVqho
Part 2 : http://www.youtube.com/watch?v=mjCHSBK2lEw
Part 3 : http://www.youtube.com/watch?v=_nd3brZC86A
Part 4 : http://www.youtube.com/watch?v=Oa_wphK8MW0

Relax, if your bandwidth or your hardware does not permit check the videos, then send me an e-email and I will replay you with the videos or in the last instance I would up load in some server with access in internet to download that files.

lunes, 21 de enero de 2008

Troubleshooting LAN connections

Product : Links connections are bouncing.
Part Involved : LAN
Summary : The purveyor has installled three new data LAN ports close to magnetic resonance scanner
Scenario : Personnel of Computing office suspects about the field emitted of magnetic resonance scanner.
Company : The National Cancer Institute of Peru (INEN).
Reference Date : January 2008.

After the installation of the three LAN data ports the purveyor proceeded to testing the structured cabling related to these points and all of them passed successfully. That was a dark threshold to find the seed core of the problem. The simple tests did by personnel of computing office using the ping command throw that the connection was not solid, the time of response vary from time to time with not appearently some type of pattern related to it, then it started to suspects about the RF emitted of magnetic resonance scanner. The structured cabling was based on CAT6 and up to here there is no more evidences available to establish a technical diagnostic.

I have downloaded and installed a software tool to measure the bandwidth http://germanmedinavirtual.blogspot.com/2008/01/iperf-measuring-your-bandwidth.html between the LAN data port with problems and another pc at the other side of the networking structure -last one without problems-, then I begun to collect samples of connection between these two LAN data ports, one with the response time of the ping command and at the same time measuring the bandwidth using Iperf. Then the next video shows this process http://www.youtube.com/watch?v=mgKOd2eTLuU and the results gets while the software applications are executed querying to database , for example in this case the average of the bandwidth obtained reached 68MBits/Sec (too low).
Taking this reference it is clear way that there is a considerable loss detected into the link, the next step was to identify what device is causing this efffect and that was focused into some switch previous to the main switch close to telecommunication room; after it was replaced then the process to collecting samples from the link connection was repeated again such as I show at http://www.youtube.com/watch?v=xLiCfB8N06c reading a considerable differences of the bandwidth up to 93 MBits/Sec.
Here is, another case resolved.

viernes, 11 de enero de 2008

Installing Panda Console

Product : AntiVirus
Part Involved : Panda Console
Summary: The console does not download the agent and can not connect with the clients computers on LAN.
Scenario : There is a big range of clients computers without virus software updated .
Company : The National cancer Institute of Peru. (INEN)
Reference Date : January 2008.

I asked to purveyor to reinstall again the console application and they accepted my idea but they suggested too : Do not touch database antivirus plattaform or additionally instance related to it, then under the title "YouTube videos hosted by German Medina" with title "Installing Panda Console", you will find, the process filed. But this task does not resolved yet: (a) the download automation of the agent into console, (b) the update of the agent process in every client computer.