{"id":1504,"date":"2015-05-22T23:18:34","date_gmt":"2015-05-22T15:18:34","guid":{"rendered":"https:\/\/ros.tw\/wp\/?p=1504"},"modified":"2015-05-22T23:29:16","modified_gmt":"2015-05-22T15:29:16","slug":"to-create-a-qemu-guest-with-more-than-one-nic-just-repeat-the-net-commands","status":"publish","type":"post","link":"https:\/\/ros.tw\/wp\/?p=1504","title":{"rendered":"To create a qemu guest with more than one nic, just repeat the -net commands"},"content":{"rendered":"<p>To create a qemu guest with more than one nic, just repeat the -net commands<\/p>\n<p>qemu -net tap,vlan=0,ifname=tap0,script=.\/qemu-ifup -net nic,vlan0 \\ -net tap,vlan=0,ifname=tap1,script=.\/qemu-ifup -net nic,vlan0 \\ -net tap,vlan=0,ifname=tap2,script=.\/qemu-ifup -net nic,vlan0 \\ -boot d -cdrom alpine*.iso}}<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>qemu-system-x86_64 rhel6u3.img -smp 2 -m 1024 -net nic -net<\/strong><strong>tap,ifname=tap1,script=\/etc\/qemu-ifup,downscript=no -vnc :0<\/strong> <strong>-daemonize<\/strong><\/p>\n<pre><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To create a qemu guest with more than on &hellip; <a href=\"https:\/\/ros.tw\/wp\/?p=1504\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1504","post","type-post","status-publish","format-standard","hentry","category-ros"],"_links":{"self":[{"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1504"}],"version-history":[{"count":3,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1504\/revisions"}],"predecessor-version":[{"id":1507,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1504\/revisions\/1507"}],"wp:attachment":[{"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}