Virtualización do Ciclo ASIR do IES de Rodeira: Diferenzas entre revisións

De Wiki do Ciclo ASIR do IES de Rodeira
Saltar á navegación Saltar á procura
Liña 35: Liña 35:
#Configurar as ethernet editando /etc/network/interfaces
#Configurar as ethernet editando /etc/network/interfaces
#:<source lang='bash'>
#:<source lang='bash'>
#: # This file describes the network interfaces available on your system
# This file describes the network interfaces available on your system
#: # and how to activate them. For more information, see interfaces(5).
# and how to activate them. For more information, see interfaces(5).

#:
#: # The loopback network interface
# The loopback network interface
#: auto lo
auto lo
#: iface lo inet loopback
iface lo inet loopback

#:
#: # The primary network interface
# The primary network interface
#: #allow-hotplug eth0
#allow-hotplug eth0
#: #iface eth0 inet dhcp
#iface eth0 inet dhcp
#: auto eth0
auto eth0
#: iface eth0 inet static
iface eth0 inet static
#: address 172.20.0.1
address 172.20.0.1
#: netmask 255.255.0.0
netmask 255.255.0.0
#: gateway 172.20.2.1
gateway 172.20.2.1
#: nameserver 172.20.2.1
nameserver 172.20.2.1

#:
#: auto eth1
auto eth1
#: iface eth1 inet static
iface eth1 inet static
#: address 192.168.1.3
address 192.168.1.3
#: netmask 255.255.255.0
netmask 255.255.255.0

#:
#: auto eth2
auto eth2
#: iface eth2 inet static
iface eth2 inet static
#: address 192.168.2.3
address 192.168.2.3
#: netmask 255.255.255.0
netmask 255.255.255.0
</source>
</source>
# Configurar hostname a RouterRodeira
# Configurar hostname a RouterRodeira

Revisión como estaba o 13 de setembro de 2013 ás 21:03

Virtualización do IES de Rodeira

Introducción

Planificación

Redes

Servizos

Sistemas de Virtualización

Configuración da Rede

Configuración da LAN

Configuración de Servicios

Router

A Máquina Virtual "Router" será a encargada de redirixir a entrada aos servizos ofrecidos pola rede hacia o mundo exterior. Estes servicios fundamentalmente serán:

  • Servizos de Acceso Remoto
    • RDP hacia o Servidor de Dominio Windows
    • NX/X2GO hacia o Servidor de Escritorio Linux
    • SSH hacia os distintos servers: (Router,Proxy,Servidor Web e Servidor de Escritorio)
  • Servizos de Correo
    • SMTP,POP,e IMAP
    • WebMail
  • Servizo DNS
  • SFTP (mediante o acceso SSH)

Esta máquina deberá tamen facilitar acceso a Internet, sempre e cando a solicitude sexa no porto 80 ou 443 e a mesma se produza dende o Proxy.

Datos Técnicos

Máquina Virtual Xen e modo paravirtualizado (PVM) executando Debian Jessie

 * 2 Cores
 * 512M de RAM
 * 3 Ethernet:
    eth0 - 172.20.0.1 (untagged), acceso a rede local ASIR
    eth1 - 192.168.1.3 (tag 4), acceso a ADSL1 na rede CICLOS
    eth1 - 192.168.2.3 (tag 4), acceso a ADSL2 na rede CICLOS

Configuración

Partimos dun disco VHD cunha instalación básica de Debian Jessie.

  1. Creamos unha copia utilizando a imaxe como base:
      vhd-util snapshot -n RouterRodeira.vhd -p JessieBase.vhd
    
  2. Configurar as ethernet editando /etc/network/interfaces
      # This file describes the network interfaces available on your system
      # and how to activate them. For more information, see interfaces(5).
    
      # The loopback network interface
      auto lo
      iface lo inet loopback
    
      # The primary network interface
      #allow-hotplug eth0
      #iface eth0 inet dhcp
      auto eth0
      iface eth0 inet static
      address 172.20.0.1
      netmask 255.255.0.0
      gateway 172.20.2.1
      nameserver 172.20.2.1
    
      auto eth1
      iface eth1 inet static
      address 192.168.1.3
      netmask 255.255.255.0
    
      auto eth2
      iface eth2 inet static
      address 192.168.2.3
      netmask 255.255.255.0
    
  3. Configurar hostname a RouterRodeira
   hostname "RouterRodeira" && echo "RouterRodeira">/etc/hostname

Proxy

Servidor Web

Servidor de Escritorio

Outros Servizos

Kerberos e LDAP

DNS

E-Mail

Servizos de Dominio e Active Directory

Servidor de Espazo en Disco (NAS)

Mantemento

Copias de Seguridade

Actualizacións