Ask Your Question
0

virtualbox floating ip addresses

asked 2016-05-02 10:30:57 -0600

melbogia gravatar image

updated 2016-05-02 10:32:26 -0600

At home I have installed openstack on virtual box using the mirantis virtual box iso and the associated scripts. The following networks were created

First Ethernet adapter:
IPv4 Address: 10.20.0.1
IPv4 Network mask: 255.255.255.0

Second Ethernet adapter:
IPv4 Address: 172.16.0.254
IPv4 Network mask: 255.255.255.0

Third Ethernet adapter:
IPv4 Address: 172.16.1.1
IPv4 Network mask: 255.255.255.0

The floating IP addresses that get assigned to VMs are 176.16.x.x but my home network is 192.168.1.0/24 so I still cannot ping the VMs from another machine on the network. What do I need to change to get the floating IP addresses in that range, i.e., 192.168.1.0/24? In the script is this the line I need to change to be able to get floating IP addresses in 192.168.1.0/24 https://github.com/openstack/fuel-virtualbox/blob/master/config.sh#L40? (https://github.com/openstack/fuel-vir...) I tried changing it but that didn't work as expected, and the network connectivity check fails. Can someone help me figure out how to set up the host-only adapters and/or the config.sh script so that the floating IP addresses are in 192.168.1.0/24 range?

edit: sorry about the github link. It appears I don't have enough karma to post links heh.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-02 16:16:28 -0600

No. The Floating IP addresses are RFC 1918 - Non-routable outside their own subnet.

edit flag offensive delete link more

Comments

Isn't 192.168.1.0/24 still RFC 1918? Actually, I read that floating IPs do not have to be private addresses. routable addresses will work just as well.

melbogia gravatar imagemelbogia ( 2016-05-02 19:20:27 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-05-02 10:30:57 -0600

Seen: 448 times

Last updated: May 02 '16