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:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
virbr0 Link encap:Ethernet HWaddr 52:54:00:33:9A:C1 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:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
13.查看桥接网络
[root@SZ-P-L-KVM-18 ~]# brctl show bridge name bridge id STP enabled interfaces br0 8000.f01fafd1360e no em1 virbr0 8000.525400339ac1 yes virbr0-nic
14.查看虚拟主机
[root@SZ-P-L-KVM-18 ~]# virsh list --all (或使用 virsh -c qemu:///system list ) Id Name State ---------------------------------------------------- *还没安装虚拟机,所以现在列表是空的。