리눅스 (Linux)2015. 12. 25. 00:01

virbr0 NAT 인터페이스 disable


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  ]



'리눅스 (Linux)' 카테고리의 다른 글

Hostname명 변경  (0) 2015.12.25
리눅스 런레벨  (0) 2015.12.25
리눅스 버전확인  (0) 2015.12.25
yum 사용법(redhat계열 패키지설치)  (0) 2015.12.25
redhat 에서 telnet 설정하기  (0) 2015.12.25
Posted by 랩퍼우