<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
I'm trying to set up a VE as a Samba PDC Server ( template is a Centos
5).<br>
As veth documetation says:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "<i>veth</i> allows broadcasts in CT, so you can use even a DHCP
server
inside a CT, or a samba server with domain broadcasts or other such
stuff."<br>
<br>
So I've tried to use this kind of virtual ethernet device. I've
followed the sample configuration at OpenVZ site. One of the steps is
to configure the<br>
device in VE like this:<br>
<pre>   [host-node]# vzctl enter 101
   [ve-101]# /sbin/ifconfig eth0 0
   [ve-101]# /sbin/ip addr add XX.XX.XX.XX dev eth0
   [ve-101]# /sbin/ip route add default dev eth0

</pre>
Now, the interface looks this way:<br>
<br>
&nbsp;&nbsp; eth0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link encap:Ethernet&nbsp; HWaddr 00:18:51:EC:5C:E8&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet addr:XX.XX.XX.XX&nbsp; Bcast:0.0.0.0&nbsp;
Mask:255.255.255.255<br>
<br>
But if we try to start nmbd daemon we get the following messages:<br>
<br>
[2008/12/01 13:49:04, 3] nmbd/nmbd.c:open_sockets(615)<br>
&nbsp; open_sockets: Broadcast sockets opened.<br>
[2008/12/01 13:49:04, 3] lib/interface.c:add_interface(65)<br>
&nbsp; not adding non-broadcast interface XX.XX.XX.XX<br>
[2008/12/01 13:49:04, 0] lib/interface.c:load_interfaces(229)<br>
&nbsp; WARNING: no network interfaces found<br>
[2008/12/01 13:49:04, 0] nmbd/nmbd_subnetdb.c:create_subnets(190)<br>
&nbsp; create_subnets: No local interfaces !<br>
[2008/12/01 13:49:04, 0] nmbd/nmbd_subnetdb.c:create_subnets(191)<br>
&nbsp; create_subnets: Waiting for an interface to appear ...<br>
<br>
The problem seems related to network mask which is 255.255.255.255<br>
So, what can we do? What about changing netmask to 255.255.255.0? How
would be the gateway then?<br>
<br>
Any help will be welcome.<br>
<br>
Regards.<br>
Frank<br>
<br>
<pre></pre>
<br>
<br />-- 
<br />Aquest missatge ha estat analitzat per
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>
<br />a la cerca de virus i d'altres continguts perillosos,
<br />i es considera que est&aacute; net.
<br />MailScanner agraeix a <a href="http://www.transtec.co.uk/">transtec Computers</a> pel seu suport.
</body>
</html>