ubuntuusers.de

Unbenannt

Datum:
27. April 2014 16:55
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/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