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 Windows 7 as a guest with Ubuntu Host, the windows got an Internet access via USB modem which is not available for Linux.

I have enabled sharing on Windows network and assigned an IP, netmask and getway to that network and to vboxnet0, the ping was successful but I've got a one problem.

How Ubuntu can detect the guest's network so it can connect to it?

share|improve this question
add comment

1 Answer

Have you try to change default gw?

E.g.

Your host vboxnet0 have ip address 192.168.0.1.

Your Windows(guest) have ip address 192.168.0.2.

Try to set default gateway on the host(Ubuntu) to 192.168.0.2.

# route add default gw 192.168.0.2
share|improve this answer
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.