Skip to content

Instantly share code, notes, and snippets.

@LuisPalacios
Last active March 8, 2023 15:07
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/c109627b3ec2f4dbd390ec5ade9184bb to your computer and use it in GitHub Desktop.
Save LuisPalacios/c109627b3ec2f4dbd390ec5ade9184bb to your computer and use it in GitHub Desktop.
Pi-hole: Configuración DHCP vlan eth1.10
# Pi-hole: Configuración DHCP
# /etc/dnsmasq.d/04-pihole-sur.conf
#
# Este fichero está referenciado en este apunte:
# https://www.luispa.com/linux/2014/10/19/bridge-ethernet.html
#
# SUR
# VLAN eth1.10
dhcp-range=set:eth1.10,192.168.10.10,192.168.10.200,1h
dhcp-option=tag:eth1.10,option:router,192.168.10.1
# DNS Server
dhcp-option=tag:eth1.10,6,8.8.8.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment