Alright so here is what I see.  You have you are trying to setup your dhcpd on 
a virtual interface and not a real interface.  That will not work, you need ARP 
to have dhcpd working.  Look at this:

http://forum.openvz.org/index.php?t=msg&goto=33837&;

This will help you likely.  

Basically what your dhcp server is trying to do is run not on venet0:0 but on 
venet0 for which you do not have subnet defined.  You likely can test that by 
defining the subnet of your vnet0.  It may startup for you (but obviously won't 
do anything useful).  You will likely have to create a bridged interface and 
put that.

I suppose you can try to include the venet0 subnet in your dhcpd.conf and it 
may work, I never tested it that way, but it be worth a shot just to see.



Marek Dohojda
720-308-8622

77 68 6f 20 69 73 20 4a 6f 68 6e 20 47 61 6c 74 3f 0d 0a 


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Frank
Sent: Tuesday, July 12, 2011 12:59 PM
To: cobbler mailing list
Subject: RE: *paid install help?*: Cobbler on a OpenVZ container / "dhcpd" 
failing

>  /etc/sysconfig/dhcpd

# Command line options here
DHCPDARGS=



>your ifconfig printout


[root@cobbler sysconfig]# ifconfig
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:20670 errors:0 dropped:0 overruns:0 frame:0
           TX packets:20670 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:2331576 (2.2 MiB)  TX bytes:2331576 (2.2 MiB)

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:18501 errors:0 dropped:0 overruns:0 frame:0
           TX packets:15557 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:1913257 (1.8 MiB)  TX bytes:3754172 (3.5 MiB)

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

=======
(NOTE:  The IP has been changed from actual output.)

I believe instead of "lo" there should be an "eth1" -- can see that 
this is the case for the *old* Cobbler VPS that I migrated to OpenVZ, 
where dhcpd runs but where there is another problem.

Frank
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to