Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Host OS has one nic with 4 static IP address x.x.x.250-x.x.x.254 I have installed Ubuntu as a Guest OS with bridged networking. I would like it to have static ip x.x.x.255

As I mentioned earlier, host os has ip set manually. I set ip manually for guest os (ubuntu server) but it doesn't seem to be able to ping any ip.

Your help is appreciated

Edit: Host OS does not use IP x.x.x.255

share|improve this question

2 Answers 2

up vote 2 down vote accepted

.255 is the broadcast address for your network if your subnet mask is 24 bits (255.255.255.0) and cannot be used for a host address.

You'll have to use an IP less than .250 for your VBox instance.

share|improve this answer
    
This. I missed it and couldnt figure out. Thanks –  jM2.me Jan 14 '12 at 5:00

The issues might be lies on the gateway ip you have used in the guest os.

Here is the reference link to configure the static ip in virtualbox

share|improve this answer
    
If I am not mistaken, gateway should be same on host os and guest os. In my case it is x.x.x.249 and is set on host os and guest os –  jM2.me Jan 14 '12 at 4:56
    
You can create an virtual network interface using the first static ip in the host os and Use that created virtual interface ip as the gateway in the guest os. It will surely works. –  Mughil Jan 14 '12 at 5:03

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.