{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/bosh-agent/issues/31","labels_url":"https://api.github.com/repos/cloudfoundry/bosh-agent/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/bosh-agent/issues/31/comments","events_url":"https://api.github.com/repos/cloudfoundry/bosh-agent/issues/31/events","html_url":"https://github.com/cloudfoundry/bosh-agent/issues/31","id":106321895,"number":31,"title":"bosh-agent kills dhclient ","user":{"login":"bingosummer","id":4787647,"avatar_url":"https://avatars.githubusercontent.com/u/4787647?v=3","gravatar_id":"","url":"https://api.github.com/users/bingosummer","html_url":"https://github.com/bingosummer","followers_url":"https://api.github.com/users/bingosummer/followers","following_url":"https://api.github.com/users/bingosummer/following{/other_user}","gists_url":"https://api.github.com/users/bingosummer/gists{/gist_id}","starred_url":"https://api.github.com/users/bingosummer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bingosummer/subscriptions","organizations_url":"https://api.github.com/users/bingosummer/orgs","repos_url":"https://api.github.com/users/bingosummer/repos","events_url":"https://api.github.com/users/bingosummer/events{/privacy}","received_events_url":"https://api.github.com/users/bingosummer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-14T11:23:33Z","updated_at":"2015-09-16T23:30:09Z","closed_at":null,"body":"We are working on Azure CPI. And in our stemcell, there is a linux agent which is monitoring dhclient and it will restore the routes if dhcp client is restarted.\r\nhttps://github.com/Azure/WALinuxAgent/blob/2.0/waagent#L3088\r\n\r\nBut dhclient is killed by bosh-agent.\r\nhttps://github.com/cloudfoundry/bosh-agent/blob/master/platform/net/ubuntu_net_manager.go#L140\r\n\r\nAny suggestion on this? Thanks in advance."},"comment":{"url":"https://api.github.com/repos/cloudfoundry/bosh-agent/issues/comments/140925393","html_url":"https://github.com/cloudfoundry/bosh-agent/issues/31#issuecomment-140925393","issue_url":"https://api.github.com/repos/cloudfoundry/bosh-agent/issues/31","id":140925393,"user":{"login":"cppforlife","id":185847,"avatar_url":"https://avatars.githubusercontent.com/u/185847?v=3","gravatar_id":"","url":"https://api.github.com/users/cppforlife","html_url":"https://github.com/cppforlife","followers_url":"https://api.github.com/users/cppforlife/followers","following_url":"https://api.github.com/users/cppforlife/following{/other_user}","gists_url":"https://api.github.com/users/cppforlife/gists{/gist_id}","starred_url":"https://api.github.com/users/cppforlife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cppforlife/subscriptions","organizations_url":"https://api.github.com/users/cppforlife/orgs","repos_url":"https://api.github.com/users/cppforlife/repos","events_url":"https://api.github.com/users/cppforlife/events{/privacy}","received_events_url":"https://api.github.com/users/cppforlife/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T23:30:09Z","updated_at":"2015-09-16T23:30:09Z","body":"On azure, do we always rely on DHCP to configure an IP (i.e. for both manual and dynamic bosh networks)? If so, that's similar to what we do in AWS CPI and we should just set use_dhcp=true always: https://github.com/cloudfoundry-incubator/bosh-aws-cpi-release/blob/646ae590eff8f0b845f8fb469c9a91826492d62b/src/bosh_aws_cpi/lib/cloud/aws/cloud.rb#L779"}}