Skip to content

Instantly share code, notes, and snippets.

@LuisPalacios
Created March 8, 2023 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LuisPalacios/a681108193f24da6929588dbbedc0b2a to your computer and use it in GitHub Desktop.
Save LuisPalacios/a681108193f24da6929588dbbedc0b2a to your computer and use it in GitHub Desktop.
Pi-hole: Configuración DHCP para Decos Movistar
# Pi-hole: Configuración DHCP
# /etc/dnsmasq.d/03-pihole-decos.conf
#
# Este fichero está referenciado en este apunte:
# https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html
#
# DECOS
# Rango
dhcp-range=set:decos,192.168.206.10,192.168.206.20,1h
# Opción A: Reconocer el vendor-class (no conseguí que funcionase)
#dhcp-vendorclass=set:decos,[IAL]
#dhcp-range=tag:!decos,192.168.206.33,192.168.206.199,1h
#dhcp-range=tag:decos,192.168.206.200,192.168.206.223,1h
# Opción B: Reconocer la MAC del Deco
dhcp-host=DC:A6:33:DB:DC:FE,deco206-manuel-eth,192.168.206.21,set:decos
# Opciones para los DECOS
dhcp-option=tag:decos,option:router,192.168.206.1
dhcp-option=tag:decos,6,172.26.23.3
dhcp-option=tag:decos,240,':::::239.0.2.10:22222:v6.0:239.0.2.30:22222'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment