{"action":"created","issue":{"url":"https://api.github.com/repos/appc/cni/issues/88","labels_url":"https://api.github.com/repos/appc/cni/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/appc/cni/issues/88/comments","events_url":"https://api.github.com/repos/appc/cni/issues/88/events","html_url":"https://github.com/appc/cni/issues/88","id":121817180,"number":88,"title":"Invalidate arp cache when reusing ips","user":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appc/cni/labels/kind/support","name":"kind/support","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-12T00:09:34Z","updated_at":"2016-01-29T17:39:23Z","closed_at":null,"body":"I create a netcat server that looks up hostname, and a netcat client. I kept the client up, and deleted/recreated the server. It kept coming up with the same ip. However, on the host:\r\n```\r\nroot@e2e-test-beeps-minion-jzy6:/home/beeps# arp -a\r\n? (10.245.1.5) at 02:e6:f9:ed:a0:8b [ether] on cbr0\r\n? (10.245.1.3) at 1a:20:f0:ed:ec:cd [ether] on cbr0\r\n? (10.245.1.4) at de:30:22:0a:5c:24 [ether] on cbr0\r\n? (10.240.0.1) at 42:01:0a:f0:00:01 [ether] on eth0\r\n\r\n---[duration T1]---\r\n\r\n? (10.245.1.5) at <incomplete> on cbr0\r\n? (10.245.1.3) at 1a:20:f0:ed:ec:cd [ether] on cbr0\r\n? (10.245.1.4) at de:30:22:0a:5c:24 [ether] on cbr0\r\n? (10.240.0.1) at 42:01:0a:f0:00:01 [ether] on eth0\r\n```\r\n\r\nif during duration T1 I send some udp packets to the server through nc -u, tcpdump on the eth0 of the server (inside the container), shows:\r\n\r\nClient:\r\n```\r\n# nc -u 10.245.1.5 8081\r\nhostName\r\nhostName\r\nhostName\r\n\r\n--- 3 failures\r\n\r\nhostName\r\nnetserver-4\r\n```\r\nServer:\r\n```\r\n15:16:17-beeps~/goproj/src/k8s.io/kubernetes] (kubelet_plugins)$ ./repro.sh \r\npod \"netserver-4\" deleted\r\npod \"netserver-4\" created\r\ntcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes\r\n23:16:34.978072 IP (tos 0x0, ttl 62, id 42388, offset 0, flags [DF], proto UDP (17), length 37)\r\n    10.245.2.6.35824 > 10.245.1.5.8081: [udp sum ok] UDP, length 9\r\n23:16:41.778665 IP (tos 0x0, ttl 62, id 42414, offset 0, flags [DF], proto UDP (17), length 37)\r\n    10.245.2.6.35824 > 10.245.1.5.8081: [udp sum ok] UDP, length 9\r\n23:16:46.928938 IP (tos 0x0, ttl 62, id 43415, offset 0, flags [DF], proto UDP (17), length 37)\r\n    10.245.2.6.35824 > 10.245.1.5.8081: [udp sum ok] UDP, length 9\r\n\r\n\r\n-----3 failures\r\n\r\n\r\n\r\n\r\n23:18:03.738968 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.245.1.5 tell 10.245.1.1, length 28\r\n23:18:04.738960 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.245.1.5 tell 10.245.1.1, length 28\r\n23:18:05.738956 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.245.1.5 tell 10.245.1.1, length 28\r\n23:18:07.873561 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.245.1.5 tell 10.245.1.1, length 28\r\n23:18:07.873586 ARP, Ethernet (len 6), IPv4 (len 4), Reply 10.245.1.5 is-at 02:1a:0e:6b:ba:36, length 28\r\n\r\n------now another one \r\n\r\n23:18:07.873600 IP (tos 0x0, ttl 62, id 53565, offset 0, flags [DF], proto UDP (17), length 37)\r\n    10.245.2.6.35824 > 10.245.1.5.8081: [udp sum ok] UDP, length 9\r\n23:18:07.873811 IP (tos 0x0, ttl 64, id 6569, offset 0, flags [DF], proto UDP (17), length 39)\r\n    10.245.1.5.8081 > 10.245.2.6.35824: [bad udp cksum 0x1919 -> 0xd673!] UDP, length 11\r\n23:18:12.874950 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 10.245.1.1 tell 10.245.1.5, length 28\r\n23:18:12.874980 ARP, Ethernet (len 6), IPv4 (len 4), Reply 10.245.1.1 is-at 52:17:41:2a:8b:a4, length 28\r\n```\r\n\r\nThis is with v0.1.0, @eyakubovich thoughts?\r\n\r\nEdit: net.conf\r\n```\r\n{\r\n  \"bridge\":\"cbr0\",\r\n  \"ipam\":{\r\n    \"routes\":[{\"dst\":\"0.0.0.0/0\"}],\r\n    \"subnet\":\"10.245.1.0/24\",\r\n    \"type\":\"host-local\"\r\n  },\r\n  \"isGateway\":true,\r\n  \"name\":\"kubenet\",\r\n  \"type\":\"bridge\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/appc/cni/issues/comments/176878472","html_url":"https://github.com/appc/cni/issues/88#issuecomment-176878472","issue_url":"https://api.github.com/repos/appc/cni/issues/88","id":176878472,"user":{"login":"steveeJ","id":1181362,"avatar_url":"https://avatars.githubusercontent.com/u/1181362?v=3","gravatar_id":"","url":"https://api.github.com/users/steveeJ","html_url":"https://github.com/steveeJ","followers_url":"https://api.github.com/users/steveeJ/followers","following_url":"https://api.github.com/users/steveeJ/following{/other_user}","gists_url":"https://api.github.com/users/steveeJ/gists{/gist_id}","starred_url":"https://api.github.com/users/steveeJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveeJ/subscriptions","organizations_url":"https://api.github.com/users/steveeJ/orgs","repos_url":"https://api.github.com/users/steveeJ/repos","events_url":"https://api.github.com/users/steveeJ/events{/privacy}","received_events_url":"https://api.github.com/users/steveeJ/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T17:39:23Z","updated_at":"2016-01-29T17:39:23Z","body":"@bprashanth I'm just trying to get an idea of what's in the script, so anything you have is fine for me."}}