On Dec 2, 2010, at 9:03 PM, Chris Brennan wrote:

> Hi Chris,
> 
> Thanks for your kind help. Now I am running FreeBSD on Virtualbox as a guest 
> OS on Ubuntu. But I got some other problems. I have searched on the Internet 
> but could not find a solution work for me. 
> Now the guest OS does have network access. When using ifconfig, the virtual 
> ethernet card le0 (when using PCI II) or pcn0 (when using PCnet FAST III) has 
> no IP address. I have configured ifconfig_le0/pcn0="DHCP" in /etc/rc.conf. 
> But it still has no network access. In the virtualbox, I choose the 
> networking mode "Bridged" or "NAT", they don't work, either. I found in the 
> virtualbox the name of this virtual network interface is eth0. But when i use 
> ifconfig, there is no eth0 in this operating system. I don't know whether 
> this is the reason.
> Hope you could give me some possible ideas on solutions. I will post a new 
> email on this problem, too.
> Thank you very much. 
> 
> Best,
> W.W.
> 
> Greetings Weihang,
> 
> I've had a simmilar issue, infact. Having one now in my VM that will be 
> fbsd9+zfs (testing stuff for my environment). The only way I can get proper 
> access to the outside world is to allow VMWare or VBox to install the 
> Bridgeing Adapter. In the VM Software, choose the bridging device and then 
> choose any network device the VM offers you (in vBox I have 2 PCINET devices 
> and 3 others, the choice doesn't matter really). When I assigned a static IP 
> to the VM (in my case 192.168.0.20) but it doesn't work (be sure yo set the 
> default route, 'route add gateway <IP>). The only way I had it working was to 
> let DHCP get an IP at the command line w/ 'dhclient -q <DEVICE_NAME>'. 
> Anyway, hope that helps a little.

Hi,

I will try and see whether the same method works for me. If it could not get 
network access. I am afraid I could not use virtual machine and might go back 
to run FreeBSD on real hardware. Thank you very much,

Best,
W.W.



_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to