Ir al contenido principal
Todas las coleccionesAllied TelesisFirewall & Routers
Allied Telesis - Inicializar AR3050s/AR4050s
Allied Telesis - Inicializar AR3050s/AR4050s

Configuración Inicial por CLI

Raúl Aragón avatar
Escrito por Raúl Aragón
Actualizado hace más de 2 años

Requerimientos:

Cable de Consola con puerto RJ45, se sugiere el accesorio: AT-VT-KIT3

Para windows es necesario el software Putty

Login: manager

Password: friend

awplus login: manager
Password:
Last login: Wed Nov 23 16:40:22 UTC 2022 on ttyS0
AlliedWare Plus (TM) 5.5.1 10/24/22 23:29:04

% Default password needs to be changed.
awplus>

Paso 1.- Asignar una IP a la red LAN:

awplus>enable 
awplus#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
awplus(config)#interface vlan1
awplus(config-if)#ip address 192.168.10.1/24
awplus(config-if)#exit
awplus(config)#exit
awplus#wr
Building configuration...
[OK]
awplus#

Paso 1.1.- Verificar IP de la interface:

awplus>enable
awplus#show running-config interface
interface vlan1
ip address 192.168.10.1/24
!
awplus#

Paso 2.- Crear Servidor DHCP

awplus>enable
awplus#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
awplus(config)#ip dhcp pool LAN
awplus(dhcp-config)#network 192.168.10.0 255.255.255.0
awplus(dhcp-config)#range 192.168.10.20 192.168.10.100
awplus(dhcp-config)#dns-server 192.168.10.1
awplus(dhcp-config)#default-router 192.168.10.1
awplus(dhcp-config)#exit
awplus(config)#service dhcp-server
awplus(config)#exit
awplus#wr
Building configuration...
[OK]
awplus#

Paso 2.1.- Verificar el Servicio de DHCP:

awplus>enable
awplus#show running-config dhcp
ip dhcp pool LAN
network 192.168.10.0 255.255.255.0
range 192.168.10.20 192.168.10.100
dns-server 192.168.10.1
default-router 192.168.10.1
!
!
!
service dhcp-server
!
awplus#

Paso 3.- Configuración IP puerto WAN:

a) IP estatica

awplus>enable 
awplus#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
awplus(config)#interface eth1
awplus(config-if)#ip address 172.31.1.1/24
awplus(config-if)#exit
awplus(config)#ip route 0.0.0.0/0 172.31.1.254
awplus(config)#exit
awplus#wr
Building configuration...
[OK]
awplus#

b) IP automatica por DHCP-Cliente

awplus>enable 
awplus#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
awplus(config)#interface eth
awplus(config-if)#ip address dhcp
awplus(config-if)#exit
awplus(config)#exit
awplus#wr
Building configuration...
[OK]
awplus#

Paso 3.1 Verificar configuración puerto WAN

awplus>enable 
awplus#show running-config interface eth1

Caso a)

!
interface eth1
ip address 172.31.1.1/24
!
awplus#

Caso b)

!
interface eth1
ip address dhcp
!
awplus#

Verificar Gateway

awplus#show running-config ip route 
!
ip route 0.0.0.0/0 172.31.1.254
!
awplus#

Paso 4.- Configuración de las Zonas

awplus>enable 
awplus#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
awplus(config)#zone Private
awplus(config-zone)#network LAN
awplus(config-network)#ip subnet 192.168.10.0/24 interface vlan1
awplus(config-network)#exit
awplus(config-zone)#exit
awplus(config)#zone Public
awplus(config-zone)#network Internet
awplus(config-network)#ip subnet 0.0.0.0/0 interface eth1
awplus(config-network)#exit
awplus(config-zone)#exit
awplus(config)#exit
awplus#wr
Building configuration...
[OK]
awplus#

Paso 4.1 Verificar Zonas:

awplus>enable
awplus#show running-config entity
zone Private
network LAN
ip subnet 192.168.10.0/24 interface vlan1
!
zone Public
network Internet
ip subnet 0.0.0.0/0 interface eth1
!
awplus#

Paso 5.- Habilitar NAT

awplus>enable 
awplus#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
awplus(config)#nat
awplus(config-nat)#rule masq any from Private to Public
awplus(config-nat)#enable
awplus(config-nat)#exit
awplus(config)#exit
awplus#wr
Building configuration...
[OK]
awplus#

Paso 5.1.- Verificar NAT

awplus>enable
awplus#show running-config nat
nat
rule 10 masq any from Private to Public
enable
!
awplus#

Paso 6.- Configuración de Firewall

awplus>enable
awplus#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
awplus(config)#firewall
awplus(config-firewall)#rule permit any from Private to Private
awplus(config-firewall)#rule permit any from Private to Public
awplus(config-firewall)#protect
awplus(config-firewall)#exit
awplus(config)#exit
awplus#wr
Building configuration...
[OK]
awplus#

Paso 6.1 Verificar Firewall

awplus>enable
awplus#show running-config firewall
firewall
rule 10 permit any from Private to Private
rule 20 permit any from Private to Public
protect
!
awplus#

¿Ha quedado contestada tu pregunta?