Datos de configuración del servicio:
- Ámbito: 192.168.10.0 / 255.255.255.0
- DNS1: 192.168.10.7
- DNS2: 8.8.8.8
- Puerta de enlace predeterminada: 192.168.10.1
- Exclusiones dentro del ámbito: 192.168.10.1, 192.168.10.254
- IPs con reservas por MAC.
##############################################
# Activar DHCP #
##############################################
ip dhcp pool dhcppool
network 192.168.10.0 255.255.255.0
dns-server 192.168.10.7 8.8.8.8
default-router 192.168.10.1
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.10.1 192.168.10.254
!
ip dhcp pool STATIC-SRV1
host 192.168.10.28 255.255.255.0
client-identifier 0100.0C29.7566.7C
!
ip dhcp pool STATIC-SRV2
host 192.168.10.10 255.255.255.0
client-identifier 0100.5056.74BE.91
!
ip dhcp pool STATIC-SRV3
host 192.168.10.11 255.255.255.0
client-identifier 0100.5056.72EF.82
!
ip dhcp pool STATIC-SRV4
host 192.168.10.7 255.255.255.0
client-identifier 0100.1E4F.1B64.C4
!
ip dhcp pool STATIC-SRV5
host 192.168.10.9 255.255.255.0
client-identifier 0100.19DB.BE24.0E
!
ip dhcp pool STATIC-SRV6
host 192.168.10.25 255.255.255.0
client-identifier 0100.0423.DDDC.1C
!
ip dhcp pool STATIC-SRV7
host 192.168.10.200 255.255.255.0
client-identifier 0100.0C29.23E2.0F
!
ip dhcp pool STATIC-SRV8
host 192.168.10.12 255.255.255.0
client-identifier 0100.0C29.8AF0.01
!
ip dhcp pool STATIC-SRV9
host 192.168.10.31 255.255.255.0
client-identifier 0102.BFC0.A801.14
!
##############################################
# Desactivar DHCP #
##############################################
no ip dhcp pool dhcppool
no ip dhcp use vrf connected
no ip dhcp excluded-address 192.168.10.1 192.168.10.254
no ip dhcp pool STATIC-SRV1
no ip dhcp pool STATIC-SRV2
no ip dhcp pool STATIC-SRV3
no ip dhcp pool STATIC-SRV4
no ip dhcp pool STATIC-SRV5
no ip dhcp pool STATIC-SRV6
no ip dhcp pool STATIC-SRV7
no ip dhcp pool STATIC-SRV8
no ip dhcp pool STATIC-SRV9
No hay comentarios:
Publicar un comentario