{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/bugs/issues/1005","repository_url":"https://api.github.com/repos/coreos/bugs","labels_url":"https://api.github.com/repos/coreos/bugs/issues/1005/labels{/name}","comments_url":"https://api.github.com/repos/coreos/bugs/issues/1005/comments","events_url":"https://api.github.com/repos/coreos/bugs/issues/1005/events","html_url":"https://github.com/coreos/bugs/issues/1005","id":119567324,"number":1005,"title":"CoreOS-CloudInit + GuestInfo applies static IPs to loopback interface","user":{"login":"normelton","id":30230,"avatar_url":"https://avatars3.githubusercontent.com/u/30230?v=3","gravatar_id":"","url":"https://api.github.com/users/normelton","html_url":"https://github.com/normelton","followers_url":"https://api.github.com/users/normelton/followers","following_url":"https://api.github.com/users/normelton/following{/other_user}","gists_url":"https://api.github.com/users/normelton/gists{/gist_id}","starred_url":"https://api.github.com/users/normelton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normelton/subscriptions","organizations_url":"https://api.github.com/users/normelton/orgs","repos_url":"https://api.github.com/users/normelton/repos","events_url":"https://api.github.com/users/normelton/events{/privacy}","received_events_url":"https://api.github.com/users/normelton/received_events","type":"User","site_admin":false},"labels":[{"id":264722860,"url":"https://api.github.com/repos/coreos/bugs/labels/area/usability","name":"area/usability","color":"bfe5bf","default":false},{"id":113181351,"url":"https://api.github.com/repos/coreos/bugs/labels/component/cloud-init","name":"component/cloud-init","color":"0052cc","default":false},{"id":264722864,"url":"https://api.github.com/repos/coreos/bugs/labels/kind/friction","name":"kind/friction","color":"c7def8","default":false},{"id":264365518,"url":"https://api.github.com/repos/coreos/bugs/labels/priority/P2","name":"priority/P2","color":"fbca04","default":false},{"id":275179790,"url":"https://api.github.com/repos/coreos/bugs/labels/team/os","name":"team/os","color":"ffffff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-11-30T19:55:08Z","updated_at":"2017-06-21T21:27:18Z","closed_at":"2016-12-18T21:36:36Z","body":"When configuring a CoreOS host with VMware guestinfo variables, I'm using 10.1.25.11 as my static IP address. I noticed that it gets assigned to both the primary interface (_ens192_) and the loopback interface (_lo_).\n\nIn addition, CoreOS continues to pull a DHCP address for _ens192_ (see #1000).\n\n```\n1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default \n    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\n    inet 127.0.0.1/8 scope host lo\n       valid_lft forever preferred_lft forever\n    inet 10.1.25.11/16 brd 10.1.255.255 scope global lo\n       valid_lft forever preferred_lft forever\n    inet6 ::1/128 scope host \n       valid_lft forever preferred_lft forever\n2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000\n    link/ether 00:50:56:be:61:3d brd ff:ff:ff:ff:ff:ff\n    inet 10.1.253.236/16 brd 10.1.255.255 scope global dynamic ens192\n       valid_lft 3596sec preferred_lft 3596sec\n    inet 10.1.25.11/16 brd 10.1.255.255 scope global secondary ens192\n       valid_lft forever preferred_lft forever\n    inet6 fe80::250:56ff:febe:613d/64 scope link \n       valid_lft forever preferred_lft forever\n```\n\nBy having the the 10.1.0.0/16 subnet configured on both _lo_ and _ens192_, it seems that CoreOS is proxy ARPing for all 10.1.0.0/16 addresses on _ens192_. This means that my router is losing ARP entries for other servers on the subnet, knocking servers offline.\n\nI noticed that my _guestinfo_ config did not include an interface name. By setting _guestinfo.interface.0.name = ens192_, the IP address is configured correctly:\n\n```\n1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default \n    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\n    inet 127.0.0.1/8 scope host lo\n       valid_lft forever preferred_lft forever\n    inet6 ::1/128 scope host \n       valid_lft forever preferred_lft forever\n2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000\n    link/ether 00:50:56:be:61:3d brd ff:ff:ff:ff:ff:ff\n    inet 10.1.25.11/16 brd 10.1.255.255 scope global ens192\n       valid_lft forever preferred_lft forever\n    inet6 fe80::250:56ff:febe:613d/64 scope link \n       valid_lft forever preferred_lft forever\n```\n\nInterestingly, the DHCP address is gone too.\n\nI'm thinking that _guestinfo.interface.0.name_ should either be required, or default to the first non-loopback adapter.\n"},"comment":{"url":"https://api.github.com/repos/coreos/bugs/issues/comments/310210253","html_url":"https://github.com/coreos/bugs/issues/1005#issuecomment-310210253","issue_url":"https://api.github.com/repos/coreos/bugs/issues/1005","id":310210253,"user":{"login":"soggiest","id":6342806,"avatar_url":"https://avatars2.githubusercontent.com/u/6342806?v=3","gravatar_id":"","url":"https://api.github.com/users/soggiest","html_url":"https://github.com/soggiest","followers_url":"https://api.github.com/users/soggiest/followers","following_url":"https://api.github.com/users/soggiest/following{/other_user}","gists_url":"https://api.github.com/users/soggiest/gists{/gist_id}","starred_url":"https://api.github.com/users/soggiest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soggiest/subscriptions","organizations_url":"https://api.github.com/users/soggiest/orgs","repos_url":"https://api.github.com/users/soggiest/repos","events_url":"https://api.github.com/users/soggiest/events{/privacy}","received_events_url":"https://api.github.com/users/soggiest/received_events","type":"User","site_admin":false},"created_at":"2017-06-21T21:27:18Z","updated_at":"2017-06-21T21:27:18Z","body":"We're seeing the issue above as well, but with Ignition scripts rather than cloud-init. \r\nIf an Ignition script is provided to Container Linux with the following match entry `Name=` it will match to ALL interfaces on the host, including `lo`. Once this happens the ARP issue begins as described above and will affect hosts on the local subnet. \r\n\r\nThis is appears to be in conflict with the kernel config around proxy arping:\r\n<img width=\"799\" alt=\"screen shot 2017-06-21 at 2 22 44 pm\" src=\"https://user-images.githubusercontent.com/6342806/27407560-a85c61c2-568d-11e7-8871-3fe3103647fc.png\">\r\n"}}
{"actor":{"display_login":"soggiest"}}