[Users] Samba server using veth

Frank frank at si.ct.upc.edu
Tue Dec 2 03:54:51 EST 2008


Hi,
I'm trying to set up a VE as a Samba PDC Server ( template is a Centos 5).
As veth documetation says:

       "/veth/ 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."

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
device in VE like this:

   [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


Now, the interface looks this way:

   eth0      Link encap:Ethernet  HWaddr 00:18:51:EC:5C:E8 
               inet addr:XX.XX.XX.XX  Bcast:0.0.0.0  Mask:255.255.255.255

But if we try to start nmbd daemon we get the following messages:

[2008/12/01 13:49:04, 3] nmbd/nmbd.c:open_sockets(615)
  open_sockets: Broadcast sockets opened.
[2008/12/01 13:49:04, 3] lib/interface.c:add_interface(65)
  not adding non-broadcast interface XX.XX.XX.XX
[2008/12/01 13:49:04, 0] lib/interface.c:load_interfaces(229)
  WARNING: no network interfaces found
[2008/12/01 13:49:04, 0] nmbd/nmbd_subnetdb.c:create_subnets(190)
  create_subnets: No local interfaces !
[2008/12/01 13:49:04, 0] nmbd/nmbd_subnetdb.c:create_subnets(191)
  create_subnets: Waiting for an interface to appear ...

The problem seems related to network mask which is 255.255.255.255
So, what can we do? What about changing netmask to 255.255.255.0? How 
would be the gateway then?

Any help will be welcome.

Regards.
Frank



-- 
Aquest missatge ha estat analitzat per MailScanner
a la cerca de virus i d'altres continguts perillosos,
i es considera que està net.
For all your IT requirements visit: http://www.transtec.co.uk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20081202/e11a37fb/attachment.html


More information about the Users mailing list