Adressvergabe in anderen Subnets

L

linuxxx

Grünschnabel
Hallo zusammen,

nach längerem testen und probieren, bekomme ich die Adressvergabe in den einzelnen VLANs hin...
Mein Problem ist, dass die Vergabe der IP-Adressen, in anderen VLANs als das in dem sich der DHCP befindet, nicht funktioniert. Den DHCRelay habe ich auch bereits zum Laufen gebracht und das Interface habe ich auch bereits in dem VLAN eingetragen indem sich der DHCP befindet.

Vielleicht kann sich einer von euch meine Konfigs und Logs ansehen und mir den nötigen Tipp bzw. Befehl sagen.


DHCP-Konfiguration
#dhcp.conf

#==============================================================================================================================================================================================================================================
#Wichtige Befehle im Überblick

#DHCP starten = systemctl start dhcpd
#DHCP neustarten = systemctl restart dhcpd
#DHCP stoppen = systemctl stop dhcpd
#DHCP status = systemctl status dhcpd
#PID_File = vim /var/run/dhcpd.pid
#Leases = vim /var/lib/dhcpd/dhcpd.leases
#Fehler-Logs = dhcpd -d
# tail -f /var/log/messages | grep dhcp
# journalctl -xe | grep dhcp

#DHCRelay.conf = vim /etc/systemd/system/dhcrelay.service
#DHCRelay starten = systemctl start dhcrelay
#DHCRelay neustarten = systemctl restart dhcrelay
#DHCRelay stop = systemctl stop dhcrelay
#DHCRelay status = systemctl status dhcrelay
#==============================================================================================================================================================================================================================================


#Hauptparameter

#one-lease-per-client true;
#get-lease-hostnames true;
#ping-check true;

#Domänenname
option domain-name "Needhelp.de";

#Nameserver IP-Adressen
option domain-name-servers 192.168.141.xxx,192.168.141.xxx,192.168.xxx.xxx;

default-lease-time 10;
max-lease-time 11;
ddns-update-style interim;
authoritative;
log-facility local0;

#Telefonparameter
option option-064 code 064 = ip-address;
option option-065 code 065 = ip-address;

#VLAN1
subnet 192.168.110.0 netmask 255.255.255.0 {

range dynamic-bootp 192.168.110.100 192.168.110.249;
option routers 192.168.110.9;
option subnet-mask 255.255.255.0;
option domain-search "Needhelp.de";
option domain-name-servers 192.168.141.xxx,192.168.141.xxx,192.168.xxx.xxx;
option broadcast-address 192.168.110.255;
default-lease-time 2073600;
}

#VLAN2
subnet 192.168.111.0 netmask 255.255.255.0 {

range dynamic-bootp 192.168.111.100 192.168.111.249;
option routers 192.168.111.9;
option subnet-mask 255.255.255.0;
option domain-search "Needhelp.de";
option domain-name-servers 192.168.141.xxx,192.168.141.xxx,192.168.xxx.xxx;
option broadcast-address 192.168.111.255;
default-lease-time 2073600;
}

#VLAN3
subnet 192.168.112.0 netmask 255.255.255.0 {

range dynamic-bootp 192.168.112.1 192.168.112.249;
option routers 192.168.112.9;
option subnet-mask 255.255.255.0;
option domain-search "Needhelp.de";
option domain-name-servers 192.168.141.xxx,192.168.141.xxx,192.168.xxx.xxx;
option broadcast-address 192.168.112.255;
default-lease-time 2073600;
}

#VLAN4 (Vlan in dem sich der DHCP befindet)
subnet 192.168.113.0 netmask 255.255.255.0 {

range dynamic-bootp 192.168.113.150 192.168.113.249;
option routers 192.168.113.9;
option subnet-mask 255.255.255.0;
option domain-search "Needhelp.de";
option domain-name-servers 192.168.141.xxx,192.168.141.xxx,192.168.xxx.xxx;
option broadcast-address 192.168.113.255;
default-lease-time 2073600;
interface em1;
}

Fehler-Log

Jul 4 15:52:52 pc1697 dhcpd: DHCPACK on 192.168.113.78 to b8:ca:3a:ac:3e:41 via em1
Jul 4 15:52:52 pc1697 dhcpd: Unable to add reverse map from 78.113.168.192.in-addr.arpa. to PC2019.needhelp.de: not found
Jul 4 15:52:57 pc1697 dhcpd: DHCPREQUEST for 192.168.113.78 from b8:ca:3a:ac:3e:41 via em1
Jul 4 15:52:57 pc1697 dhcpd: DHCPACK on 192.168.113.78 to b8:ca:3a:ac:3e:41 via em1
Jul 4 15:52:57 pc1697 dhcpd: Unable to add reverse map from 78.113.168.192.in-addr.arpa. to
PC2019.needhelp.de: not found
Jul 4 15:53:02 pc1697 dhcpd: DHCPREQUEST for 192.168.113.78 from b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:02 pc1697 dhcpd: DHCPACK on 192.168.113.78 to b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:02 pc1697 dhcpd: Unable to add reverse map from 78.113.168.192.in-addr.arpa. to PC2019.needhelp.de: not found
Jul 4 15:53:07 pc1697 dhcpd: DHCPREQUEST for 192.168.113.78 from b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:07 pc1697 dhcpd: DHCPACK on 192.168.113.78 to b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:07 pc1697 dhcpd: Unable to add reverse map from 78.113.168.192.in-addr.arpa. to PC2019.needhelp.de: not found
Jul 4 15:53:12 pc1697 dhcpd: DHCPREQUEST for 192.168.113.78 from b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:12 pc1697 dhcpd: DHCPACK on 192.168.113.78 to b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:12 pc1697 dhcpd: Unable to add reverse map from 78.113.168.192.in-addr.arpa. to PC2019.needhelp.de: not found
Jul 4 15:53:17 pc1697 dhcpd: DHCPREQUEST for 192.168.113.78 from b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:17 pc1697 dhcpd: DHCPACK on 192.168.113.78 to b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:17 pc1697 dhcpd: Unable to add reverse map from 78.113.168.192.in-addr.arpa. to PC2019.needhelp.de: not found
Jul 4 15:53:22 pc1697 dhcpd: DHCPREQUEST for 192.168.113.78 from b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:22 pc1697 dhcpd: DHCPACK on 192.168.113.78 to b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:22 pc1697 dhcpd: Unable to add reverse map from 78.113.168.192.in-addr.arpa. to PC2019.needhelp.de: not found
Jul 4 15:53:27 pc1697 dhcpd: DHCPREQUEST for 192.168.113.78 from b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:27 pc1697 dhcpd: DHCPACK on 192.168.113.78 to b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:27 pc1697 dhcpd: Unable to add reverse map from 78.113.168.192.in-addr.arpa. to PC2019.needhelp.de: not found
Jul 4 15:53:32 pc1697 dhcpd: DHCPREQUEST for 192.168.113.78 from b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:32 pc1697 dhcpd: DHCPACK on 192.168.113.78 to b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:32 pc1697 dhcpd: Unable to add reverse map from 78.113.168.192.in-addr.arpa. to PC2019.needhelp.de: not found
Jul 4 15:53:37 pc1697 dhcpd: DHCPREQUEST for 192.168.113.78 from b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:37 pc1697 dhcpd: DHCPACK on 192.168.113.78 to b8:ca:3a:ac:3e:41 via em1
Jul 4 15:53:37 pc1697 dhcpd: Unable to add reverse map from 78.113.168.192.in-addr.arpa. to

DHCRelay

[Unit]
Description=DHCP Relay Agent Daemon
Documentation=man:dhcrelay(8)
Wants=network-online.target
After=network-online.target

[Service]
Type=notify
ExecStart=/usr/sbin/dhcrelay -d --no-pid 192.168.113.54 -i em1

[Install]
WantedBy=multi-user.target
~
 

Ähnliche Themen

Nginx als Reverse Proxy für Nextcloud und Emby

Samba 4.1.9 mit Bind 9.9.4

Debian Gateway

Windows clients können nicht mehr auf lange laufendes System zugreifen

OpenVPN - Server kann clients nicht erreichen.

Zurück
Oben