Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I wanted to install ubuntu server on virtualbox. So I have it, with apache, mysql, openssh etc. On my Win7 I created a bridge between my wifi connection, and virtualbox host only network, and I choose it in ubuntu network settings. In /etc/network/interfaces I set eth0 as static:

auto eth0
iface eth0 inet static
address 192.168.1.111
netmask 255.255.255.0
network 192.168.1.255
gateway 192.168.1.100

My laptop ip is 192.168.102, router ip is 192.168.1.100.

How I can fix it?

share|improve this question

migrated from stackoverflow.com Aug 25 '12 at 17:26

This question came from our site for professional and enthusiast programmers.

    
Two hints for asking for answers on StackOverflow: 1. Phrase your question as a question (with a question mark at the end) (you've done that, congratulations). 2. Try to avoid it, this, this problem, but be - if it is possible in short - as specific as possible. –  moose Aug 25 '12 at 9:04
    
    
Thanks for hints, in future i will try to avoid that, what you wrote. –  pierzu Aug 25 '12 at 10:22
    
That not solve my problem. I want to access server outside my lan. As i wrote, i created bridge connection. –  pierzu Aug 25 '12 at 11:12

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.