/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
# LAN
auto eth1
iface eth1 inet static
address 192.168.0.22
netmask 255.255.255.0
# WAN
auto eth0
iface eth0 inet dhcp
#address 192.168.0.20
#netmask 255.255.255.0
#gateway 192.168.0.1
/etc/dnsmasq.conf
domain=seppnet.home
dhcp-range=192.168.0.100,192.168.0.150,1h
# Set the "all subnets are local" flag
dhcp-option=27,1
dhcp-authoritative
# For debugging purposes, log each DNS query as it passes through
# dnsmasq.
log-queries
# Log lots of extra information about DHCP transactions.
log-dhcp
# Include another lot of configuration options.
#conf-file=/etc/dnsmasq.more.conf
#conf-dir=/etc/dnsmasq.d