Hallo Leute!!!
Ich benötige fachmänische Hilfe.
Habe lt. Wiki einen DNS Server eingerichtet.
wenn ich
dig @127.0.0.1 ddwrt.buenta.local
eingebe kommt folgendes:
stoffl@buenta-srv:/etc/dhcp3$ dig @127.0.0.1 ddwrt.buenta.local ; <<>> DiG 9.7.3 <<>> @127.0.0.1 ddwrt.buenta.local ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25187 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;ddwrt.buenta.local. IN A ;; ANSWER SECTION: ddwrt.buenta.local. 172800 IN A 192.168.11.1 ;; AUTHORITY SECTION: buenta.local. 172800 IN NS srv1.buenta.local. ;; ADDITIONAL SECTION: srv1.buenta.local. 172800 IN A 192.168.11.2 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jan 12 22:09:19 2012 ;; MSG SIZE rcvd: 87
das bedeutet die DNS läuft oderß
Weiters DHCP Server:
ich hätte gerne auf eth0 eine Fixe IP Adresse von wo das Internet kommt Auf eth1 den DHCP Server.
Mit dem komm ich nicht klar. Meine Aktuelle dhcp.conf
authoritative; subnet 192.168.11.0 netmask 255.255.255.0 { range 192.168.11.10 192.168.11.80; default-lease-time 600; max-lease-time 7200; option domain-name "buenta.local" option domain-name-servers 192.168.11.2; option broadcast-address 192.168.11.254; option subnet-mask 255.255.255.0; option routers 192.168.11.2; } subnet 10.0.0.0 netmask 255.255.255.0 { option subnet-mask 255.255.255.0; options routers 10.0.0.138; range 10.0.0.1 10.0.0.5; }
wenn ich nun den Dienst
sudo service isc-dhcp-server start
starte kommt Folgende Fehlermeldung im Syslog:
Jan 12 22:02:22 buenta-srv dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1 Jan 12 22:02:22 buenta-srv dhcpd: Copyright 2004-2010 Internet Systems Consortium. Jan 12 22:02:22 buenta-srv dhcpd: All rights reserved. Jan 12 22:02:22 buenta-srv dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Jan 12 22:02:22 buenta-srv dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1 Jan 12 22:02:22 buenta-srv dhcpd: Copyright 2004-2010 Internet Systems Consortium. Jan 12 22:02:22 buenta-srv dhcpd: All rights reserved. Jan 12 22:02:22 buenta-srv dhcpd: For info, please visit https://www.isc.org/software/dhcp/ Jan 12 22:02:22 buenta-srv dhcpd: Wrote 0 leases to leases file. Jan 12 22:02:22 buenta-srv dhcpd: Jan 12 22:02:22 buenta-srv dhcpd: No subnet declaration for virbr0 (192.168.122.1). Jan 12 22:02:22 buenta-srv dhcpd: ** Ignoring requests on virbr0. If this is not what Jan 12 22:02:22 buenta-srv dhcpd: you want, please write a subnet declaration Jan 12 22:02:22 buenta-srv dhcpd: in your dhcpd.conf file for the network segment Jan 12 22:02:22 buenta-srv dhcpd: to which interface virbr0 is attached. ** Jan 12 22:02:22 buenta-srv dhcpd: Jan 12 22:02:22 buenta-srv dhcpd: Jan 12 22:02:22 buenta-srv dhcpd: No subnet declaration for eth1 (192.168.11.2). Jan 12 22:02:22 buenta-srv dhcpd: ** Ignoring requests on eth1. If this is not what Jan 12 22:02:22 buenta-srv dhcpd: you want, please write a subnet declaration Jan 12 22:02:22 buenta-srv dhcpd: in your dhcpd.conf file for the network segment Jan 12 22:02:22 buenta-srv dhcpd: to which interface eth1 is attached. ** Jan 12 22:02:22 buenta-srv dhcpd: Jan 12 22:02:22 buenta-srv dhcpd: Jan 12 22:02:22 buenta-srv dhcpd: No subnet declaration for eth0 (10.0.0.1). Jan 12 22:02:22 buenta-srv dhcpd: ** Ignoring requests on eth0. If this is not what Jan 12 22:02:22 buenta-srv dhcpd: you want, please write a subnet declaration Jan 12 22:02:22 buenta-srv dhcpd: in your dhcpd.conf file for the network segment Jan 12 22:02:22 buenta-srv dhcpd: to which interface eth0 is attached. ** Jan 12 22:02:22 buenta-srv dhcpd:
Was mache ich bitte falsch?
OK irgend wie muss ich dem noch beibringen dass das Internet auf 10.0.0.1 ist und er es quasi verbinden muss.
Momentan läuft firestartet für die "Verknüpfung" von den beiden Netzwerk karten ...
danke im Voraus für die Hilfe!!
Gruß aus dem Verschneiten Montafon