{"action":"opened","issue":{"url":"https://api.github.com/repos/cloudfoundry/cf-networking-release/issues/37","repository_url":"https://api.github.com/repos/cloudfoundry/cf-networking-release","labels_url":"https://api.github.com/repos/cloudfoundry/cf-networking-release/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/cf-networking-release/issues/37/comments","events_url":"https://api.github.com/repos/cloudfoundry/cf-networking-release/issues/37/events","html_url":"https://github.com/cloudfoundry/cf-networking-release/issues/37","id":310226085,"number":37,"title":"Request's source IP is a cell's IP instead of a VXLAN one.","user":{"login":"b10s","id":4618288,"avatar_url":"https://avatars1.githubusercontent.com/u/4618288?v=4","gravatar_id":"","url":"https://api.github.com/users/b10s","html_url":"https://github.com/b10s","followers_url":"https://api.github.com/users/b10s/followers","following_url":"https://api.github.com/users/b10s/following{/other_user}","gists_url":"https://api.github.com/users/b10s/gists{/gist_id}","starred_url":"https://api.github.com/users/b10s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b10s/subscriptions","organizations_url":"https://api.github.com/users/b10s/orgs","repos_url":"https://api.github.com/users/b10s/repos","events_url":"https://api.github.com/users/b10s/events{/privacy}","received_events_url":"https://api.github.com/users/b10s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-31T09:10:38Z","updated_at":"2018-03-31T09:10:38Z","closed_at":null,"author_association":"NONE","body":"Thanks for submitting an issue to `cf-networking-release`. We are always trying to improve! To help us, please fill out the following template.\r\n\r\n## Issue\r\n\r\nIn case of two app's  located on the same cell source IP will be a cell's IP.\r\n\r\n## Context\r\n\r\nDuring the cf-networking test we realaized that sometime source IP's of requests have different from VXLAN subnet. We find out that connection between application instances located on the same cell will use cell IP, not contaner VXLAN IP. At the same time connection between application instances located on different cells will be with VXLAN source IP.\r\n\r\n## Steps to Reproduce\r\n```\r\n$ cf network-policies\r\nListing network policies in org my-org / space my-space as user@example.com...\r\n\r\nsource     destination   protocol   ports\r\nfeeder     sd            tcp        1234\r\n\r\n$ cf-instances.sh sd\r\nApplication: sd (1495e2c6-91dd-45f1-bc94-df608ae4d83f)\r\nIndex  State    Uptime  IP             Port   CPU  Mem    Mem_Quota  Disk   Disk_Quota\r\n0      RUNNING  9531s   100.73.61.131  61001  2%   23.8M  64M        94.7M  1024M\r\n\r\n$ cf-instances.sh feeder\r\nApplication: feeder (7bd85784-b7b4-4673-84d3-1b43c8fc0ba9)\r\nIndex  State    Uptime  IP             Port   CPU   Mem    Mem_Quota  Disk    Disk_Quota\r\n0      RUNNING  6392s   100.73.61.131  61007  0.3%  27.5M  64M        105.9M  1024M\r\n1      RUNNING  7798s   100.73.61.130  61001  0.2%  28.1M  64M        105.9M  1024M\r\n2      RUNNING  7798s   100.73.61.129  61038  0%    23.3M  64M        105.9M  1024M\r\n\r\n\r\n\r\n########## CONSOLE_1 ##########\r\n$ cf ssh sd\r\n\r\n# TIME 1.1\r\nvcap@bdb549a1-2399-4847-5a3b-73bf:~$ nc -vl 1234\r\nListening on [0.0.0.0] (family 0, port 1234)\r\nConnection from [100.73.61.131] port 1234 [tcp/*] accepted (family 2, sport 33758)\r\n\r\n# TIME 2.1\r\nvcap@bdb549a1-2399-4847-5a3b-73bf:~$ nc -vl 1234\r\nListening on [0.0.0.0] (family 0, port 1234)\r\nConnection from [10.78.184.42] port 1234 [tcp/*] accepted (family 2, sport 38524)\r\n###############################\r\n\r\n\r\n\r\n########## CONSOLE_2 ##########\r\n$ cf ssh feeder -i 0\r\n\r\n# TIME 1.2\r\nvcap@46c732fe-428a-4c68-6a42-7c47:~$ nc -zv 10.79.215.6 1234\r\nConnection to 10.79.215.6 1234 port [tcp/*] succeeded!\r\n\r\nvcap@46c732fe-428a-4c68-6a42-7c47:~$ exit\r\n\r\n# TIME 2.2\r\n$ cf ssh feeder -i 1\r\nvcap@3fb455bf-1233-4256-576a-6142:~$ nc -zv 10.79.215.6 1234\r\nConnection to 10.79.215.6 1234 port [tcp/*] succeeded!\r\n\r\nvcap@3fb455bf-1233-4256-576a-6142:~$ exit\r\n###############################\r\n```\r\n## Expected result\r\n\r\nWe expect to have VXLAN IP as a source IP in all cases.\r\n"}}
{"actor":{"display_login":"b10s"}}