{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxc/issues/582","labels_url":"https://api.github.com/repos/lxc/lxc/issues/582/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxc/issues/582/comments","events_url":"https://api.github.com/repos/lxc/lxc/issues/582/events","html_url":"https://github.com/lxc/lxc/issues/582","id":93583475,"number":582,"title":"Debian: mac adresses assigned with wrong order to interfaces","user":{"login":"c0d3z3r0","id":6205797,"avatar_url":"https://avatars.githubusercontent.com/u/6205797?v=3","gravatar_id":"","url":"https://api.github.com/users/c0d3z3r0","html_url":"https://github.com/c0d3z3r0","followers_url":"https://api.github.com/users/c0d3z3r0/followers","following_url":"https://api.github.com/users/c0d3z3r0/following{/other_user}","gists_url":"https://api.github.com/users/c0d3z3r0/gists{/gist_id}","starred_url":"https://api.github.com/users/c0d3z3r0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c0d3z3r0/subscriptions","organizations_url":"https://api.github.com/users/c0d3z3r0/orgs","repos_url":"https://api.github.com/users/c0d3z3r0/repos","events_url":"https://api.github.com/users/c0d3z3r0/events{/privacy}","received_events_url":"https://api.github.com/users/c0d3z3r0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T17:23:15Z","updated_at":"2015-07-07T18:13:23Z","closed_at":"2015-07-07T18:13:23Z","body":"Debian Jessie container with systemd\r\nNetwork config:\r\n\r\n~~~\r\nlxc.network.name = eth0\r\nlxc.network.link = eth0\r\nlxc.network.type = macvlan\r\nlxc.network.macvlan.mode = private\r\nlxc.network.flags = up\r\nlxc.network.hwaddr = 00:16:3e:1e:09:4c \r\n\r\nlxc.network.name = eth1\r\nlxc.network.link = eth1\r\nlxc.network.type = macvlan\r\nlxc.network.macvlan.mode = private\r\nlxc.network.flags = up\r\nlxc.network.hwaddr = 00:16:3e:1e:09:5c\r\n~~~\r\n\r\nInside the container eth0 has 00:16:3e:1e:09:5c, eth1 has 00:16:3e:1e:09:4c.\r\nWhen switching lxc.network.name the mac addresses are correct.\r\n\r\n~~~\r\nroot@debian:~# ifconfig \r\neth0      Link encap:Ethernet  Hardware Adresse 00:16:3e:1e:09:5c  \r\n          UP BROADCAST MULTICAST  MTU:1500  Metrik:1\r\n          RX packets:0 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0\r\n          Kollisionen:0 Sendewarteschlangenlänge:0 \r\n          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)\r\n\r\neth1      Link encap:Ethernet  Hardware Adresse 00:16:3e:1e:09:4c  \r\n          inet6-Adresse: fe80::216:3eff:fe1e:94c/64 Gültigkeitsbereich:Verbindung\r\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1\r\n          RX packets:6 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0\r\n          Kollisionen:0 Sendewarteschlangenlänge:0 \r\n          RX bytes:574 (574.0 B)  TX bytes:648 (648.0 B)\r\n\r\nlo        Link encap:Lokale Schleife  \r\n          inet Adresse:127.0.0.1  Maske:255.0.0.0\r\n          inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine\r\n          UP LOOPBACK RUNNING  MTU:65536  Metrik:1\r\n          RX packets:0 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0\r\n          Kollisionen:0 Sendewarteschlangenlänge:0 \r\n          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)\r\n~~~"},"comment":{"url":"https://api.github.com/repos/lxc/lxc/issues/comments/119289356","html_url":"https://github.com/lxc/lxc/issues/582#issuecomment-119289356","issue_url":"https://api.github.com/repos/lxc/lxc/issues/582","id":119289356,"user":{"login":"c0d3z3r0","id":6205797,"avatar_url":"https://avatars.githubusercontent.com/u/6205797?v=3","gravatar_id":"","url":"https://api.github.com/users/c0d3z3r0","html_url":"https://github.com/c0d3z3r0","followers_url":"https://api.github.com/users/c0d3z3r0/followers","following_url":"https://api.github.com/users/c0d3z3r0/following{/other_user}","gists_url":"https://api.github.com/users/c0d3z3r0/gists{/gist_id}","starred_url":"https://api.github.com/users/c0d3z3r0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c0d3z3r0/subscriptions","organizations_url":"https://api.github.com/users/c0d3z3r0/orgs","repos_url":"https://api.github.com/users/c0d3z3r0/repos","events_url":"https://api.github.com/users/c0d3z3r0/events{/privacy}","received_events_url":"https://api.github.com/users/c0d3z3r0/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T18:13:23Z","updated_at":"2015-07-07T18:13:23Z","body":"Ok, I should have read the man page... :)\r\nEvery network block has to start with lxc.network.type."}}