{"action":"created","issue":{"url":"https://api.github.com/repos/iocage/iocage/issues/81","labels_url":"https://api.github.com/repos/iocage/iocage/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/iocage/iocage/issues/81/comments","events_url":"https://api.github.com/repos/iocage/iocage/issues/81/events","html_url":"https://github.com/iocage/iocage/issues/81","id":73226057,"number":81,"title":"Set MAC of VNET epair","user":{"login":"kev009","id":90042,"avatar_url":"https://avatars.githubusercontent.com/u/90042?v=3","gravatar_id":"","url":"https://api.github.com/users/kev009","html_url":"https://github.com/kev009","followers_url":"https://api.github.com/users/kev009/followers","following_url":"https://api.github.com/users/kev009/following{/other_user}","gists_url":"https://api.github.com/users/kev009/gists{/gist_id}","starred_url":"https://api.github.com/users/kev009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kev009/subscriptions","organizations_url":"https://api.github.com/users/kev009/orgs","repos_url":"https://api.github.com/users/kev009/repos","events_url":"https://api.github.com/users/kev009/events{/privacy}","received_events_url":"https://api.github.com/users/kev009/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iocage/iocage/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-05T06:38:58Z","updated_at":"2015-05-06T01:56:21Z","closed_at":null,"body":"I use bridged networking like this:\r\n\r\n```\r\nifconfig_cxl0=\"up\"\r\nifconfig_vlan1=\"vlan 1 vlandev cxl0 up\"\r\nifconfig_vlan1010=\"vlan 1010 vlandev cxl0 up\"\r\nifconfig_vlan1011=\"vlan 1011 vlandev cxl0 up\"\r\nifconfig_bridge1=\"inet 10.10.9.56/24 addm vlan1 description vlan1 up\"\r\nifconfig_bridge1010=\"inet 10.10.10.56/24 addm vlan1010 description vlan1010 up\"\r\nifconfig_bridge1011=\"inet 10.10.11.56/24 addm vlan1011 description vlan1011 up\"\r\n\r\niocage create interfaces=vnet0:bridge1 ip4_addr=vnet0|10.10.9.57\r\n```\r\n\r\nThat works great.  Problem is, when I add another iocage host to the same network segment, MAC collisions are very easy to trigger.\r\n\r\nI uniqify the bridge MACs on the host with start_if scripts like:\r\n```\r\n# cat /etc/start_if.bridge1\r\nifconfig bridge1 ether 02:f2:8f:44:15:00\r\n```\r\n\r\nI need to uniqify the VNET jail's mac.  It would be cool to have an iocage parameter to set the MAC of the epair.  I can do it with 'ifconfig ether' or start_if scripts within the jail."},"comment":{"url":"https://api.github.com/repos/iocage/iocage/issues/comments/99285908","html_url":"https://github.com/iocage/iocage/issues/81#issuecomment-99285908","issue_url":"https://api.github.com/repos/iocage/iocage/issues/81","id":99285908,"user":{"login":"pannon","id":7752363,"avatar_url":"https://avatars.githubusercontent.com/u/7752363?v=3","gravatar_id":"","url":"https://api.github.com/users/pannon","html_url":"https://github.com/pannon","followers_url":"https://api.github.com/users/pannon/followers","following_url":"https://api.github.com/users/pannon/following{/other_user}","gists_url":"https://api.github.com/users/pannon/gists{/gist_id}","starred_url":"https://api.github.com/users/pannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pannon/subscriptions","organizations_url":"https://api.github.com/users/pannon/orgs","repos_url":"https://api.github.com/users/pannon/repos","events_url":"https://api.github.com/users/pannon/events{/privacy}","received_events_url":"https://api.github.com/users/pannon/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T01:56:21Z","updated_at":"2015-05-06T01:56:21Z","body":"I think we could add a mac address property for that and store it for the jail just like any other properties. Might be wort to raise an issue at FreeBSD.org for VNET/epair.  "}}