Possibly OT: networking under VirtualBox
Karl Auer
kauer at biplane.com.au
Mon Nov 1 13:25:05 UTC 2010
On Thu, Oct 28, 2010 at 12:08 AM, Mark <mhullrich at gmail.com> wrote:
> Before I used NAT, I was using bridged mode, but since that
> gives the guest the same IP address shared with the host, that
> makes the remote mounting of the samba drives impossible.
Um - if you use bridged mode, your virtual interface can and should have
a different address than the host's interface. Certainly this has always
been the case with my VB guests. For example, if using DHCP, they get
their own IP address from the server. If using IPv6, they autoconfigure
their own link-local address and their own global unicast address.
Here is the ethernet interface on an XP virtual I just started (some
line wrap might happen, sorry):
Connection-specific DNS Suffix . : biplane.com.au
IP Address. . . . . . . . . . . . : 192.168.1.202
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IP Address. . . . . . . . . . . . : 2406:a000:0:100:2040:4677:2502:cc10
IP Address. . . . . . . . . . . . : 2406:a000:0:100:a00:27ff:fe43:6ddc
IP Address. . . . . . . . . . . . : fe80::a00:27ff:fe43:6ddc%6
Default Gateway . . . . . . . . . : 192.168.1.1
fe80::209:6bff:fe30:3e92%6
And here is the network interface on the Ubuntu 9.04 host:
wlan0 Link encap:Ethernet HWaddr 00:22:fb:54:9b:80
inet addr:192.168.1.201 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2406:a000:0:100:222:fbff:fe54:9b80/64 Scope:Global
inet6 addr: fe80::222:fbff:fe54:9b80/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:208552 errors:0 dropped:0 overruns:0 frame:0
TX packets:181322 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:240351147 (240.3 MB) TX bytes:82259449 (82.2 MB)
Note the different IPv4 and IPv6 addresses. The MAC addresses differ
too.
Regards, K.
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h)
http://www.biplane.com.au/kauer/ +61-428-957160 (mob)
GPG fingerprint: B386 7819 B227 2961 8301 C5A9 2EBC 754B CD97 0156
Old fingerprint: 07F3 1DF9 9D45 8BCD 7DD5 00CE 4A44 6A03 F43A 7DEF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101102/b061f9a9/attachment.sig>
More information about the ubuntu-users
mailing list