{"action":"created","issue":{"url":"https://api.github.com/repos/kholia/OSX-KVM/issues/79","repository_url":"https://api.github.com/repos/kholia/OSX-KVM","labels_url":"https://api.github.com/repos/kholia/OSX-KVM/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/kholia/OSX-KVM/issues/79/comments","events_url":"https://api.github.com/repos/kholia/OSX-KVM/issues/79/events","html_url":"https://github.com/kholia/OSX-KVM/issues/79","id":241728103,"number":79,"title":"Can't get tap networking to work on Arch Linux","user":{"login":"C0rn3j","id":1641362,"avatar_url":"https://avatars1.githubusercontent.com/u/1641362?v=3","gravatar_id":"","url":"https://api.github.com/users/C0rn3j","html_url":"https://github.com/C0rn3j","followers_url":"https://api.github.com/users/C0rn3j/followers","following_url":"https://api.github.com/users/C0rn3j/following{/other_user}","gists_url":"https://api.github.com/users/C0rn3j/gists{/gist_id}","starred_url":"https://api.github.com/users/C0rn3j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/C0rn3j/subscriptions","organizations_url":"https://api.github.com/users/C0rn3j/orgs","repos_url":"https://api.github.com/users/C0rn3j/repos","events_url":"https://api.github.com/users/C0rn3j/events{/privacy}","received_events_url":"https://api.github.com/users/C0rn3j/received_events","type":"User","site_admin":false},"labels":[{"id":283133693,"url":"https://api.github.com/repos/kholia/OSX-KVM/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-07-10T14:16:14Z","updated_at":"2017-07-12T06:48:48Z","closed_at":"2017-07-10T14:51:21Z","body":"I'm using:\r\n\r\n* Arch Linux (4.11.9)\r\n* El Capitan image \r\n* Networking relevant parts from boot-macOS.sh script look like this,\r\n\r\n```\r\n# -netdev user,id=net0 -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \\ # this works, but slowly!\r\n-netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \\\r\n```\r\n\r\nI can't for the love of god get the tap networking thing to work. \r\n\r\nI tried these commands - they executed successfully.\r\n\r\n```\r\nsudo ip tuntap add dev tap0 mode tap\r\nsudo ip link set tap0 up promisc on\r\nsudo brctl addif virbr0 tap0\r\n```\r\n\r\nBut adding the tap line networking line gives me no network when I boot the virtual through the script.\r\n\r\nThis is output from `ip a` on host,\r\n\r\n```\r\n$ ip a             \r\n1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000\r\n    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\r\n    inet 127.0.0.1/8 scope host lo\r\n       valid_lft forever preferred_lft forever\r\n    inet6 ::1/128 scope host \r\n       valid_lft forever preferred_lft forever\r\n2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000\r\n    link/ether 78:24:af:37:08:9b brd ff:ff:ff:ff:ff:ff\r\n    inet 192.168.1.100/24 brd 192.168.1.255 scope global eno1\r\n       valid_lft forever preferred_lft forever\r\n    inet 192.168.1.125/24 brd 192.168.1.255 scope global secondary eno1\r\n       valid_lft forever preferred_lft forever\r\n    inet6 fde6:2d3b:2625::751/128 scope global \r\n       valid_lft forever preferred_lft forever\r\n    inet6 fde6:2d3b:2625:0:3ca3:3ac9:94f0:c39e/64 scope global mngtmpaddr noprefixroute \r\n       valid_lft forever preferred_lft forever\r\n    inet6 fde6:2d3b:2625:0:5244:1ac9:d3fa:d129/64 scope global noprefixroute \r\n       valid_lft forever preferred_lft forever\r\n    inet6 fe80::3937:54c0:a79d:e6c9/64 scope link \r\n       valid_lft forever preferred_lft forever\r\n3: virbr1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000\r\n    link/ether 52:54:00:b9:a3:6c brd ff:ff:ff:ff:ff:ff\r\n    inet 192.168.100.1/24 brd 192.168.100.255 scope global virbr1\r\n       valid_lft forever preferred_lft forever\r\n4: virbr1-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr1 state DOWN group default qlen 1000\r\n    link/ether 52:54:00:b9:a3:6c brd ff:ff:ff:ff:ff:ff\r\n5: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000\r\n    link/ether 02:70:19:6e:96:45 brd ff:ff:ff:ff:ff:ff\r\n    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0\r\n       valid_lft forever preferred_lft forever\r\n6: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN group default qlen 1000\r\n    link/ether 52:54:00:d4:49:4f brd ff:ff:ff:ff:ff:ff\r\n12: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master virbr0 state UNKNOWN group default qlen 1000\r\n    link/ether fe:54:00:ab:19:04 brd ff:ff:ff:ff:ff:ff\r\n    inet6 fe80::fc54:ff:feab:1904/64 scope link \r\n       valid_lft forever preferred_lft forever\r\n20: tap0: <NO-CARRIER,BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc fq_codel master virbr0 state DOWN group default qlen 1000\r\n    link/ether 02:70:19:6e:96:45 brd ff:ff:ff:ff:ff:ff\r\n```\r\n\r\nAny help/hints welcome."},"comment":{"url":"https://api.github.com/repos/kholia/OSX-KVM/issues/comments/314670793","html_url":"https://github.com/kholia/OSX-KVM/issues/79#issuecomment-314670793","issue_url":"https://api.github.com/repos/kholia/OSX-KVM/issues/79","id":314670793,"user":{"login":"kholia","id":79528,"avatar_url":"https://avatars2.githubusercontent.com/u/79528?v=3","gravatar_id":"","url":"https://api.github.com/users/kholia","html_url":"https://github.com/kholia","followers_url":"https://api.github.com/users/kholia/followers","following_url":"https://api.github.com/users/kholia/following{/other_user}","gists_url":"https://api.github.com/users/kholia/gists{/gist_id}","starred_url":"https://api.github.com/users/kholia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kholia/subscriptions","organizations_url":"https://api.github.com/users/kholia/orgs","repos_url":"https://api.github.com/users/kholia/repos","events_url":"https://api.github.com/users/kholia/events{/privacy}","received_events_url":"https://api.github.com/users/kholia/received_events","type":"User","site_admin":false},"created_at":"2017-07-12T06:48:48Z","updated_at":"2017-07-12T06:48:48Z","body":"I prefer having all the relevant information on this page. Like I said, `https://paste.c0rn3j.com` is down, and other readers of this page are going to have trouble following the conversation. Think from the perspective of other readers to understand what I am saying."}}
{"actor":{"display_login":"kholia"}}