[EVPN VXLAN] Ping to non gateway IP getting discarded in agent when agent_mode tsn-no-forwarding
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
Critical
|
Manish Singh | |||
R4.1 |
Fix Committed
|
Critical
|
Manish Singh | |||
Trunk |
Fix Committed
|
Critical
|
Manish Singh |
Bug Description
When agent mode set to tsn-no-forwarding only gateway IP is reachable. Packet destined to all other network poiting to vhost0 is getting discarded by agent.
When agehnt mode is not tsn-no-forwarding evrything woks as expected. Trying this with the private binary provided by agent team for L2 ECMP testing
root@5b11s14:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.87.69.126 0.0.0.0 UG 0 0 0 eno1
10.87.69.0 0.0.0.0 255.255.255.128 U 0 0 0 eno1
172.16.2.1 172.16.180.254 255.255.255.255 UGH 0 0 0 vhost0
172.16.3.1 172.16.180.254 255.255.255.255 UGH 0 0 0 vhost0
172.16.4.1 172.16.180.254 255.255.255.255 UGH 0 0 0 vhost0
172.16.5.1 172.16.180.254 255.255.255.255 UGH 0 0 0 vhost0
172.16.5.10 172.16.180.254 255.255.255.255 UGH 0 0 0 vhost0
172.16.6.1 172.16.180.254 255.255.255.255 UGH 0 0 0 vhost0
172.16.180.0 0.0.0.0 255.255.255.0 U 0 0 0 vhost0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
root@5b11s14:~# cat /etc/contrail/
# agent_mode=
agent_mode =tsn-no-forwarding
#agent_mode =
root@5b11s14:~# ping 172.16.5.1
PING 172.16.5.1 (172.16.5.1) 56(84) bytes of data.
^C
--- 172.16.5.1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
root@5b11s14:~# ping 172.16.180.102
PING 172.16.180.102 (172.16.180.102) 56(84) bytes of data.
^C
--- 172.16.180.102 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
root@5b11s14:~#
root@5b11s14:~# dropstats | grep discard
root@5b11s14:~# dropstats | grep Discard
IF TX Discard 0
IF RX Discard 0
Discards 95
root@5b11s14:~# dropstats | grep Discard
IF TX Discard 0
IF RX Discard 0
Discards 97
root@5b11s14:~# dropstats | grep Discard
IF TX Discard 0
IF RX Discard 0
Discards 97
root@5b11s14:~# dropstats | grep Discard
IF TX Discard 0
IF RX Discard 0
Discards 99
root@5b11s14:~# cat /etc/contrail/
# agent_mode=
#agent_mode =tsn-no-forwarding
agent_mode =
root@5b11s14:~#
root@5b11s14:~# ping 172.16.5.1
PING 172.16.5.1 (172.16.5.1) 56(84) bytes of data.
64 bytes from 172.16.5.1: icmp_seq=1 ttl=63 time=2.86 ms
64 bytes from 172.16.5.1: icmp_seq=2 ttl=63 time=0.997 ms
^C
--- 172.16.5.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.997/1.
root@5b11s14:~# ping 172.16.180.102
PING 172.16.180.102 (172.16.180.102) 56(84) bytes of data.
64 bytes from 172.16.180.102: icmp_seq=1 ttl=63 time=1.06 ms
^C
--- 172.16.180.102 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.066/1.
Changed in juniperopenstack: | |
importance: | Undecided → High |
assignee: | nobody → Manish Singh (manishs) |
importance: | High → Critical |
milestone: | none → r4.1.0.0-fcs |
information type: | Proprietary → Public |
tags: | added: blocker |
Review in progress for https:/ /review. opencontrail. org/36622
Submitter: Manish Singh (<email address hidden>)