Centos7 Version을 설치하면 아래와 같이 virbr0 라는 이름의 Network Interface 가 생긴것을 확인할 수 있다.
[root@centos7 /]# [root@centos7 /]# ip a
... 중략
11: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN link/ether 52:54:00:a1:27:47 brd ff:ff:ff:ff:ff:ff inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
... 중략
|
virbr0는 kernel 기반 Hypervisor인 kvm 서비스에서 사용하는 OpenvSwitch 기반의 VLAN NAT Interface 이다.
때문에 kvm 기반 가상화 서비스를 제공하지 않는다면 불필요한 N/W Interface이며 아래와 같은 방법으로 비활성화 가능하다.
[root@centos7 /]# [root@centos7 /]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@centos7 /]# [root@centos7 /]# [root@centos7 /]# [root@centos7 /]# systemctl list-unit-files | grep libvirtd libvirtd.service enabled libvirtd.socket static [root@centos7 /]# [root@centos7 /]# [root@centos7 /]# [root@centos7 /]# systemctl status libvirtd.service ● libvirtd.service - Virtualization daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2018-01-19 23:33:04 KST; 2h 51min ago Docs: man:libvirtd(8) http://libvirt.org Main PID: 2586 (libvirtd) CGroup: /system.slice/libvirtd.service ├─ 2586 /usr/sbin/libvirtd ├─13347 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper └─13348 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
Jan 19 23:33:04 centos7 systemd[1]: Started Virtualization daemon. Jan 19 23:33:08 centos7 dnsmasq[13347]: started, version 2.66 cachesize 150 Jan 19 23:33:08 centos7 dnsmasq[13347]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth Jan 19 23:33:08 centos7 dnsmasq-dhcp[13347]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h Jan 19 23:33:08 centos7 dnsmasq[13347]: reading /etc/resolv.conf Jan 19 23:33:08 centos7 dnsmasq[13347]: using nameserver 147.6.44.45#53 Jan 19 23:33:08 centos7 dnsmasq[13347]: using nameserver 147.6.44.44#53 Jan 19 23:33:08 centos7 dnsmasq[13347]: read /etc/hosts - 2 addresses Jan 19 23:33:08 centos7 dnsmasq[13347]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses Jan 19 23:33:08 centos7 dnsmasq-dhcp[13347]: read /var/lib/libvirt/dnsmasq/default.hostsfile [root@centos7 /]# [root@centos7 /]# [root@centos7 /]# virsh net-destroy default Network default destroyed
[root@centos7 /]# [root@centos7 /]# virsh net-undefine default Network default has been undefined
[root@centos7 /]# [root@centos7 /]# systemctl disable libvirtd Removed symlink /etc/systemd/system/multi-user.target.wants/libvirtd.service. [root@centos7 /]# [root@centos7 /]# systemctl stop libvirtd [root@centos7 /]# [root@centos7 /]# |