openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #23344
no packets captured at br-int or br-tun
hi all:
I set up quantum without namespace support, now VMs can ping
gateway(100.0.0.1) but I can not capture any packet at gateway interface,
br-int or br-tun:
root@controller:/var/log/openvswitch# tcpdump -i qr-c5496165-c7 -nn
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on qr-c5496165-c7, link-type EN10MB (Ethernet), capture size
65535 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
root@controller:/var/log/openvswitch# tcpdump -i br-int -nn
tcpdump: WARNING: br-int: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-int, link-type EN10MB (Ethernet), capture size 65535 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
root@controller:/var/log/openvswitch# tcpdump -i br-tun -nn
tcpdump: WARNING: br-tun: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-tun, link-type EN10MB (Ethernet), capture size 65535 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
When I ping the DHCP server, packets are captured at DHCP server interface,
but not at br-int or br-tun:
root@controller:/var/log/openvswitch# tcpdump -i tap160480aa-84 -nn
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tap160480aa-84, link-type EN10MB (Ethernet), capture size
65535 bytes
09:41:58.922771 IP 100.0.0.4 > 100.0.0.3: ICMP echo request, id 62726, seq
26, length 64
09:41:58.922885 IP 100.0.0.3 > 100.0.0.4: ICMP echo reply, id 62726, seq
26, length 64
It is strange, 1) why packet is captured at DHCP server interface, not at
gateway interface, 2) why packet is not captured at br-int or br-tun(GRE
packets are captured at eth2)?
root@controller:/var/log/openvswitch# tcpdump -i eth2 proto gre -nn
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes
09:50:06.430375 IP 30.0.0.11 > 30.0.0.1: GREv0, key=0x2, length 110: IP
100.0.0.4 > 100.0.0.1: ICMP echo request, id 64774, seq 2, length 64
09:50:06.430452 IP 30.0.0.1 > 30.0.0.11: GREv0, key=0x2, length 110: IP
100.0.0.1 > 100.0.0.4: ICMP echo reply, id 64774, seq 2, length 64
09:50:07.430514 IP 30.0.0.11 > 30.0.0.1: GREv0, key=0x2, length 110: IP
100.0.0.4 > 100.0.0.1: ICMP echo request, id 64774, seq 3, length 64
09:50:07.430616 IP 30.0.0.1 > 30.0.0.11: GREv0, key=0x2, length 110: IP
100.0.0.1 > 100.0.0.4: ICMP echo reply, id 64774, seq 3, length 64
ca3b3f14-7564-4a88-b0f2-417ccc6d60bf
Bridge br-tun
Port "gre-2"
Interface "gre-2"
type: gre
options: {in_key=flow, out_key=flow, remote_ip="30.0.0.11"}
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge "virbr0"
Port "virbr0"
Interface "virbr0"
type: internal
Bridge br-int
Controller "tcp:30.0.0.1:6633"
Port "qr-c5496165-c7"
tag: 3
Interface "qr-c5496165-c7"
type: internal
Port br-int
Interface br-int
type: internal
Port "tapaebb6140-31"
tag: 4095
Interface "tapaebb6140-31"
type: internal
Port "tap5b5891ac-94"
tag: 2
Interface "tap5b5891ac-94"
type: internal
Port "tap160480aa-84"
tag: 3
Interface "tap160480aa-84"
type: internal
Port "qr-48c69382-4f"
tag: 2
Interface "qr-48c69382-4f"
type: internal
Port "tapf6040ba0-b5"
tag: 4095
Interface "tapf6040ba0-b5"
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "tap09a002af-66"
tag: 4095
Interface "tap09a002af-66"
type: internal
Port "tapddc3ce63-2b"
tag: 4095
Interface "tapddc3ce63-2b"
type: internal
Port "tap0ded1c0f-df"
tag: 1
Interface "tap0ded1c0f-df"
type: internal
Port "qr-9b9a3229-19"
tag: 4095
Interface "qr-9b9a3229-19"
type: internal
Port "qr-8af2e01f-bb"
tag: 4095
Interface "qr-8af2e01f-bb"
type: internal
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port "qg-0eda5152-09"
Interface "qg-0eda5152-09"
type: internal
Port "eth0"
Interface "eth0"
ovs_version: "1.4.0+build0"
root@controller:~# ifconfig
br-ex Link encap:Ethernet HWaddr e0:db:55:1f:99:b4
inet addr:192.168.19.1 Bcast:192.168.19.255 Mask:255.255.255.0
inet6 addr: fe80::e2db:55ff:fe1f:99b4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:329437 errors:0 dropped:0 overruns:0 frame:0
TX packets:349843 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:50084384 (50.0 MB) TX bytes:174803790 (174.8 MB)
br-int Link encap:Ethernet HWaddr e2:ed:9e:9b:69:42
inet6 addr: fe80::e0ed:9eff:fe9b:6942/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1226 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:225034 (225.0 KB) TX bytes:468 (468.0 B)
br-tun Link encap:Ethernet HWaddr 46:ca:bf:10:0e:45
inet6 addr: fe80::44ca:bfff:fe10:e45/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:88 (88.0 B) TX bytes:468 (468.0 B)
eth0 Link encap:Ethernet HWaddr e0:db:55:1f:99:b4
inet6 addr: fe80::e2db:55ff:fe1f:99b4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:366810 errors:0 dropped:0 overruns:0 frame:0
TX packets:401198 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:53802410 (53.8 MB) TX bytes:179619788 (179.6 MB)
Interrupt:35
eth1 Link encap:Ethernet HWaddr e0:db:55:1f:99:b5
inet addr:169.254.169.254 Bcast:0.0.0.0 Mask:255.255.255.255
inet6 addr: fe80::e2db:55ff:fe1f:99b5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:752581 errors:0 dropped:0 overruns:0 frame:0
TX packets:715623 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:186338905 (186.3 MB) TX bytes:254970197 (254.9 MB)
Interrupt:38
eth2 Link encap:Ethernet HWaddr e0:db:55:1f:99:b6
inet addr:30.0.0.1 Bcast:30.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::e2db:55ff:fe1f:99b6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:86510 errors:0 dropped:0 overruns:0 frame:0
TX packets:40477 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8169880 (8.1 MB) TX bytes:5679064 (5.6 MB)
Interrupt:34
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6563002 errors:0 dropped:0 overruns:0 frame:0
TX packets:6563002 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1316707664 (1.3 GB) TX bytes:1316707664 (1.3 GB)
*qr-c5496165-c7 Link encap:Ethernet HWaddr fa:16:3e:79:09:ca *
* inet addr:100.0.0.1 Bcast:100.0.0.255 Mask:255.255.255.0*
* inet6 addr: fe80::f816:3eff:fe79:9ca/64 Scope:Link*
* UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1*
* RX packets:3755 errors:0 dropped:3147 overruns:0 frame:0*
* TX packets:6 errors:0 dropped:0 overruns:0 carrier:0*
* collisions:0 txqueuelen:0 *
* RX bytes:344043 (344.0 KB) TX bytes:468 (468.0 B)*
tap09a002af-66 Link encap:Ethernet HWaddr fa:16:3e:9e:11:e0
inet addr:192.168.19.129 Bcast:192.168.19.255
Mask:255.255.255.128
inet6 addr: fe80::f816:3eff:fe9e:11e0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3632 errors:0 dropped:3443 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:243129 (243.1 KB) TX bytes:594 (594.0 B)
tap0ded1c0f-df Link encap:Ethernet HWaddr fa:16:3e:0a:08:7a
inet addr:192.168.19.130 Bcast:192.168.19.255 Mask:255.255.255.0
inet6 addr: fe80::f816:3eff:fe0a:87a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3346 errors:0 dropped:3149 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:225063 (225.0 KB) TX bytes:468 (468.0 B)
*tap160480aa-84 Link encap:Ethernet HWaddr fa:16:3e:54:77:83 *
* inet addr:100.0.0.3 Bcast:100.0.0.255 Mask:255.255.255.0*
* inet6 addr: fe80::f816:3eff:fe54:7783/64 Scope:Link*
* UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1*
* RX packets:10572 errors:0 dropped:3453 overruns:0 frame:0*
* TX packets:6105 errors:0 dropped:0 overruns:0 carrier:0*
* collisions:0 txqueuelen:0 *
* RX bytes:1125984 (1.1 MB) TX bytes:697815 (697.8 KB)*