Hello,
I installed on KVM - windows OS. How to install/configure local DHCP for KVM windows client?
I want to reinstall OS and setup network automatic (now I have set IP,netmask, GW... from VNC)
I install isc-dhcp-server but win not found dhcp server (ipconfig /renew), windows found router dhcp (I testing on home network)
Server IP: 192.168.0.100
GW 192.168.0.1
I want for KVM windows IP subnet: 192.168.1.0/24 and with iptable routing from 192.168.1.0 to 192.168.0.0
dhcp.conf:
ddns-update-style none;
option domain-name-servers 145.253.2.75, 193.174.32.18;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.200 192.168.1.229;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}
Error:
# cat /var/log/syslog
Dec 3 19:53:47 i3 dhcpd: Wrote 0 leases to leases file.
Dec 3 19:53:47 i3 dhcpd:
Dec 3 19:53:47 i3 dhcpd: No subnet declaration for vmbr0 (192.168.0.100).
Dec 3 19:53:47 i3 dhcpd: ** Ignoring requests on vmbr0. If this is not what
Dec 3 19:53:47 i3 dhcpd: you want, please write a subnet declaration
Dec 3 19:53:47 i3 dhcpd: in your dhcpd.conf file for the network segment
Dec 3 19:53:47 i3 dhcpd: to which interface vmbr0 is attached. **
Dec 3 19:53:47 i3 dhcpd:
Dec 3 19:53:47 i3 dhcpd:
Dec 3 19:53:47 i3 dhcpd: Not configured to listen on any interfaces!
Maybe you can help?
I installed on KVM - windows OS. How to install/configure local DHCP for KVM windows client?
I want to reinstall OS and setup network automatic (now I have set IP,netmask, GW... from VNC)
I install isc-dhcp-server but win not found dhcp server (ipconfig /renew), windows found router dhcp (I testing on home network)
Server IP: 192.168.0.100
GW 192.168.0.1
I want for KVM windows IP subnet: 192.168.1.0/24 and with iptable routing from 192.168.1.0 to 192.168.0.0
dhcp.conf:
ddns-update-style none;
option domain-name-servers 145.253.2.75, 193.174.32.18;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.200 192.168.1.229;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}
Error:
# cat /var/log/syslog
Dec 3 19:53:47 i3 dhcpd: Wrote 0 leases to leases file.
Dec 3 19:53:47 i3 dhcpd:
Dec 3 19:53:47 i3 dhcpd: No subnet declaration for vmbr0 (192.168.0.100).
Dec 3 19:53:47 i3 dhcpd: ** Ignoring requests on vmbr0. If this is not what
Dec 3 19:53:47 i3 dhcpd: you want, please write a subnet declaration
Dec 3 19:53:47 i3 dhcpd: in your dhcpd.conf file for the network segment
Dec 3 19:53:47 i3 dhcpd: to which interface vmbr0 is attached. **
Dec 3 19:53:47 i3 dhcpd:
Dec 3 19:53:47 i3 dhcpd:
Dec 3 19:53:47 i3 dhcpd: Not configured to listen on any interfaces!
Maybe you can help?