ich versuche nun seit einer Woche mein Netzwerk zum Laufen zu bringen. Um genau zu sein meinen dhcp server. Ich habe eine ethernet karte, welche genutzt wird um über pppoe ins internet zu gehen. Diese ethernet karte möchte ich als dhcp server verwenden, so dass sich andere rechner eine ip von der karte holen. Ich habe inwischen den network daemon deinstalliert. Installiert ist dnsmasq und pppoeconf und natuerlich isc-hdcp3-server.
Anbei meine network/interfaces
---------------------------
Code: Alles auswählen
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#allow-hotplug eth0
iface eth0 inet dhcp
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
auto eth0:1
iface eth0:1 inet static
address 192.168.1.1
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
dns-nameservers 192.168.1.1
Here is the output of ifconfig
----------------------------
Code: Alles auswählen
addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:70 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4744 (4.6 KiB) TX bytes:4744 (4.6 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:85.181.200.189 P-t-P:213.191.89.22 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:4105 errors:0 dropped:0 overruns:0 frame:0
TX packets:4356 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:3261928 (3.1 MiB) TX bytes:630045 (615.2 KiB)
Anbei meine dhcpd.conf cat /etc/dhcp/dhcpd.conf
-----------------------------------
Code: Alles auswählen
cat /etc/dhcp/dhcpd.conf
#
# Sample configuration file for ISC dhcpd for Debian
#
#
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600;
max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
#
subnet 192.168.1.0 netmask 255.255.255.0 {
option domain-name "mylan";
option domain-name-servers 192.168.1.1;
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
range 192.168.1.100 192.168.1.200;
}
Anbei die Fehlermeldung
-----------------------------------
/etc/init.d/isc-dhcp-server restart
Stopping ISC DHCP server: dhcpd failed!
Starting ISC DHCP server: dhcpdcheck syslog for diagnostics. ... failed!
failed!
-----------------------------------
Anbei meine /var/log/syslog
------------------------------------
Code: Alles auswählen
Nov 13 14:23:38 ion dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Nov 13 14:23:38 ion dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Nov 13 14:23:38 ion dhcpd: All rights reserved.
Nov 13 14:23:38 ion dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Nov 13 14:23:38 ion dhcpd: Wrote 0 leases to leases file.
Nov 13 14:23:38 ion dhcpd:
Nov 13 14:23:38 ion dhcpd: No subnet declaration for eth0:1 (no IPv4 addresses).
Nov 13 14:23:38 ion dhcpd: ** Ignoring requests on eth0:1. If this is not what
Nov 13 14:23:38 ion dhcpd: you want, please write a subnet declaration
Nov 13 14:23:38 ion dhcpd: in your dhcpd.conf file for the network segment
Nov 13 14:23:38 ion dhcpd: to which interface eth0:1 is attached. **
Nov 13 14:23:38 ion dhcpd:
Nov 13 14:23:38 ion dhcpd:
Nov 13 14:23:38 ion dhcpd: Not configured to listen on any interfaces!
And here is my isc-dhcp-server
-----------------------------------
Code: Alles auswählen
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts
#
# This is a POSIX shell fragment
#
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth0:1"
Es scheint auch so zu sein, dass pppoe die /etc/resolv.conf überschreibt. Ich habe resolvconf deinstalliert.
Hat jemand eine Idee?
Danke