Mostrando entradas con la etiqueta OTOÑO. Mostrar todas las entradas
Mostrando entradas con la etiqueta OTOÑO. Mostrar todas las entradas

jueves, 17 de abril de 2008

redes



VNC





VNC (Virtual Network Computing) es un software cliente/servidor que te permite acceder remotamente a sesiones X-Windows. Con este programa puedes acceder desde cualquier ordenador conectado a internet que tenga el cliente (vncviewer) a una sesión que hayas abierto en tu ordenador.





COMPILACION E INSTALACION





La versión actual de TightVNC es la 1.2.2. Se baja del código fuente y se compila asi: % tar zxvf tightvnc-1.2.2 unixsrc+libs.tar.gz
. . .
% cd vnc_unixsrc
% xmkmf
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
Luego se edita el fichero Makefile y se busca la siguiente linea: SUBDIRS = libvncauth vncviewer vncpasswd vncconnect
En Linux se elimina vncviewer, ya que si no se hace al compilar dará un extraño error. En Solaris no aparece este problema. Continua la compilación:






% make World
% cd Xvnc
% make World




Una vez terminada la compilación, iremos al directorio raíz de las fuentes de TightVNC y se ejecuta como root lo siguiente: # ./vncinstall /usr/local/bin/
Con esto se termina el proceso de instalación. Los programas que se han instalado son los siguientes:




Xvnc, que es el servidor en si.
vncviewer, el programa cliente.
vncpasswd, para cambiar la contraseña de cada sesión.
vncconnect, para conectarnos a un servidor VNC.
vncserver, para iniciar sesiones VNC.










RED EN PACKET TRACER












CONFIGURACIÒN DEL ROUTER-CALI



cali>enable
cali#sh run
Building configuration...
Current configuration : 560 bytes

!version 12.2
no service password-encryption!
hostname cali!!!!
interface FastEthernet0/0
ip address 192.168.24.161 255.255.255.252
duplex auto
speed auto!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown!
interface Serial2/0
ip address 192.168.22.2 255.255.255.252
!interface Serial3/0
no ip address
shutdown!
interface FastEthernet4/0
no ip
shutdown!
interface FastEthernet5/0
no ip address
shutdown!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.22.1 !!!!
line con 0
line vty 0 4
login!!







CONFIGURACIÒN DEL ROUTER-MEDELLIN



medellin>enable
medellin#sh run
Building configuration...
Current configuration : 758 bytes!

version 12.2
no service password-encryption!
hostname medellin!!!!
interface FastEthernet0/0
ip address 192.168.24.97 255.255.255.224
duplex auto
speed auto!
interface FastEthernet1/0
ip address 192.168.24.129 255.255.255.224
duplex auto
speed auto!
interface Serial2/0
ip address 192.168.23.2 255.255.255.252
clock rate 4000000!
interface Serial3/0
ip address 192.168.22.1 255.255.255.252
clock rate 4000000!
interface FastEthernet4/0
no ip address
shutdown!
interface FastEthernet5/0
no ip address
shutdown!
ip classless
ip route 192.168.24.32 255.255.255.224 192.168.23.1
ip route 192.168.24.64 255.255.255.224 192.168.23.1
ip route 192.168.24.160 255.255.255.224 192.168.22.2
!!!!line con 0
line vty 0 4
login!
!end







CONFIGURACION DEL ROUTER-BOGOTA






bogota>enable
bogota#sh run
Building configuration...
Current configuration : 735 bytes

!version 12.2
no service password-encryption
!hostname bogota
!!!!interface FastEthernet0/0
ip address 192.168.24.33 255.255.255.224
duplex auto
speed auto!
interface FastEthernet1/0
ip address 192.168.24.65 255.255.255.224
duplex auto
speed auto!
interface Serial2/0
ip address 192.168.23.1 255.255.255.252
!interface Serial3/0
no ip address
shutdown!
interface FastEthernet4/0
no ip address
shutdown!
interface FastEthernet5/0
no ip address
shutdown!
router rip
network 192.168.24.0!
ip classless
ip route 192.168.24.96 255.255.255.224 192.168.23.2
ip route 192.168.24.128 255.255.255.224 192.168.23.2
ip route 192.168.24.160 255.255.255.224 192.168.23.2
!!!!line con 0line vty 0 4 login!!end