Re: virtualbox networking setup

2009-02-03 Thread huubs



I'm new to the group, and I'm new to setting up VirtualBox guest hosts.
right now I have a Debian linux box, and I setup Virtual box. I installed 
FreeBSD on it, but I can't seem to get the networking to work. 

FreeBSD choses the wrong networkadapter by default. Modify the
networkadapter to PCnet-PCI II (AM79C970A) , do this BEFORE you actually
install FreeBSD. Choose 'Attached to Host Interface'.
That way you will get a le0 interface in your config.

This works fine with FreeBSD7.0.
However, I could NOT get FreeBSD7.1 to work properly. Using the above
procedure the system crashes during boot (after the line 'point to point
kickstart'). The only way to get FreeBSD7.1 to work is by either booting in
safe mode of by inactivating the nic.
-- 
View this message in context: 
http://www.nabble.com/virtualbox-networking-setup-tp20467278p21814559.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


virtualbox networking setup

2008-11-12 Thread Paul Cartwright
I'm new to the group, and I'm new to setting up VirtualBox guest hosts.
right now I have a Debian linux box, and I setup Virtual box. I installed 
FreeBSD on it, but I can't seem to get the networking to work. I tried to 
rerun sysinstall, but I'm not sure what options to change or why it isn't 
working. I have the command line terminal window up, but in the virtualbox 
window, I cannot copy  past to here, so I can't paste the ifconfig info..
it does say inet 0.0.0.0, but it does say UP, BROADCASTING...

I looked at the usermanual, but I didn't see anything about actually setting 
up the network, using DHCP...
I hae a home network, with a router, gateway 192.168.10.1, and my desktop is 
in that subnet 192.168.10.x
not sure what to do now...

thanks,
I grew up with ATT UNIX SYS V, but it's been a few years:)
-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: virtualbox networking setup

2008-11-12 Thread Michael Powell
Paul Cartwright wrote:

 I'm new to the group, and I'm new to setting up VirtualBox guest hosts.
 right now I have a Debian linux box, and I setup Virtual box. I installed
 FreeBSD on it, but I can't seem to get the networking to work. I tried to
 rerun sysinstall, but I'm not sure what options to change or why it isn't
 working. I have the command line terminal window up, but in the virtualbox
 window, I cannot copy  past to here, so I can't paste the ifconfig info..
 it does say inet 0.0.0.0, but it does say UP, BROADCASTING...
 
 I looked at the usermanual, but I didn't see anything about actually
 setting up the network, using DHCP...
 I hae a home network, with a router, gateway 192.168.10.1, and my desktop
 is in that subnet 192.168.10.x
 not sure what to do now...
 
 thanks,
 I grew up with ATT UNIX SYS V, but it's been a few years:)

Don't know about Debian, and I haven't actually tried FreeBSD as a guest in
VirtualBox, but have used it for other things.

The default install of vbox sets up a logical NAT/DHCP server internally, so
all you would do is use vi to put something like ifconfig_rl0=DHCP in
your /etc/rc.conf. Substitute the according vbox interface. When you
configure your new VM in the OSE the default NIC type will be PCnet-FAST
III (Am79C973) in vbox 2.0.4. This is supported by the pcn driver so your
line would be ifconfig_pcn0=DHCP. 

IF you get the interface to come up examine it with ifconfig -a. I believe
vbox settles for a 10.0.2.0/24 network, but YMMV. You may need to play
around with defaultrouter=something and name services in resolv.conf or
fiddle with dhclient.conf. The best is to ensure that dhclient.conf is
pulling the info from DHCP rather than trying to manually stuff numbers in
places.

Also, if the pcn driver doesn't seem to want to play and if you are using
VirtualBox 2.0.4 there are 2 Intel Nics you can try (not sure if they
are Windows exclusive, or not - will find out in the next few days as I
plan on trying Nexenta this way) instead which are supported by the em
driver (ifconfig_em0=DHCP). This just has to match whatever you set up in
the VM.

-Mike
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]