如何在宿主机上查看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: 
复制代码

 

posted @   bass  阅读(3063)  评论(0编辑  收藏  举报
编辑推荐:
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 字符编码:从基础到乱码解决
历史上的今天:
2016-12-06 redis 常用命令
点击右上角即可分享
微信分享提示