Ask Your Question

mirekti's profile - activity

2017-09-19 14:27:41 -0500 received badge  Notable Question (source)
2017-09-19 14:27:41 -0500 received badge  Famous Question (source)
2016-11-03 01:23:38 -0500 received badge  Popular Question (source)
2016-11-01 23:49:01 -0500 received badge  Organizer (source)
2016-11-01 23:45:33 -0500 asked a question Instance cannot ping host - Virtualbox

Hi all, my first post here.

I am using Windows 7 -> Virtualbox -> Centos 7 -> Openstack.

In Virtual box preference I added Host network range 172.25.1.0/24. This gave me IP 172.25.1.1 on Windows machine.

In Virtual box settings I created 1 NAT interface and 1 Host only. Post Centos installation I modified the IF and gave it IP 172.25.1.10.

After that openstack was installed, and the br-ex was setup a private and public networks were created.

Public: 172.25.10/24 Private 192.168.0.0/24

Router was added with external gateway 172.25.1.32, and internal IF 192.168.0.1 The router is ACTIVE and UP, but when I check the interfaces the external GW's status is Build. A small instance was created and it got Floating IP 172.25.1.34, and private IP 192.168.0.7.

Now the issue:

  1. I am able to ping Centos IP (br-ex) from Windows machine. 1<->10 OK
  2. I am able to ping Instance's IP (172.25.1.34) and ssh from Centos. 10<->34 OK
  3. But when I try to ping the instance .34 from Windows .1 the request times out. The same is vice versa.

Aren't all these IPs supposed to be reachable? Am I missing something here?

Basically I am able to reach openstack services (dashboard, console), but not able to reach (let's say ssh to the instance)

Could someone give me a hint what I am doing wrong, please?

Here is the ping output:

[root@server-a /]# ping 172.25.1.1 **-> pinging Windows machine from VM Centos**
PING 172.25.1.1 (172.25.1.1) 56(84) bytes of data.
64 bytes from 172.25.1.1: icmp_seq=1 ttl=128 time=0.839 ms
64 bytes from 172.25.1.1: icmp_seq=2 ttl=128 time=0.677 ms
^C
--- 172.25.1.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1004ms
rtt min/avg/max/mdev = 0.677/0.758/0.839/0.081 ms

[root@server-a /]# ping 172.25.1.34 **-> pinging Cirros instance from VM Centos**
PING 172.25.1.34 (172.25.1.34) 56(84) bytes of data.
64 bytes from 172.25.1.34: icmp_seq=1 ttl=63 time=0.849 ms
64 bytes from 172.25.1.34: icmp_seq=2 ttl=63 time=0.365 ms
^C
--- 172.25.1.34 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.365/0.607/0.849/0.242 ms
[root@server-a /]#

[root@server-a /]# ip route get 172.25.1.1
172.25.1.1 dev br-ex  src 172.25.1.10 
    cache 

[root@server-a /]# ip route get 172.25.1.34
172.25.1.34 dev br-ex  src 172.25.1.10 
    cache 

[root@server-a /]# ssh cirros@172.25.1.34
cirros@172.25.1.34's password: 

$ ip route ...
(more)