You are not logged in.

#1 2008-01-08 20:17:17

twhayes
Member
Registered: 2007-10-09
Posts: 27

VirtualBox and Bridged Network

I've set up VirtualBox to run WinXP as a guest with Arch as the host and would like to set up my network so that the guest WinXP shows up as another computer on the LAN.

I followed the instructions for building a bridge and got that to work fine as far as having the guest join the network.  Another Windows box on the network can see the guest.  But, when I set up the bridge and launch VirtualBox, I can no longer access the Arch host by name.  I can ping both the host and the guest from other machines on the LAN and I can access the Arch host using it's IP address, but not by name.

Nmblookup doesn't find the host (called dt2-linux with IP of 192.168.1.200)

# nmblookup home
querying home on 192.168.1.255
192.168.1.210 home<00>  ## the winxp guest running in VirtualBox on Arch
192.168.1.100 home<00> ## another WinXP box on the LAN

But, smbclient does find the appropriate shares on dt2-linux

 smbclient -L dt2-linux
Password:
Domain=[DT2-LINUX] OS=[Unix] Server=[Samba 3.0.28]

        Sharename       Type      Comment
        ---------       ----      -------
        DT2-Data        Disk      DT2 Data
        IPC$            IPC       IPC Service (Samba 3.0.28)
Domain=[DT2-LINUX] OS=[Unix] Server=[Samba 3.0.28]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        HOME                 DT1

Any ideas what is causing this?  I'm not sure if it's a basic network problem or perhaps a Samba issue.  Results of ifconfig, /etc/hosts/ and /etc/samba/smb.conf are below just in case that would be useful. 

Thanks in advance.  TWH

$ ifconfig
br0       Link encap:Ethernet  HWaddr 00:40:05:10:D7:80
          inet addr:192.168.1.200  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:23581 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18473 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2017371 (1.9 Mb)  TX bytes:1312188 (1.2 Mb)

eth0      Link encap:Ethernet  HWaddr 00:40:05:10:D7:80
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:312150 errors:202 dropped:0 overruns:0 frame:0
          TX packets:158136 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:174354031 (166.2 Mb)  TX bytes:11201884 (10.6 Mb)
          Interrupt:17 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2407 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2407 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:286503 (279.7 Kb)  TX bytes:286503 (279.7 Kb)

vbox0     Link encap:Ethernet  HWaddr 00:FF:16:4C:E0:20
          inet addr:192.168.1.210  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:897 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6208 errors:0 dropped:225 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:124931 (122.0 Kb)  TX bytes:972962 (950.1 Kb)
#
 /etc/hosts: static lookup table for host names
#

#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1       DT2-Linux.localdomain.net  localhost.localdomain  localhost DT2-Linux

192.168.1.200   DT2-Linux  DT2-Linux.localdomain.net
192.168.1.210   VBox-WinXP

192.168.1.100   DT1
192.168.1.150   LT1
192.168.1.250   LT2-Linux
192.168.1.77    jess-linux
# cat /etc/samba/smb.conf
# created by twh on 10/12 - basic setup to share with rest of PCs on home LAN

[global]
workgroup = home
wins support = no
preferred master = no
local master = no
name resolve order = wins hosts bcast
socket options = TCP_NODELAY

[DT2-Data]
comment = DT2 Data
path = /home/tim/data
valid users = tim
read only = no

Offline

Board footer

Powered by FluxBB