{"action":"opened","issue":{"url":"https://api.github.com/repos/coreos/rkt/issues/2811","repository_url":"https://api.github.com/repos/coreos/rkt","labels_url":"https://api.github.com/repos/coreos/rkt/issues/2811/labels{/name}","comments_url":"https://api.github.com/repos/coreos/rkt/issues/2811/comments","events_url":"https://api.github.com/repos/coreos/rkt/issues/2811/events","html_url":"https://github.com/coreos/rkt/issues/2811","id":160836444,"number":2811,"title":"Macvlan with KVM doesn't seem to work","user":{"login":"slallema","id":2294310,"avatar_url":"https://avatars.githubusercontent.com/u/2294310?v=3","gravatar_id":"","url":"https://api.github.com/users/slallema","html_url":"https://github.com/slallema","followers_url":"https://api.github.com/users/slallema/followers","following_url":"https://api.github.com/users/slallema/following{/other_user}","gists_url":"https://api.github.com/users/slallema/gists{/gist_id}","starred_url":"https://api.github.com/users/slallema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slallema/subscriptions","organizations_url":"https://api.github.com/users/slallema/orgs","repos_url":"https://api.github.com/users/slallema/repos","events_url":"https://api.github.com/users/slallema/events{/privacy}","received_events_url":"https://api.github.com/users/slallema/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-17T08:24:19Z","updated_at":"2016-06-17T08:24:19Z","closed_at":null,"body":"**Environment**\r\nI have tested this on CoreOS stable and archlinux + rkt 1.8\r\n\r\n```\r\nrkt Version: 1.8.0\r\nappc Version: 0.8.4\r\nGo Version: go1.6.2\r\nGo OS/Arch: linux/amd64\r\nFeatures: -TPM\r\n--\r\nLinux 4.5.0-coreos-r1 x86_64\r\n--\r\nNAME=CoreOS\r\nID=coreos\r\nVERSION=1010.5.0\r\nVERSION_ID=1010.5.0\r\nBUILD_ID=2016-05-26-2225\r\nPRETTY_NAME=\"CoreOS 1010.5.0 (MoreOS)\"\r\nANSI_COLOR=\"1;32\"\r\nHOME_URL=\"https://coreos.com/\"\r\nBUG_REPORT_URL=\"https://github.com/coreos/bugs/issues\"\r\n--\r\nsystemd 225\r\n-PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS -ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN\r\n```\r\n\r\n**What did you do?**\r\n\r\nLaunch a container with kvm stage1 and macvlan network config\r\n\r\nThe network config\r\n```\r\n$ cat /etc/rkt/net.d/10-bond0.conf\r\n{\r\n  \"name\": \"rkt\",\r\n  \"type\": \"macvlan\",\r\n  \"master\": \"bond0\",\r\n  \"ipam\": {\r\n    \"type\": \"host-local\",\r\n    \"subnet\": \"10.113.32.0/19\",\r\n    \"rangeStart\": \"10.113.36.66\",\r\n    \"rangeEnd\": \"10.113.36.126\",\r\n    \"gateway\": \"10.113.63.254\",\r\n    \"routes\": [{\"dst\":\"0.0.0.0/0\"}]\r\n  }\r\n}\r\n```\r\nAnd I start it with : \r\n```\r\n# rkt --insecure-options=image run --stage1-path=/opt/bin/stage1-kvm.aci aci.bbc/aci-systools --interactive --net=rkt\r\nimage: using image from file /opt/bin/stage1-kvm.aci\r\nimage: using image from local store for image name aci.bbc/aci-systools\r\nimage: using image from local store for image name aci.bbc/aci-base,version=29\r\nimage: using image from local store for image name aci.bbc/aci-debian,version=8-2\r\nnetworking: loading networks from /etc/rkt/net.d\r\nkvm: network unit created: \"interface-eth0.service\" in \"stage1/rootfs/usr/lib/systemd/system\" (iface=\"eth0\", addr=\"10.113.36.69/19\")\r\nkvm: network unit created: \"interface-eth1.service\" in \"stage1/rootfs/usr/lib/systemd/system\" (iface=\"eth1\", addr=\"172.16.28.4/24\")\r\n\r\nroot@rkt-187bbdfd-2684-4f67-b0b4-0ae26b86d9f7:/# ping 10.113.63.254\r\nPING 10.113.63.254 (10.113.63.254) 56(84) bytes of data.\r\n^C\r\n--- 10.113.63.254 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 999ms\r\n```\r\n\r\n\r\n**What did you expect to see?**\r\nPing the gateway and other hosts of the same lan.\r\n\r\n**What did you see instead?**\r\nNo network connectivity on macvlan interface, but I can ping the host on the ptp interface."}}
{"actor":{"display_login":"slallema"}}