How to allow external access for vms

asked 2018-06-06 06:07:06 -0500

XP_2600 gravatar image

I have an AIO installation (QUEENS) followed the DRO rdoproject installation, everything running fine, i created an internal network from Horizon with the following information: int-n int-sub-n 20.0.0.0/24 and created an external network with the following information: ext-n
ext-sub-n 192.168.1.0/24

The host itself running on ip address : 192.168.1.4 with a configured bridge:

cat ifcfg-br-ex

TYPE="OVSBridge" DEVICE=br-ex BOOTPROTO="static" DEVICETYPE=ovs ONBOOT="yes" IPADDR0="192.168.1.4" PREFIX="24" GATEWAY="192.168.1.1" DNS1="8.8.8.8" PEERDNS=yes USERCTL=yes

cat ifcfg-eth0 NAME=eth0 DEVICE=eth0 BOOTPROTO="none" TYPE="OVSPort" OVS_BRIDGE=br-ex ONBOOT="yes" DEVICETYPE=ovs

When i run openstack network agent list i get the following: openstack network agent list +--------------------------------------+--------------------+-------------+-------------------+-------+-------+---------------------------+ | ID | Agent Type | Host | Availability Zone | Alive | State | Binary | +--------------------------------------+--------------------+-------------+-------------------+-------+-------+---------------------------+ | af643816-1f76-409d-8c48-fd43659a3e7f | DHCP agent | op.st.local | nova | :-) | UP | neutron-dhcp-agent | | d198ed5c-1467-4eae-8daf-86bd846dafc8 | Open vSwitch agent | op.st.local | None | :-) | UP | neutron-openvswitch-agent | | d21e87ca-740b-49dd-8d65-8e290b6efc65 | L3 agent | op.st.local | nova | :-) | UP | neutron-l3-agent | | d8630638-3f46-41ff-be40-596f4579d617 | Metering agent | op.st.local | None | :-) | UP | neutron-metering-agent | | f701cca6-14a3-4956-8d3c-b98723c05e60 | Metadata agent | op.st.local | None | :-) | UP | neutron-metadata-agent |

i created two instances, the two instances acquired ip address successfully from the 20.0.0.0/24 range and each instance can ping the other normally, i just want them to be able to interact with the host and with the external world, simply i want to router the 20.0.0.0/24 with the 192.168.1.0/24 range of the host computer, how can i do so ? thanks.

edit retag flag offensive close merge delete