RSS

Demo router on Stick con DHCP en Servidor

viernes, 6 de noviembre de 2009


El concepto de Router on Stick es básicamente hacer que una interfaz de red del router pueda funcionar como un servidor de puerta de enlace para muchas VLANS diferentes, eso se logra creando sub interfaces en la interfaz principal.
Se utilizo el simulador Packet Tracer, para realizar la tarea. Se uso un router 1841, y un switch 2950-24

Para el desarrollo de este demo es necesario hacer tres tipos de configuraciones diferentes para llegar al resultado final. Primero es necesario crear las sub interfaces, luego las VLANS y por ultimo configurar el servicio de DHCP.

Asignarle dirección ip al router

Router (config) #interface fasethernet0/0
Router (config-if) #ip address 192.168.1.1 255.255.255.0
Router (config-if) #no shutdown


Crear las sub Interfaces:

En las telecomunicaciones y las redes de computadoras, un sub interface es una división de una interfaz física en múltiples interfaces lógicas.
Para crearla es muy fácil, simplemente estar en modo interface

Router>enable
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router (config) # interface fastEthernet 0/0.10 //Aqui se le asigna la sub interfaz que se quiera, si la interfaz física es la F 0/0, entonces la sub interfaz seria la 0/0.10.
Router (config-subif) # exit


Configurar las VLANS y hacer Router on Stick

Para crear la VLAN y hacer el router on Stick, se debe configurar las interfaces tanto del router como del switch.

Configurar Switch

Switch> enable
Switch# vlan database //Configurar la base datos de la Vlan
% Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode.
Switch (vlan) #vlan 10 //Se crea una Vlan nueva, con nombre 10
VLAN 10 added: //Se notifica que se agrego
Name: VLAN0010
Switch (vlan) #vlan 20
VLAN 20 added:
Name: VLAN0020
Switch (vlan) #exit //escribiendo exit se aplican los cambios
APPLY completed.
Exiting....
Switch#


Luego hay que configurar la F0/1 la cual es la que la que está conectada al router.

Switch (config) #interface FastEthernet0/1
Switch (config-if) # switchport mode access // se le asigna modo trunk, y que el acceso sea incondicional.


A continuación necesitamos configurar f0/2 como un puerto de acceso para PC1 y f0/3 como un puerto de acceso para PC2:

Switch (config­if) #int f0/2 //se abre la interfaz 0/2
Switch (config­if) #switchport access vlan 10 //se le asignan la vlan 10
Switch (config­if) #switchport mode access
Switch (config­if) #int f0/3
Switch (config­if) #switchport access vlan 20
Switch (config­if) #switchport mode access
Switch (config­if) #^Z //ctrl+z para salir
Switch #
%SYS-5-CONFIG_I: Configured from console by console
Switch # wr //escribe la configuración en memoria
Building configuration...
[OK]


Configurar el Router

El proceso es parecido al del switch, se crean las vlan, pero estas hay que asignárselas a las sub interfaces creadas previamente.

Router>enable
Router# vlan database
% Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode.
Router (vlan) #vlan 10 //Se crea una Vlan nueva, con nombre 10
VLAN 10 added: //Se notifica que se agrego
Name: VLAN0010
Router (vlan) #vlan 20
VLAN 20 added:
Name: VLAN0020
Router (vlan) #exit //escribiendo exit se aplican los cambios
APPLY completed.
Exiting....
Router #


Ahora tenemos que activar para la interfaz del router f0/2 f0/3 y configurar sub interfaces (f0/0.10 y f0/0.20 con direcciones IP):

Router (config­if) #int f0/0.10
Router (config­subif) #encapsulation dot1q 10
Router (config­subif) #ip address 192.168.2.1 255.255.255.0
Router (config­subif) #
Router (config­subif) #int f0/0.20
Router (config­subif) #encapsulation dot1q 20
Router (config­subif) #ip address 192.168.3.1 255.255.255.0
Router (config­subif) #^Z
Router #
%SYS-5-CONFIG_I: Configured from console by console
Router #exit

Por último hay que asignarles direcciones ip a los host o PC, pero están en vez de asignarlas de forma estática, se realizan por medio del DCHP.

Configurar DHCP en Router

DHCP significa Protocolo de configuración de host dinámico. Es un protocolo que permite que un equipo conectado a una red pueda obtener su configuración (principalmente, su configuración de red) en forma dinámica (es decir, sin intervención particular). Sólo tiene que especificarle al equipo, mediante DHCP, que encuentre una dirección IP de manera independiente. El objetivo principal es simplificar la administración de la red.

Como tenemos dos Vlan, es necesario que el servicio de DHCP se configure dos veces, para que asigne direcciones ip al PC1 que tiene dirección .2.1 y PC2 que tiene .3.1

-->Ejemplo Para vlan 10

Router (config) #ip dhcp excluded-address 192.168.2.1 192.168.2.10 //Le damos un rango de ips a excluir del direccionamiento, ambos inclusivos, esto es buena práctica, ya que si se quiere agregar un DNS, o algún otro servicio de configuración, se toman esas ip que están excluidas.

Router (config) #ip dhcp pool dhcp_Vlan1 //le damos un nombre al ámbito de direccionamiento
Router (DHCP-config) #network 192.168.2.0 255.255.255.0 //le decimos el ámbito de dhcp_Blan1 en este caso
Router (DHCP-config) #default-router 192.168.2.1 //señalamos la ip que vamos a indicarle a los host como puerta de enlace


Podemos hacer ping de PC1 a PC2 para probar si está funciona.



Virtualization Systems

The issue of system virtualization is a broad topic and has a number of advantages and disadvantages involving end users and companies that implement projects using desktop virtualization, where more than a method used to reach your goal server using traditional services, to server-based applications accessible from a web browser.

There are multiple ways to virtualized systems, either by remote hosting, remote applications using virtual, a virtual dedicated Desktop on a remote host, or use local virtual applications as Java, or just use a virtual local operating system, all these ways are efficient and allow the needs of customers, the tools exist and some are quite robust as possible a level of security and confidence to use them.

Some of the drawbacks are that many of these ways of interacting with virtualization need from the network for logical operation, so a bandwidth of the network under can affect when attempting to synchronize data or perform some specific task and it is very susceptible to disconnections that can cause them to freeze. But we cannot ignore that this form of rendering services is very efficient because it allows companies to save much money on purchasing licenses or maintenance, investment in hardware that had to make a company to use different servers for the control their systems would be enormous, whereas with virtual systems this cost is much less being more feasible; these applications also have the characteristic that can function even if the network is disconnected, working locally with the client and the server machine, administer shared directories, resource consumption is lower, the response speed is higher and consumption on Bandwidth is more passive in allowing faster data transfer, also the result with the end user is much better and can easily perform their tasks.

Virtualization at all 'flavors' guarantees a reduction in system management costs and provides flexibility to cope with change. However, as fast as the mobility of IT, its biggest challenge will be to ensure that consumers will receive in their daily tasks.

802.11n standard

Wireless technologies is something that makes life easier, all electronic devices one way or another use it, we all know or have interacted with Wi-Fi technology, but recently approved IEEE 802.11n standard, which is like a WiFi stronger more scalable.

The highlight is that this very focused on providing end-user faster communication and greater distances.

One of its important features is that it promotes local wireless networks more scalable, much faster than the current, allowing systems to be adaptable and security deployments and installed today.

Among the benefits that 802.11n could find is that the bandwidth handling capabilities of channels 20 and 40 MHz transfer rates around 100-130 Mb/s and maximum rates of 600 Mb/s. Efficiency of spectrum utilization compared to other standards, using a special accommodation information in the headers of the packets. Operating range of distances around 70 meters indoor and 250 meters outdoor, introduces a concept of MIMO antennas, which helps to better manage the interference or noise that are susceptible such technologies.

With the 802.11n standard, applications such as high definition video, all that is good media will benefit by using this technology.

All these features make a wireless network as is feasible to use, and give us more weight in the balance when choosing between a wired or wireless network.

The 802.11n WiFi is far superior to their predecessors 802.11g WiFi, is only now that the systems are ready for use, that come with laptops and devices that enable the proper functioning of these systems in order to make a wireless network as common as a wired network, plus a wireless network and much more comfortable for the end user.

Whiteboard Session - Dr. Bharghavan discusses 802.11n

Scalability Networks like Project Portland and mobile networks

jueves, 1 de octubre de 2009

Information Technologies have increasingly been increasing, and networks are the means by which the world is moving and the Internet is the means to exploit these technologies. The internet is a giant network which allows users to move data back and forth no matter where, for owners of sites is really expensive to store all this information and maintain it, here comes into play mega datacenters that handle more and more the world of computing and storage needs, make the data-center networks will be increasingly important as the need for systems that allow the scalability of these large data managers is increasing, since generally the existing systems do not allow this growth and have a maximum point of administration.

A system that is in the process, which has a great future because it is designed with the objective of this can support to enable the scalability data centers, is "Portland", a system of algorithms and protocols that eliminate the constraints of scalability and path - in-routing of layer 2, and avoids the administrative problems caused by virtualization and deployment of network layer 3 in network environments datacenters. The data-center today, often at run on Layer 3 networks, but this requires large numbers of man-hours to configure and maintain these networks. These networks of layer 3, not allow a simple implementation of migration to virtual machines, limiting the flexibility and efforts to reduce energy costs in data-centers, as Portland if it meets this demand, enabling network operators to manage the datacenter as a single factory.

Portland's success is location discovery protocol which opens the possibility of a scalable Layer 2 network. The switches automatically learn its location within the topology of data-center without any human intervention. These switches assign then addresses' Pseudo MAC (PMAC) to all other servers that connect these directions PMAC, instead of MAC addresses, are used internally in the network for sending packets.

The behavior of servers remains the same while running on networks with Portland, where a server wants to talk to the server on the other side of data-center, the first server still sends a "ARP," which is the requisition of the MAC address the computer with which you want to communicate based on IP address. But now, instead of passing the requisition to the whole network, the switch that received the ARP communicates with a directory service which will address PMAC returns, instead of the traditional MAC address, then when new machines, simply generate new PMAC addresses, allowing the networks and the movement of data is growing as the scalable data centers can grow without any problem..

We know that the internet and the flow of data are increasingly growing, but this way of interacting with the network not only used by a PC, mobile technologies are rapid growth, and as such there is a need to exchange data as we do from our computer.

Mobile developers stop thinking of how to do to send voice, because although the text messaging and phone calls are not really the goal, are complementary, and statistics says this, where what more moves are means of a special phone multimedia data, but the bandwidths of these devices allow you to move large data quickly, so we think that new technologies bring embedded phones as wireless modems that enable supply this demand.

Finally, the networks are the means by which the world is moving, these dominate the planet, and must be thinking that they can grow more and more, and therefore need to think about scalable systems, and devices that can mobilize much data at a higher speed.

How to build a 100,000-port Ethernet switch

Mobile data to hit 1.6 exabytes monthly by 2014: ABI

Contexto de Coherencia

miércoles, 22 de abril de 2009

Cada vez que se desarrolla interfaces graficas de usuario, se debe de tener bien claro el contexto al que se va a desarrollar, sabiendo que poner y que no poner, y que es lo que el usuario utiliza mas, por lo que cada elemento colocado debe de ser coherente a su función. Un ejemplo que se me ocurre es cuando se manejan permisos en los sistemas, es decir un usuario administrador, tiene más privilegios que un usuario normal, por lo que las opciones en los menús cambian dependiendo de un usuario a otro, así mismo en la realización de cualquier funcionalidad, se debe de saber qué es lo que el usuario quiere u ocupa ver, que herramientas debe de utilizar, quitar lo que no necesita, y como se sabe todo esto, de nuevo hay que ponerse en la posición del usuario, y de un usuario inexperto, para así evitar que presione algo que eventualmente podría hacer que el sistema se caiga; pero al hacer todo esto no se debe de descuidar el desorden de la aplicación y se debe de mantener las características previas que se tenían, para evitar que el usuario se sienta perdido o desconcentrado dentro del sistema. Es por eso que el desarrollador debe de tener bien claro el contexto de cada pantalla para darse cuenta de que se debe de poner y que no, y así le permitirá al usuario tomar decisiones más acertadas acerca de lo que debe de hacer o no, evitando caer en el error.

Vease mas en: http://www.usabilitypost.com/2008/08/04/context-over-consistency/

8 Características del éxito en la creacion de Interfaces de Usuario

En el mundo de la informativa y el diseño de sistemas es común seguir una serie de estándares o características que debe de tener un sistema, por ejemplo todo proyecto de software sigue un conjunto de normativas en sus etapas administrativas del proyecto (Especificación de software), y de igual manera existen buenas técnicas de programación, en cambio en la etapa de diseño de interfaces de usuario, existe mucha documentación al respecto y diferentes técnicas, pero de igual manera no se siguen todas al pie de la letra, o se aplican unas y otras no, por lo que los productos de software que salen al mercado, muchas veces quedan debiendo en este aspecto. Se pueden mencionar 8 aspectos de una buena UI, yo nombrare nueve.

1.Claridad: Esta es la característica más básica, y tal vez en la que la mayoría de los desarrolladores piensan primero, ya que se refiere al estado en el que las personas interactúan, pero interactúan bien y con claridad con el sistema conociendo los significados de cada icono utilizado; los tooltips son bien importantes en esta parte.

2.Conciso: Usted debe de poner lo necesario en una interfaz, es decir tratar de evitar de poner leyendas demasiados extensas que capten demasiada atención para el usuario, pero sin descuidar la claridad con la que se muestra la información; mantener las cosas claras y concisas dan muchas ventajas.

3.Familiar: Desarrolle interfaces donde el usuario no tenga la necesidad de leerse un manual, haga cosas que permitan al usuario realizarlas de manera intuitiva.

4.Responder: Los delay de tiempo que puede durar una aplicación resolviendo una consulta, muchas veces puede durar más de lo esperado, por lo que es aconsejable que la aplicación responda a esto utilizando barras de progreso, así mismo en todo cambio importante al sistema, llámese una inserción o eliminación, etc., se debe responder al usuario de que se realizo X acción, evitando tal vez frustración a la hora de esperar o insertar algo sin saber si se realizo con éxito.

5.Consistente: Es importante que se guarde lo más característico de una versión a otra en los sistemas, para así evitar aprender de nuevo; un ejemplo a medias es office, ya que es sus versiones 2007, todo su paquete que ofrece (Excel, PowerPoint, Word, etc.), tienen la misma barra de menú, permitiendo una familiarización con el sistema, sin embargo el cambio abrupto de office 2003 al 2007 fue enorme, ya que no se siguió con lo que se tenía, además de que Outlook 2007 guarda la misma barra de menú que el office 2003, dándonos inconsistencias, pero el punto es que en el caso de Word, Excel, PowerPoint y Access sus menús son iguales, permitiendo al usuario que ha usado Word pero no ha usado PowerPoint, utilizar este ultimo sin mayor complicación.

6.Atractivo: Esta otra característica que buscan todos los desarrolladores, de que sus productos sean atractivos, y esto se traduce a que en una primer instancia el usuario se puede enamorar del sistema, pero no hay que menospreciar las demás características, ni tampoco la funcionalidad del sistema, para que ese enamoramiento previo, dure bastante.

7.Eficiente: Cuando se desarrolla interfaces, hay que ponerse en la posición del usuario, y ver qué es lo que el usuario está tratando de lograr y luego hacer que él lo haga sin mucha complicación. Por lo que se debe de desarrollar interfaces que permitan realizar a las personas una lista de características con facilidad.

8.Indulgente: Algo muy importante que hay que saber es que los que van a usar nuestros sistemas, son seres humanos susceptibles a caer en el error, por lo que las aplicaciones deben de dar opciones para retractarse luego de haber realizado algo, pero esto no es tan fácil como parece, ya que se requiere un trabajo extra a nivel de funcionalidad, pero de igual manera ese trabajo extra nos puede brindar muchas ventajas.

9.Escalabilidad: Siempre que desarrollemos, no debemos de pensar que nuestros sistemas son para 5 personas, debemos de pensar que nuestro sistema puede, o más bien debe de ir creciendo, por lo que se deben de ofrecer interfaces que respalden esto, por ejemplo si se maneja clientes y estos los mostramos en un Grid, debemos de poner un opción de buscar, por si nuestra lista es de 2000 personas, y no 5 como era al inicio.

Yo pienso que si se siguen estas características es muy probable que la aplicación sea exitosa, digo probable, porque la funcionalidad del sistema debe de respaldar esa interfaz.

Comentario sobre http://www.usabilitypost.com/2008/08/04/context-over-consistency/%26hl%3Des%26sa%3DG&usg=ALkJrhhAjPiwGDxSCVr-owyOwJKEqmZTiA/

JavaNNS (Java Neural Simulator)

miércoles, 25 de marzo de 2009

Neural network simulators are software applications that are used to simulate the behavior of artificial or biological neural networks. They focus on one or a limited number of specific types of neural networks. They are typically stand-alone and not intended to produce general neural networks that can be integrated in other software. Simulators usually have some form of built-in visualization to monitor the training process. Some simulators also visualize the physical structure of the neural network.

Historically, the most common type of neural network software was intended for researching neural network structures and algorithms. The primary purpose of this type of software is to, through simulation, gain a better understanding of the behavior and properties of neural networks. Today in the study of artificial neural networks, simulators have largely been replaced by more general component based development environments as research platforms.

Commonly used artificial neural network simulators include the Stuttgart Neural Network Simulator (SNNS), Emergent, JavaNNS and Neural Lab.

I'm going to talk about de Java Neutral Simulator (JavaNNS)

This neural network simulator originally developed at the Wilhelm-Schickard-Institute for Computer Science (WSI) in Tübingen, Germany. It`s development in java, gives a nice user interface, allowing the user creating a interesting neural networks.

JavaNNS is written around a simulation kernel to which user written activation functions, learning procedures and output functions can be added. It has support for arbitrary network topologies and the standard release contains support for a number of standard neural network architectures and training algorithms.


read more about this simulator, includes installation, and user manual, among other things
http://oosem.com/study/manual/JavaNNS-manual.html

if you wanna download this simulator, visite this site http://www.ra.cs.uni-tuebingen.de/downloads/JavaNNS/