Am 28.09.2004 23:01 Uhr schrieb "Christian Boltz" unter
Ich hab nen DHCP-server der auf den Interfacec eth1 und eth1:1= funktionieren soll. tut er aber nicht. er startet mit der= fehlermeldung 'Interface eth1 matches multiple shared= networks'. in der dhcp.conf hab ich zwei subnetze mit jeweils zu den= logischen interfaces passenden Adressen und IP pools= konfiguriert.
Hat jemand ne idee?
Ja. Zeig erstmal ein paar Daten her, um das Problem einzugrenzen. - Inhalt von /etc/dhcpd.conf
default-lease-time 600; max-lease-time 7200; ddns-update-style ad-hoc; authoritive; subnet 192.168.100.0 netmask 255.255.255.0 { option routers 192.168.100.1; option broadcast-address 192.168.100.255; option subnet-mask 255.255.255.0; option domain-name-servers 192.168.100.1; range 192.168.100.50 192.168.100.100; one-lease-per-client true; ping-check true; } subnet 192.168.0.0 netmask 255.255.255.0 { option routers 192.168.0.1; option broadcast-address 192.168.0.255; option subnet-mask 255.255.255.0; option domain-name-servers 192.168.0.1; one-lease-per-client true; ping-check true; } host Laptop { hardware ethernet 00:A0:CC:D5:71:20; fixed-address 192.168.0.15; } host Chef-PC { hardware ethernet 00:0A:E6:60:48:A9; fixed-address 192.168.0.11; } host Cube { hardware ethernet 00:30:65:DC:45:24; fixed-address 192.168.0.12; }
- Ausgabe von /sbin/ifconfig |grep -A1 "^[a-z]" (Interfaces mit IP)
eth0 Link encap:Ethernet HWaddr 00:10:4B:BC:35:61 inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0 -- eth1 Link encap:Ethernet HWaddr 00:A0:C5:B2:5D:ED inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 -- eth1:1 Link encap:Ethernet HWaddr 00:A0:C5:B2:5D:ED inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0 -- lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0
- Ausschnitt aus /var/log/messages beim Start des dhcpd
Sep 28 23:11:28 srv-work dhcpd: Internet Software Consortium DHCP Server V3.0.1rc12 Sep 28 23:11:28 srv-work dhcpd: Copyright 1995-2003 Internet Software Consortium. Sep 28 23:11:28 srv-work dhcpd: All rights reserved. Sep 28 23:11:28 srv-work dhcpd: For info, please visit http://www.isc.org/products/DHCP Sep 28 23:11:28 srv-work dhcpd: Internet Software Consortium DHCP Server V3.0.1rc12 Sep 28 23:11:28 srv-work dhcpd: Copyright 1995-2003 Internet Software Consortium. Sep 28 23:11:28 srv-work dhcpd: All rights reserved. Sep 28 23:11:28 srv-work dhcpd: For info, please visit http://www.isc.org/products/DHCP Sep 28 23:11:28 srv-work dhcpd: Wrote 0 deleted host decls to leases file. Sep 28 23:11:28 srv-work dhcpd: Wrote 0 new dynamic host decls to leases file. Sep 28 23:11:28 srv-work dhcpd: Wrote 1 leases to leases file. Sep 28 23:11:28 srv-work dhcpd: Interface eth1 matches multiple shared networks Sep 28 23:11:28 srv-work dhcpd: Sep 28 23:11:28 srv-work dhcpd: If you did not get this software from ftp.isc.org, please Sep 28 23:11:28 srv-work dhcpd: get the latest from ftp.isc.org and install that before Sep 28 23:11:28 srv-work dhcpd: requesting help. Sep 28 23:11:28 srv-work dhcpd: Sep 28 23:11:28 srv-work dhcpd: If you did get this software from ftp.isc.org and have not Sep 28 23:11:28 srv-work dhcpd: yet read the README, please read it before requesting help. Sep 28 23:11:28 srv-work dhcpd: If you intend to request help from the dhcp-server@isc.org Sep 28 23:11:28 srv-work dhcpd: mailing list, please read the section on the README about Sep 28 23:11:28 srv-work dhcpd: submitting bug reports and requests for help. Sep 28 23:11:28 srv-work dhcpd: Sep 28 23:11:28 srv-work dhcpd: Please do not under any circumstances send requests for Sep 28 23:11:28 srv-work dhcpd: help directly to the authors of this software - please Sep 28 23:11:28 srv-work dhcpd: send them to the appropriate mailing list as described in Sep 28 23:11:28 srv-work dhcpd: the README file. Sep 28 23:11:28 srv-work dhcpd: Sep 28 23:11:28 srv-work dhcpd: exiting. Mit freundlichen Grüßen Marc