Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. Install the openstack with the devstack as per the instruction given in the openstack site. 2.Delete the default networks public and private. 3.Create the network private and public as per the step given below.(10.0.15.0 as private network i have taken this is going to eb the externalan network were the openstack host is present)

    project:admin project > network topology > create a network > network name : private-net enable admin state: yes shared :no create subnet:yes next >

    subnet name : private-net-subnet Network Address Source : enter network address manually Network Address : 192.168.11.0/24 IP Version : IPV4 Gateway IP : 192.168.11.1 Disable Gateway : No next >

    Enable DHCP : yes Allocation Pools : 192.168.11.120,192.168.11.140 DNS Name Servers : 8.8.8.8 Host Routes :

    admin > networks > Create Network > Name : public-net Project : demo Provider Network Type : Flat Physical Network : public Enable Admin State : yes Shared : yes External Network : yes

    public-net > Create subnet > Subnet Name : public-net-subnet Network Address Source : enter network address manually Network Address : 10.0.15.0/24 IP Version : IPV4 Gateway IP : 10.0.15.1 Disable Gateway : No next >

    Enable DHCP : yes Allocation Pools : 10.0.15.120,10.0.15.140 DNS Name Servers : 10.0.9.10 Host Routes :

    admin > networks > Routers > Create Router > Router Name : router 1 Enable Admin State : yes External Network : public-net create Router >

    project > networks > Routers > router 1 > interfaces > add interface > subnet : private-net ip address : submit >

4.Add the ICMP and TCP protocol in the security group. 5. Make the interface card promiscus mode Perform the configuration in cmd prompt

sudo ifconfig br-ex promisc up
sudo ovs-vsctl add-port br-ex enp0s8
sudo ifconfig br-ex 10.0.15.20 netmask 255.255.255.0
systemctl restart networking.service