ArpHandler to ignore ip packet sent to default GW 25/4125/1
authorAlessandro Boch <aboch@cisco.com>
Fri, 10 Jan 2014 04:22:52 +0000 (20:22 -0800)
committerAlessandro Boch <aboch@cisco.com>
Fri, 10 Jan 2014 04:22:52 +0000 (20:22 -0800)
commitad32425a1ee129ddfb9d78574fd0ea5045f4f9dd
treeaee3b6cacd3bb939cfb53f027f843802ca51474f
parent64dfe060369551b2f011889a7e77844bf35ce01a
ArpHandler to ignore ip packet sent to default GW

- If the host pings the default gw, when ArpHandler receives the
  ICMP packet it does not realize it is sent to the controller,
  and it triggers the discovery for an host with that IP through arp request
- This patch is for ArpHandler to detect the if IP packet is sent
  to the controller and stop the processing if that is the case.
  We may consider to have ArpHandler reply if packet is ICMP echo req.

Change-Id: I87e14916564bc0039718882d087c431df7554317
Signed-off-by: Alessandro Boch <aboch@cisco.com>
opendaylight/arphandler/src/main/java/org/opendaylight/controller/arphandler/internal/ArpHandler.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.