{"id":3116,"date":"2016-06-10T11:15:40","date_gmt":"2016-06-10T11:15:40","guid":{"rendered":"http:\/\/blog.shineservers.com\/?p=3101"},"modified":"2016-06-10T11:15:40","modified_gmt":"2016-06-10T11:15:40","slug":"linux-kvm-disable-virbr0-nat-interface","status":"publish","type":"post","link":"https:\/\/www.shineservers.com\/2016\/06\/10\/linux-kvm-disable-virbr0-nat-interface\/","title":{"rendered":"Linux KVM: Disable virbr0 NAT Interface"},"content":{"rendered":"<p><span class=\"drop_cap\">T<\/span>he virtual network (virbr0) used for Network address translation (NAT) which allows guests to access to network services. However, NAT slows down things and only recommended for desktop installations. To disable Network address translation (NAT) forwarding type the following commands:<br \/>\n<span id=\"more-7886\"><\/span><\/p>\n<p>&nbsp;<\/p>\n<h2>Display Current Setup<\/h2>\n<p>Type the following command:<br \/>\n<code># ifconfig<\/code><br \/>\nSample outputs:<\/p>\n<blockquote><p>virbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00<br \/>\n          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0<br \/>\n          inet6 addr: fe80::200:ff:fe00:0\/64 Scope:Link<br \/>\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br \/>\n          RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br \/>\n          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0<br \/>\n          collisions:0 txqueuelen:0<br \/>\n          RX bytes:0 (0.0 b)  TX bytes:7921 (7.7 KiB)<\/p><\/blockquote>\n<p>Or use the following command:<br \/>\n<code># virsh net-list<\/code><br \/>\nSample outputs:<br \/>\nName                 State      Autostart<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\ndefault              active     yes<\/p>\n<p>To disable virbr0, enter:<br \/>\n<code># virsh net-destroy default<br \/>\n# virsh net-undefine default<br \/>\n# service libvirtd restart<br \/>\n# ifconfig\u00a0<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The virtual network (virbr0) used for Network address translation (NAT) which allows guests to access to network services. However, NAT slows down things and only recommended for desktop installations. To disable Network address translation (NAT) forwarding type the following commands: &nbsp; Display Current Setup Type the following command: # ifconfig Sample outputs: virbr0 Link encap:Ethernet [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[53],"tags":[],"class_list":["post-3116","post","type-post","status-publish","format-standard","hentry","category-general"],"acf":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/posts\/3116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/comments?post=3116"}],"version-history":[{"count":0,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/posts\/3116\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/media?parent=3116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/categories?post=3116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/tags?post=3116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}