<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-13513711.post7842750234713721017..comments</id><updated>2009-12-18T00:37:20.073-05:00</updated><title type='text'>Comments on Alan Tan: QEMU TAP bridge network configuration</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.alantan.com/feeds/7842750234713721017/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html'/><author><name>Alan Tan</name><uri>http://www.blogger.com/profile/09443773579322724519</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-13513711.post-5333685238451578397</id><published>2009-12-17T07:50:35.077-05:00</published><updated>2009-12-17T07:50:35.077-05:00</updated><title type='text'>I had to run qemu as root to get this to work - ot...</title><content type='html'>I had to run qemu as root to get this to work - otherwise it complains about an ioctl on /dev/net/tun failing. I tried chmod and tunctl but couldn&amp;#39;t get it to work as non-root.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/5333685238451578397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/5333685238451578397'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html?showComment=1261054235077#c5333685238451578397' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html' ref='tag:blogger.com,1999:blog-13513711.post-7842750234713721017' source='http://www.blogger.com/feeds/13513711/posts/default/7842750234713721017' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-13513711.post-7124444567384571846</id><published>2009-12-17T05:53:32.056-05:00</published><updated>2009-12-17T05:53:32.056-05:00</updated><title type='text'>Thanks for the simple instructions. 

As another p...</title><content type='html'>Thanks for the simple instructions. &lt;br /&gt;&lt;br /&gt;As another poster pointed out, &amp;quot;nameif -r&amp;quot; doesn&amp;#39;t work, you can use &amp;quot;nameif reth0 00:aa:bb:cc:dd:ee&amp;quot; instead (replace with your MAC address), or specify this in /etc/mactab (see man nameif for more).&lt;br /&gt;&lt;br /&gt;One thing that wasn&amp;#39;t obvious for me is the actual qemu syntax: &amp;quot;qemu -net tap&amp;quot; won&amp;#39;t work, instead you need to do &amp;quot;qemu -net nic -net tap&amp;quot;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/7124444567384571846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/7124444567384571846'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html?showComment=1261047212056#c7124444567384571846' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html' ref='tag:blogger.com,1999:blog-13513711.post-7842750234713721017' source='http://www.blogger.com/feeds/13513711/posts/default/7842750234713721017' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-13513711.post-6064424130752188932</id><published>2009-09-21T02:47:52.178-04:00</published><updated>2009-09-21T02:47:52.178-04:00</updated><title type='text'>Great article, thanks!

FYI, I put these three lin...</title><content type='html'>Great article, thanks!&lt;br /&gt;&lt;br /&gt;FYI, I put these three lines in my /etc/qemu-ifup:&lt;br /&gt;&lt;br /&gt;sudo /usr/sbin/tunctl -t tap0&lt;br /&gt;sudo /sbin/ifconfig $1 0.0.0.0 promisc up&lt;br /&gt;sudo /usr/sbin/brctl addif br0 $1</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/6064424130752188932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/6064424130752188932'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html?showComment=1253515672178#c6064424130752188932' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html' ref='tag:blogger.com,1999:blog-13513711.post-7842750234713721017' source='http://www.blogger.com/feeds/13513711/posts/default/7842750234713721017' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-13513711.post-5886316344733401306</id><published>2008-10-31T06:28:00.000-04:00</published><updated>2008-10-31T06:28:00.000-04:00</updated><title type='text'>should we give the same mac address to nic in gues...</title><content type='html'>should we give the same mac address to nic in guest os as held by tap device?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/5886316344733401306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/5886316344733401306'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html?showComment=1225448880000#c5886316344733401306' title=''/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/08461791061004256871</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html' ref='tag:blogger.com,1999:blog-13513711.post-7842750234713721017' source='http://www.blogger.com/feeds/13513711/posts/default/7842750234713721017' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-13513711.post-4996176671664638085</id><published>2008-10-31T06:26:00.000-04:00</published><updated>2008-10-31T06:26:00.000-04:00</updated><title type='text'>I am still unable to get it to work. What ip/netwo...</title><content type='html'>I am still unable to get it to work. What ip/network address should I provide to tap device? What ip/network should be given to nic in guest os?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/4996176671664638085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/4996176671664638085'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html?showComment=1225448760000#c4996176671664638085' title=''/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/08461791061004256871</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html' ref='tag:blogger.com,1999:blog-13513711.post-7842750234713721017' source='http://www.blogger.com/feeds/13513711/posts/default/7842750234713721017' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-13513711.post-5335951055875482948</id><published>2008-09-03T07:54:00.000-04:00</published><updated>2008-09-03T07:54:00.000-04:00</updated><title type='text'>A minor nitpic: nameif -r doesn't workYou might wa...</title><content type='html'>A minor nitpic: nameif -r doesn't work&lt;BR/&gt;You might want to use "ip link set eth0 name reth0" instead</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/5335951055875482948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/5335951055875482948'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html?showComment=1220442840000#c5335951055875482948' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html' ref='tag:blogger.com,1999:blog-13513711.post-7842750234713721017' source='http://www.blogger.com/feeds/13513711/posts/default/7842750234713721017' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-13513711.post-7020791475443847790</id><published>2008-06-13T16:11:00.000-04:00</published><updated>2008-06-13T16:11:00.000-04:00</updated><title type='text'>Great explanations Alan!! Unfortunately, it seems ...</title><content type='html'>Great explanations Alan!! &lt;BR/&gt;&lt;BR/&gt;Unfortunately, it seems that there is a lack of (good) documentation about bridged networking in QEMU/KVM. I followed instructions from a couple of sources on the web, telling me to do A, then B, C, etc, without offering an adequate reasoning. I ended up totally confused, and it took me a whole day to figure out why I was supposed to connect things in the way I was being told. Finally I found this article of yours. Well done!&lt;BR/&gt;&lt;BR/&gt;Thank you very much, indeed.&lt;BR/&gt;&lt;BR/&gt;V.I</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/7020791475443847790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/7020791475443847790'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html?showComment=1213387860000#c7020791475443847790' title=''/><author><name>V.I</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html' ref='tag:blogger.com,1999:blog-13513711.post-7842750234713721017' source='http://www.blogger.com/feeds/13513711/posts/default/7842750234713721017' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-13513711.post-3556403327439741748</id><published>2008-05-14T14:36:44.678-04:00</published><updated>2008-05-14T14:36:44.678-04:00</updated><title type='text'>You should be able to specify "-net nic .... -net ...</title><content type='html'>You should be able to specify "-net nic .... -net tap" like below: &lt;BR/&gt;&lt;BR/&gt;qemu -boot c -hda /hd1 -m 1024  -localtime -net nic,macaddr1=0e:50:40:17:39:01 &lt;BR/&gt;-net tap</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/3556403327439741748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/3556403327439741748'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html?showComment=1210790204678#c3556403327439741748' title=''/><author><name>Alan Tan</name><uri>http://www.blogger.com/profile/09443773579322724519</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17878748151511316377'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html' ref='tag:blogger.com,1999:blog-13513711.post-7842750234713721017' source='http://www.blogger.com/feeds/13513711/posts/default/7842750234713721017' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-13513711.post-614094948216695846</id><published>2008-04-10T08:00:00.000-04:00</published><updated>2008-04-10T08:00:00.000-04:00</updated><title type='text'>Hi,how would one go about configuring a specific m...</title><content type='html'>Hi,&lt;BR/&gt;&lt;BR/&gt;how would one go about configuring a specific mac address to present to the guest on this tap/bridge configuration?&lt;BR/&gt;&lt;BR/&gt;It appears that macaddr= can only be set in -net nic mode ....</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/614094948216695846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/614094948216695846'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html?showComment=1207828800000#c614094948216695846' title=''/><author><name>ciphernaut</name><uri>http://www.blogger.com/profile/11521581784307250853</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html' ref='tag:blogger.com,1999:blog-13513711.post-7842750234713721017' source='http://www.blogger.com/feeds/13513711/posts/default/7842750234713721017' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-13513711.post-5290541110172299779</id><published>2008-03-03T04:43:00.000-05:00</published><updated>2008-03-03T04:43:00.000-05:00</updated><title type='text'>Your a Genius!One note: as mentioned in the commen...</title><content type='html'>Your a Genius!&lt;BR/&gt;One note: as mentioned in the comment above you have to create a tap device. To do this (on debian at least) you need uml-utilities and use tunctl -t tap0.&lt;BR/&gt;Cheers</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/5290541110172299779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/5290541110172299779'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html?showComment=1204537380000#c5290541110172299779' title=''/><author><name>Mark</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html' ref='tag:blogger.com,1999:blog-13513711.post-7842750234713721017' source='http://www.blogger.com/feeds/13513711/posts/default/7842750234713721017' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-13513711.post-4750180958749495606</id><published>2007-10-28T22:17:00.000-04:00</published><updated>2007-10-28T22:17:00.000-04:00</updated><title type='text'>Thanks a lot for your document !!!Finally I unders...</title><content type='html'>Thanks a lot for your document !!!&lt;BR/&gt;&lt;BR/&gt;Finally I understood the reason of being of bridge. I've read a lot of documents, saying to use iptables and others complex things, In layer 2 iptables?.... &lt;BR/&gt;&lt;BR/&gt;Only one comment to your doc, tap device must be created before to sucessfully attach it to the bridge.&lt;BR/&gt;&lt;BR/&gt;In my distro, rename interface is:&lt;BR/&gt;&lt;BR/&gt;nameif reth0 00:13:D4:3F:92:E0&lt;BR/&gt;&lt;BR/&gt;where 00:.... is the MAC address of physical interface.&lt;BR/&gt;&lt;BR/&gt;THANKS A LOT FOR YOUR HELP</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/4750180958749495606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/4750180958749495606'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html?showComment=1193624220000#c4750180958749495606' title=''/><author><name>Mariano</name><uri>http://www.blogger.com/profile/06018960991699580198</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html' ref='tag:blogger.com,1999:blog-13513711.post-7842750234713721017' source='http://www.blogger.com/feeds/13513711/posts/default/7842750234713721017' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-13513711.post-8000433004310128802</id><published>2007-08-23T12:21:00.000-04:00</published><updated>2007-08-23T12:21:00.000-04:00</updated><title type='text'>Alan,Thanks for your suggestion on bridging TAP in...</title><content type='html'>Alan,&lt;BR/&gt;&lt;BR/&gt;Thanks for your suggestion on bridging TAP interfaces; I was one of those guys trying to tweak multiple TAPs and routing between them.... bridging is far easier!&lt;BR/&gt;&lt;BR/&gt;And you are right about the lack of quality documentation.&lt;BR/&gt;&lt;BR/&gt;Mark.&lt;BR/&gt;lau.nam.mee[at]gmail.com</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/8000433004310128802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13513711/7842750234713721017/comments/default/8000433004310128802'/><link rel='alternate' type='text/html' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html?showComment=1187886060000#c8000433004310128802' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.alantan.com/2007/01/qemu-tap-bridge-network-configuration.html' ref='tag:blogger.com,1999:blog-13513711.post-7842750234713721017' source='http://www.blogger.com/feeds/13513711/posts/default/7842750234713721017' type='text/html'/></entry></feed>