virtual network (virbr0)´Â guestµéÀÌ ³×Æ®¿÷ ¼ºñ½º¿¡ Á¢±ÙÇÏ´Â °ÍÀ» Çã¶ôÇϱâÀ§Çؼ Network address translation (NAT) ¸¦ À§ÇØ »ç¿ëµÈ´Ù. ÇÏÁö¸¸ NAT´Â ´Ê°í µ¥½ºÅ©Å¾ ¼³Ä¡¸¦ À§Çؼ ±ÇÀåµÈ´Ù. ÀÌ Network address translation (NAT)¸¦ disable½ÃÅ°±â À§Çؼ´Â ¾Æ·¡¿Í °°ÀÌ ¼³Á¤ÇÑ´Ù.
[root@localhost home]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:XX:XX:XX:XX:XX
inet addr:XXX.XXX.XXX.XXX Bcast:XXX.XXX.XXX.255 Mask:255.255.255.0
inet6 addr: fe80::225:90ff:fe35:b86e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3526110 errors:0 dropped:0 overruns:0 frame:0
TX packets:862943 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5031895094 (4.6 GiB) TX bytes:60819497 (58.0 MiB)
Interrupt:16 Memory:fb5e0000-fb600000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:98 (98.0 b) TX bytes:98 (98.0 b)
virbr0 Link encap:Ethernet HWaddr 52:54:00:11:58:85
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:4420 (4.3 KiB)
[root@localhost home]# virsh net-list
Name State Autostart
-----------------------------------------
default active yes
[root@localhost home]# virsh net-destroy default
Network default destroyed
[root@localhost home]# virsh net-undefine default
Network default has been undefined
[root@localhost home]# service libvirtd restart
Stopping libvirtd daemon: [ OK ]
Starting libvirtd daemon: [ OK ]