← Back to team overview

openstack team mailing list archive

What's the package flow in vlan mode when ping the floating ip between vms.

 

I am using: Folsom, nova-network, vlanManage, multi_host=ture

I want to know what's the package flow between the vms which located in the
same physical machine.

Here is the typology. I want to know want happen if I ping 192.168.3.47 in
vm7.

When the NAT is applied?

   |vm: fixed: 10.0.104.5, floating:
192.168.3.56|-----|vnet15|----|br104|----|vnet14|----| vm7: fixed:
10.0.104.6, floating: 192.168.3.57|

if the net.bridge.bridge-nf-call-iptables=0, I can not see the NAT
properly.

[root@openstack-node1 ~]# tcpdump -i vnet14 -l -ne icmp -v
tcpdump: WARNING: vnet14: no IPv4 address assigned
tcpdump: listening on vnet14, link-type EN10MB (Ethernet), capture
size 65535 bytes
17:11:10.275818 fa:16:3e:3e:ab:8f > fa:16:3e:72:8f:b4, ethertype IPv4
(0x0800), length 98: (tos 0x0, ttl 64, id 0, offset 0, flags [DF],
proto ICMP (1), length 84)
    10.0.104.6 > 192.168.3.56: ICMP echo request, id 31090, seq 1, length 64
17:11:10.277546 fa:16:3e:22:31:09 > fa:16:3e:3e:ab:8f, ethertype IPv4
(0x0800), length 98: (tos 0x0, ttl 64, id 64703, offset 0, flags
[none], proto ICMP (1), length 84)
    10.0.104.5 > 10.0.104.6: ICMP echo reply, id 31090, seq 1, length 64

When net.bridge.bridge-nf-call-iptables=1, I found the NAT properly. But I
also found it is said the bridge filter should be disabled in
http://docs.openstack.org/trunk/openstack-compute/admin/content/network-troubleshooting.html.
Is this true?


[root@openstack-node1 ~]# tcpdump -i vnet14 -l -ne icmp -v
tcpdump: WARNING: vnet14: no IPv4 address assigned
tcpdump: listening on vnet14, link-type EN10MB (Ethernet), capture
size 65535 bytes
17:13:40.507577 fa:16:3e:3e:ab:8f > fa:16:3e:72:8f:b4, ethertype IPv4
(0x0800), length 98: (tos 0x0, ttl 64, id 0, offset 0, flags [DF],
proto ICMP (1), length 84)
    10.0.104.6 > 192.168.3.56: ICMP echo request, id 42098, seq 1, length 64
17:13:40.508034 fa:16:3e:22:31:09 > fa:16:3e:3e:ab:8f, ethertype IPv4
(0x0800), length 98: (tos 0x0, ttl 64, id 64704, offset 0, flags
[none], proto ICMP (1), length 84)
    192.168.3.56 > 10.0.104.6: ICMP echo reply, id 42098, seq 1, length 64

-- 
Lei Zhang

Blog: http://jeffrey4l.github.com
twitter/weibo: @jeffrey4l

Follow ups