[deb.woody] DHCP-server wil niet werken

Pagina: 1
Acties:
  • 92 views sinds 30-01-2008

  • jojo70
  • Registratie: September 2000
  • Laatst online: 13-05-2025
Ik krijg thuis een debain router niet werkend; alles werkt na mijn inzicht behalve de DHCP-server. Die geeft de volgende fout:
No subnet declaration for eth3 (213.93.9.60).
Please write a subnet declaration in your dhcpd.conf file for the
netwerking segment to which interface eth3 is attached.
Wat doe ik fout?

dhcpd.conf ziet er zo uitt:

# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
#option domain-name "otherweb";
default-lease-time 6000;
max-lease-time 7200;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.100;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
# option domain-name-servers 192.168.1.1;
}

subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.2 192.168.2.100;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
# option domain-name-servers 192.168.2.1;
}

subnet 192.168.3.0 netmask 255.255.255.0 {
range 192.168.3.2 192.168.3.100;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.3.255;
option routers 192.168.3.1;
# option domain-name-servers 192.168.3.1;
}


Ifconfig ziet er zo uit waarbij eth3 de chello aansluiting naar buiten is.

eth0 Link encap:Ethernet HWaddr 00:10:A7:0C:66:08
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1574 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:122251 (119.3 KiB) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0xcc00

eth1 Link encap:Ethernet HWaddr 00:50:BF:1C:2D:97
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0xe400

eth2 Link encap:Ethernet HWaddr 00:50:04:3C:8D:74
inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x300

eth3 Link encap:Ethernet HWaddr 00:01:02:B2:79:38
inet addr:213.93.9.60 Bcast:255.255.255.255 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2165 errors:0 dropped:0 overruns:0 frame:0
TX packets:1748 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:100
RX bytes:2899941 (2.7 MiB) TX bytes:129894 (126.8 KiB)
Interrupt:11 Base address:0xf880

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)


Iemand ideeën?

otherweb // the other place on the web


  • blackd
  • Registratie: Februari 2001
  • Niet online
No subnet declaration for eth3 (213.93.9.60).
Please write a subnet declaration in your dhcpd.conf file for the
netwerking segment to which interface eth3 is attached.
Klinkt opzich erg logisch, aangezien je daar ook geen dhcpd hoeft te draaien lijkt me? :)
Anyway, start dhcpd zo op, dat hij alleen op eth0 t/m eth2 luistert. That should do it I guess.

9000Wp o/w SolarEdge SE6K - Panasonic 5kW bi-bloc - gasloos sinds 17-7-2023


  • jojo70
  • Registratie: September 2000
  • Laatst online: 13-05-2025
Hoe doe ik dat dan?

/etc/int.d/dhcp start ?

otherweb // the other place on the web


Verwijderd

dhcpd --help en pas eventueel het opstartscript aan. Maar dit had je prima zelf kunnen vinden.
[rml]-=[ Nieuw in NOS? Eerst dit lezen! GEEN HELPDESK! ]=-[/rml]

Dit topic is gesloten.