gros souci proxmox avec un dhcp

jonathan_AR

New Member
Oct 25, 2013
4
0
1
Bonjour,

Je revient vers vous une seconde fois, une fois n'est pas coutume ;) comme on dit chez nous, j'ai un souci avec mon DHCP quand je le lance j'ai :

Code:
[pxe@SRV-PXE dhcp]# service dhcpd restart
Starting dhcpd:                                            [FAILED]

Mon DHCP est une machine virtuel en mode terminal (VT) voilà ce que j'ai configuré pour mon dhcpd.conf:

Code:
#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample
#   see 'man 5 dhcpd.conf'
#

ddns-update-style interim;
ignore client-updates;


#---------------------#
# Autorisation du PXE #
#---------------------#

#allow bootp;
#allow booting;

#---------------------------#
# Definition du serveur DNS #
#---------------------------#

#option domain-name "SRV-PXE";
# option domain-name-servers 192.168.0.254;
default-lease-time 21600;
max-lease-time 43200;

#---------------------------#
# Ce serveur fait authorise #
#---------------------------#
authoritative;

#-------------------------------#
# Plage d'adresses pour le DHCP #
#-------------------------------#

subnet 192.168.0.0 netmask 255.255.255.0 {
        range 192.168.0.1 192.168.0.253;
        option routers 192.168.0.254;
        option domain-name "SRV-PXE";
}

#------------------------------#
# Configuration du serveur PXE #
#------------------------------#

#server-name "SRV-PXE";
#next-server 192.168.0.254;

J'ai aussi modifié l'interphase d'écoute pour le DHCP:

Code:
# Command line options here
DHCPDARGS="venet0:1";


Mes configurations de carte réseau:


Code:
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  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:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:1310 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1015 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:104586 (102.1 KiB)  TX bytes:132181 (129.0 KiB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.10.10.47  P-t-P:10.10.10.47  Bcast:10.10.10.47  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

venet0:1  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:192.168.0.254  P-t-P:192.168.0.254  Bcast:192.168.0.254  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

J'ai rajouter une carte réseau virtuel aillant comme ip 192.168.0.254


Avec tous ces paramètres qui me semble bon j'ai été vérifié dans les logs, voici ce que cela m'affiche:



Code:
Oct 28 10:39:47 SRV-PXE dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Oct 28 10:39:47 SRV-PXE dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Oct 28 10:39:47 SRV-PXE dhcpd: All rights reserved.
Oct 28 10:39:47 SRV-PXE dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Oct 28 10:39:47 SRV-PXE dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Oct 28 10:39:47 SRV-PXE dhcpd: Wrote 0 leases to leases file.

Pas d'erreur précise juste un :
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file


Comment puis-je y remédier.

Cordialement
Jonathan
 
this is an English only!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!