DHCP Server - falsche Subnetz-Adressen

Hi Leute,
bin am Verzweifeln…
Seit ca. 1 Woche läuft Ipfire ohne Probleme, habe sogar das Gefühl bekommen, dass das Netzwerk sogar schneller geworden ist gegenüber vorherigem Securepoint.

Gestern ist das Netzwerk zusammen gebrochen - beim spielen mit VLANs habe Schleife gemacht .

Nach der Fehlerbehebung alle neu gestartet und bekomme seit dem Geister - also manche Clients erhalte Adressen aus fremden Subnetz.
Hier ist meine Config:

und hier ist Log für das falsche Client:

16:23:55 dhcpd: DHCPREQUEST for 192.168.10.192 from b0:55:08:ea:24:79 via green0: wrong network.
16:23:55 dhcpd: DHCPNAK on 192.168.10.192 to b0:55:08:ea:24:79 via green0
16:23:55 dhcpd: DHCPREQUEST for 192.168.10.192 from b0:55:08:ea:24:79 via green0: wrong network.
16:23:55 dhcpd: DHCPNAK on 192.168.10.192 to b0:55:08:ea:24:79 via green0
16:23:55 dhcpd: DHCPDISCOVER from b0:55:08:ea:24:79 via green0
16:23:55 dhcpd: DHCPREQUEST for 192.168.10.192 (192.168.100.100) from b0:55:08:ea:24:79 via green0: wrong network.
16:23:55 dhcpd: DHCPNAK on 192.168.10.192 to b0:55:08:ea:24:79 via green0

ich keine keine anderen DHCP Server im Netzwerk!

Hi Anton,

first: Please post in English only.

Second: Did you configure VLANs on IPFire? If so, what does this configuration look
like? If not: What is the VLAN configuration of your switch/router/… ?

Thanks, and best regards,
Peter Müller

Thank you Peter,

VLAN are configured as

but i have no problems with blue dhcp, only green

Hi,

could you please post the output of ifconfig here?

Thanks, and best regards,
Peter Müller

root@ipfire ~]# ifconfig
blue0 Link encap:Ethernet HWaddr 02:C6:EA:2F:DE:D1
inet addr:192.168.99.1 Bcast:192.168.99.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:387675 errors:0 dropped:3 overruns:0 frame:0
TX packets:753294 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42157327 (40.2 Mb) TX bytes:983795929 (938.2 Mb)

green0 Link encap:Ethernet HWaddr 84:39:BE:67:B6:17
inet addr:192.168.100.100 Bcast:192.168.103.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:63514186 errors:0 dropped:5 overruns:0 frame:0
TX packets:63259250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:66149290807 (63084.8 Mb) TX bytes:66068433135 (63007.7 Mb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:100023 errors:0 dropped:0 overruns:0 frame:0
TX packets:100023 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5557660 (5.3 Mb) TX bytes:5557660 (5.3 Mb)

orange0 Link encap:Ethernet HWaddr 02:7D:0F:2A:47:8F
inet addr:192.168.80.1 Bcast:192.168.80.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12725245 errors:0 dropped:0 overruns:0 frame:0
TX packets:17286757 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:37983387209 (36223.7 Mb) TX bytes:18498108067 (17641.1 Mb)

red0 Link encap:Ethernet HWaddr 02:B1:D8:91:76:32
inet addr:192.168.60.10 Bcast:192.168.60.255 Mask:255.255.255.0
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:15127882 errors:0 dropped:12 overruns:0 frame:0
TX packets:11879017 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24460733220 (23327.5 Mb) TX bytes:2331954959 (2223.9 Mb)

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.250.1 P-t-P:192.168.250.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 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)

tun1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.90.1 P-t-P:192.168.90.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:40581 errors:0 dropped:0 overruns:0 frame:0
TX packets:54960 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:14877773 (14.1 Mb) TX bytes:42353968 (40.3 Mb)

[root@ipfire ~]#

maybe you can fix the green to be 192.168.100.1 instead of 100
set the green range 192.168.100.10-250
your primary DNS is 192.168.100.1

I think the question is, why client b0:55:08:ea:24:79 insists in getting 192.168.10.192 ( an IP of a net nowhere defined ).

Bernhard, this ist my Problem!!!

Thats wrong or? :
16:23:55 dhcpd: DHCPREQUEST for 192.168.10.192 (192.168.100.100) from b0:55:08:ea:24:79 via green0: wrong network

How is this client configured?

Simple DHCP Client. When i Set static IP and again DHCP , become Client Same IP x.x.10.x

The client doesn’t get the IP out of the 192.168.10.0/255.255.255.0 net. The DHCP server responds with a NAK. But the client tries further. That is the fault. And it is located in client.

the problem is solved by itself, no idea why