[Users] Samba inside Container

Andy Loughran andy at zrmt.com
Fri Sep 26 13:05:16 EDT 2008


Guys,

I'm trying to run a samba server inside a virtual machine... however,
I'm hitting a brick wall when it comes to the networking setup.

I get the following debug output:

[2008/09/25 08:37:05, 3] lib/interface.c:add_interface(65)
  not adding non-broadcast interface 192.168.6.100
[2008/09/25 08:37:05, 2] lib/interface.c:add_interface(81)
  added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0

ifconfig shows:



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:228 errors:0 dropped:0 overruns:0 frame:0
          TX packets:228 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:19397 (18.9 KiB)  TX bytes:19397 (18.9 KiB)

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:24231 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:35267642 (33.6 MiB)  TX bytes:791047 (772.5 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:192.168.6.100  P-t-P:192.168.6.100
Bcast:192.168.6.100  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

Any ideas on how to get this to work?

... (this was originally posted a few days ago on the wrong list)...

Do I require the use of veth, rather than venet to have a samba server on a CTID (with access to the host's network).. using something like a bridge.

Regards,

Andy
vbox-users mailing list
vbox-users at virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-users



More information about the Users mailing list