{"action":"created","issue":{"url":"https://api.github.com/repos/iocage/iocage/issues/84","labels_url":"https://api.github.com/repos/iocage/iocage/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/iocage/iocage/issues/84/comments","events_url":"https://api.github.com/repos/iocage/iocage/issues/84/events","html_url":"https://github.com/iocage/iocage/issues/84","id":74913923,"number":84,"title":"DHCP for vnet jails","user":{"login":"penetal","id":5358752,"avatar_url":"https://avatars.githubusercontent.com/u/5358752?v=3","gravatar_id":"","url":"https://api.github.com/users/penetal","html_url":"https://github.com/penetal","followers_url":"https://api.github.com/users/penetal/followers","following_url":"https://api.github.com/users/penetal/following{/other_user}","gists_url":"https://api.github.com/users/penetal/gists{/gist_id}","starred_url":"https://api.github.com/users/penetal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penetal/subscriptions","organizations_url":"https://api.github.com/users/penetal/orgs","repos_url":"https://api.github.com/users/penetal/repos","events_url":"https://api.github.com/users/penetal/events{/privacy}","received_events_url":"https://api.github.com/users/penetal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-10T12:52:46Z","updated_at":"2015-05-11T04:33:27Z","closed_at":null,"body":"Hello, would it be possible to incorporate a nice way to do DHCP for the jails?\r\nI wish to move away from manual management of the jails, but still wish to use DHCP to assign IP addresses.\r\n\r\nI am just doing it in jail.conf for now in something akin to this manner:\r\n```\r\ndevfs_ruleset = \"100\";\r\nallow.raw_sockets=1;\r\nvnet;\r\nvnet.interface  = \"epair${if}b\";\r\n\r\nexec.prestart  += \"ifconfig epair${if} create ether 02:FF:10:00:${if}:0A up\";\r\nexec.prestart  += \"ifconfig bridge0 addm epair${if}a\";\r\n\r\nexec.start  += \"/sbin/ifconfig lo0 127.0.0.1 up\";\r\nexec.start  += \"/sbin/ifconfig epair${if}b ether 02:FF:10:00:${if}:0B\";\r\nexec.start  += \"/usr/sbin/service dhclient forcestart epair${if}b\";\r\n\r\nexec.poststop  += \"ifconfig epair${if}a destroy\";\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/iocage/iocage/issues/comments/100763250","html_url":"https://github.com/iocage/iocage/issues/84#issuecomment-100763250","issue_url":"https://api.github.com/repos/iocage/iocage/issues/84","id":100763250,"user":{"login":"penetal","id":5358752,"avatar_url":"https://avatars.githubusercontent.com/u/5358752?v=3","gravatar_id":"","url":"https://api.github.com/users/penetal","html_url":"https://github.com/penetal","followers_url":"https://api.github.com/users/penetal/followers","following_url":"https://api.github.com/users/penetal/following{/other_user}","gists_url":"https://api.github.com/users/penetal/gists{/gist_id}","starred_url":"https://api.github.com/users/penetal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penetal/subscriptions","organizations_url":"https://api.github.com/users/penetal/orgs","repos_url":"https://api.github.com/users/penetal/repos","events_url":"https://api.github.com/users/penetal/events{/privacy}","received_events_url":"https://api.github.com/users/penetal/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T04:33:27Z","updated_at":"2015-05-11T04:33:27Z","body":"Yes, correct\nOn May 10, 2015 11:09 PM, \"Peter Toth\" <notifications@github.com> wrote:\n\n> Do you expose /dev/bpf to the jail for dhcp to work?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/iocage/iocage/issues/84#issuecomment-100701695>.\n>\n"}}