Mirroring: Nic assisted mirroring does not work.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Released
|
High
|
Anand H. Krishnan | |||
Trunk |
Fix Committed
|
High
|
Anand H. Krishnan |
Bug Description
Topo: 2 computes.
First will have mirror source, second will have mirror destination.
10.204.217.17 --- 10.204.217.49
I send traffic from source to the destination and monitor tcpdump on p1p1 on the source.
I have vlan value of 100 set on source mirroring side.
I don't see the vlan header on p1p1.
root@nodec32:~# mirror -b
Mirror Table
Flags:D=Dynamic Mirroring, Hw=NIC Assisted Mirroring
Index NextHop Flags VNI Vlan
-------
0 0 Hw 0 100
root@nodec32:~# vif --get 3
Vrouter Interface Table
Flags: P=Policy, X=Cross Connect, S=Service Chain, Mr=Receive Mirror
Mt=Transmit Mirror, Tc=Transmit Checksum Offload, L3=Layer 3, L2=Layer 2
D=DHCP, Vp=Vhost Physical, Pr=Promiscuous, Vnt=Native Vlan Tagged
Mnp=No MAC Proxy, Dpdk=DPDK PMD Interface, Rfl=Receive Filtering Offload, Mon=Interface is Monitored
Uuf=Unknown Unicast Flood, Vof=VLAN insert/strip offload, Df=Drop New Flows, L=MAC Learning Enabled
Proxy=MAC Requests Proxied Always, Er=Etree Root
vif0/3 OS: tap0740fa42-dd
Vrf:1 Flags:PMrMtL3L2DEr QOS:-1 Ref:5 Mirror index 0
RX packets:55146 bytes:3450791 errors:0
TX packets:48862 bytes:2221226 errors:0
Ingress Mirror Metadata: 3 19 64 65 66 61 75 6c 74 2d 64
Egress Mirror Metadata: 4 19 64 65 66 61 75 6c 74 2d 64 6f
tcpdump -i p1p1 -xxx -n ip proto 17
10:00:48.319687 IP 10.204.217.17.61911 > 10.204.217.49.6635: UDP, length 88
0x0000: 0025 90c4 84cc 0025 90c3 0aee 0800 4500
0x0010: 0074 0000 0000 4011 b29e 0acc d911 0acc
0x0020: d931 f1d7 19eb 0060 0000 0001 a13f 4500
0x0030: 0054 0000 4000 3f01 35a1 0101 0103 0202
0x0040: 0203 0800 7069 cc00 0011 fe1f bd64 0000
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000
0x0080: 0000
Changed in juniperopenstack: | |
milestone: | none → r4.0 |
importance: | Undecided → High |
tags: | added: blocker |
Review in progress for https:/ /review. opencontrail. org/31084
Submitter: Anand H. Krishnan (<email address hidden>)