ubuntuusers.de

Unbenannt

Datum:
20. April 2014 18:36
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
router config (Technicolor TC7200 Kabel router)

IP = 192.168.0.1
Subnet= 255.255.255.254.0
DHC=ein
Lokale Adresse starten 192.168.0.2
DHCP Pool grösse = 200
leasedauer = 86400 sec.
DNS Server 1 (leer)
DNS Server 2 (leer)
Domain name (leer)



/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

# The primary network interface
auto em1
iface em1 inet static
        address 192.168.1.1
        netmask 255.255.254.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.0.1
        dns-nameservers 8.8.8.8 8.8.4.4


/etc/dhcp/dhcpd.conf

authoritative;
    subnet 192.168.0.0 netmask 255.255.254.0 {
    range 192.168.1.3 192.168.1.254;
    interface em1;
    option routers 192.168.0.1;
    }