Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How VMs will communicate in Openstack(Packet Flow)

Our configuration:

VM Name           Internal IP      Floating IP
***************************************************
MySQL              10.0.5.15            -
Apache2            10.0.5.14        172.25.1.142
Apache1            10.0.5.16            -
VM-11(HaProxy)     10.0.5.7         172.25.1.144
jmeter             10.0.5.17            -

Router Gateway     172.25.1.132(From "neutron router-list" command)

Server5 - Neutron

Server1 - Controller + Compute

We configured Netflow on "int-br"(OVS) in Server1 and Server5

Now, the dummy request are sending continuously from jmeter(10.0.5.17) to HaProxy(172.25.1.144)

What we saw in Netflow(nfdump -r FILE)

On Server1


Bridge's   Source IP   Source  Bridge's  Destination   Destination  Protocol
Ingress                Port    Egress        IP             IP
Port                           Port
*****************************************************************************************
4614        10.0.5.17  39781   4611      172.25.1.144     80          TCP
4610         10.0.5.7     80   4611      172.25.1.132   39781         TCP

On Server5

15371     172.25.1.132  33675  15362         10.0.5.7     80         TCP
15371     172.25.1.144     80  15362        10.0.5.17  33675         TCP

So, What is the packet flow here? Where the NAT translations are happening?

How VMs will communicate in Openstack(Packet Flow)

Our configuration:

VM Name           Internal IP      Floating IP
***************************************************
MySQL              10.0.5.15            -
Apache2            10.0.5.14        172.25.1.142
Apache1            10.0.5.16            -
VM-11(HaProxy)     10.0.5.7         172.25.1.144
jmeter             10.0.5.17            -

Router Gateway     172.25.1.132(From "neutron router-list" command)

Server5 - Neutron

Server1 - Controller + Compute

We configured Netflow on "int-br"(OVS) in Server1 and Server5

Now, the dummy request are sending continuously from jmeter(10.0.5.17) to HaProxy(172.25.1.144)

What we saw in Netflow(nfdump -r FILE)

On Server1


Bridge's   Source IP   Source  Bridge's  Destination   Destination  Protocol
Ingress                Port    Egress        IP             IP
Port
Port                           Port
*****************************************************************************************
4614        10.0.5.17  39781   4611      172.25.1.144     80          TCP
4610         10.0.5.7     80   4611      172.25.1.132   39781         TCP

On Server5

15371     172.25.1.132  33675  15362         10.0.5.7     80         TCP
15371     172.25.1.144     80  15362        10.0.5.17  33675         TCP

So, What is the packet flow here? Where the NAT translations are happening?