Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have few VMs with Ubuntu 12.04 nad 12.10 and I'm using them in different networks (at home and at work). At work I'm using wireless connection and at home I have cable.

I'm using bridged mode and ubutnu can't handle it very well, because sometimes VM gets IP address, but I can't ping anything in the internet or even in my local network network. Both cards support bridged mode. Host is Windows 7 64bts. VMs are also 64 bits. Sometimes when I'll reboot VM, everything seems ok.

Any tips?

Edit:

  1. I'm starting Ubutnu VM at work and internet connection is working. Everything is fine. Bridged adapter is wireless card.
  2. I'm going home and launch this same machine, but before that I change bridge adapter to my cable network card.
  3. VM gets IP address, everything seems ok, besides network is not working. I can't even ping my router and I got IP from it (DHCP).
share|improve this question
    
Your question is very unclear, take your time to tell us a bit more and give us more details about what works and what doesn't. –  guntbert Jan 13 '13 at 14:05
    
See if it works with the virtual network cards configured as NAT instead of bridged –  jackweirdy Jan 13 '13 at 14:27
    
NAT is working like a charm. There are only problems with bridged mode. It's really weird. I get IP from my router and I see this host on the DHCP client lists on the router, but VM can;t ping that router. It looks like a problem with VBox bridged mode or maybe something with mac. I don't know exactly where should I find any debug/log info. –  Simon Jan 13 '13 at 14:28
add comment

1 Answer 1

The question is simple,

Ubuntu 12.10 Sun Virtual Box can not get network connection if set up to use bridged adaptor. I have the same issue. NAT connection work fine. I need Bridged or go back to ubuntu 10.10 where this all worked...

Thanks

share|improve this answer
    
Nah it's not that. The problem is that in one network I can use bridged mode and in the another one I can't. VM gets ip address properly. I can see that client on my router's website, but I can't ping anything nor router nor other devices in the same network. –  Simon Jan 27 '13 at 20:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.