如何在宿主机上查看kvm虚拟机的IP
# arp -a ? (10.100.0.91) at 20:3c:ce:94:f2:19 [ether] on br0 gateway (10.100.0.1) at 3a:8c:40:c8:ac:d5 [ether] on br0 ? (10.100.0.122) at b4:0b:44:d4:fc:72 [ether] on br0 ? (10.100.0.123) at 00:51:56:a7:60:86 [ether] on br0 ? (10.100.0.171) at b8:52:ac:e6:c5:76 [ether] on br0 ? (10.100.0.38) at ac:c3:ee:c0:84:97 [ether] on br0 ? (10.100.0.121) at fc:12:10:f9:c0:6b [ether] on br0 ? (10.100.0.36) at c0:9f:01:e1:cf:99 [ether] on br0 ? (10.100.0.174) at 11:da:e9:e2:e7:8f [ether] on br0 ? (10.100.0.220) at 51:54:00:fb:81:56 [ether] on br0 [root@666 profile-pro]# virsh dumpxml c01|grep mac <partition>/machine</partition> <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type> <mac address='51:54:00:fb:81:56'/> [root@666 profile-pro]# ssh 10.100.0.220 root@10.100.0.220's password:
联系方式QQ:326528263 EMAIL:clnking@163.com 网名:bass 分享技术 突破难点 创新思维