4

物理机&&虚拟机 抓包问题

 3 years ago
source link: https://www.v2ex.com/t/802235
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

物理机&&虚拟机 抓包问题

  AJDX3906 · 13 小时 56 分钟前 via Android · 534 次点击
1. 物理机如何抓虚拟机的数据包
2. 虚拟机能获取物理机的数据嘛

求各位大佬指个路~
4 条回复    2021-09-16 18:38:49 +08:00

lithiumii

lithiumii   13 小时 46 分钟前

抓包是个网络问题,你把物理机的网指向你的虚拟机,或者虚拟机的网指向物理机,或者直接在路由器上抓,或者把你家网全转向到隔壁老王家让他抓,都行

AoEiuV020

AoEiuV020   12 小时 52 分钟前

虚拟机所有包都有经过物理机,所以肯定能抓的包,
虚拟机要抓物理机的包必须在物理机把网关设置成虚拟机,比如常见的旁路由设置,虚拟机才能抓到物理机的包,

lumious

lumious   10 小时 59 分钟前

理论上物理机网卡打开混杂模式,虚拟机网络模式为桥接,可以互相获取到对方的包
混杂模式启动时,网卡会把接收到的所有包推送给操作系统,如果关闭,只会传递目的 mac 地址为本网卡及广播的包

aaa5838769

aaa5838769   6 小时 28 分钟前

指定网卡抓包,如果物理机与虚拟机有网络交互,应该是可以抓取到的。

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK