Ask Your Question

Revision history [back]

I have mentioned the routing table here...since i couldnt paste in comment section and question was under previous moderation @Bernd Bausch

routing table of controller:----------

   [root@controller openstackusr]# route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         10.65.156.1     0.0.0.0         UG    95     0        0 brqcff3d573-e4
    10.65.156.0     0.0.0.0         255.255.254.0   U     0      0        0 brqcff3d573-e4
    192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

Routing table of compute is:-----------

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.65.156.1     0.0.0.0         UG    98     0        0 ens192
10.65.156.0     0.0.0.0         255.255.254.0   U     0      0        0 ens192
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

I have mentioned the routing table here...since i couldnt paste in comment section and question was under previous moderation @Bernd Bausch

routing table of controller:----------

   [root@controller openstackusr]# route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         10.65.156.1     0.0.0.0         UG    95     0        0 brqcff3d573-e4
    10.65.156.0     0.0.0.0         255.255.254.0   U     0      0        0 brqcff3d573-e4
    192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

Routing table of compute is:-----------

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.65.156.1     0.0.0.0         UG    98     0        0 ens192
10.65.156.0     0.0.0.0         255.255.254.0   U     0      0        0 ens192
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

after i created the new self service network with subnet created using following command..

openstack subnet create --network selfservice \
  --dns-nameserver 8.8.4.4 --gateway 192.168.122.1 \
  --subnet-range 192.168.122.0/24 selfservice

i can ping only 192.168.122.1 from instance...

the instance couldnt ping its own floating ip...nor controller's nor computes...