首页 用网卡抓到带tag的包

用网卡抓到带tag的包

举报
开通vip

用网卡抓到带tag的包一般PC上是抓不到802.1Q Frame的,主要是网卡驱动或硬件的问题。一般网卡驱动接受数据都是忽略了Frame中TAG数据,而有些网卡驱动能支持802.1Q Frame(比如intel的一些网卡),一些高端服务器的网卡可能会支持802.1Q。 Intel PRO xxx级别的网卡就可以支持的,如果inter pro XXX的网卡不支持tag的话,可以有两种解决方式试试看: 1.修改注册表:HKEYLOCALMACHINE\SYSTEM\ControlSet001\Control\Class{4D36E972...

用网卡抓到带tag的包
一般PC上是抓不到802.1Q Frame的,主要是网卡驱动或硬件的问题。一般网卡驱动接受数据都是忽略了Frame中TAG数据,而有些网卡驱动能支持802.1Q Frame(比如intel的一些网卡),一些高端服务器的网卡可能会支持802.1Q。 Intel PRO xxx级别的网卡就可以支持的,如果inter pro XXX的网卡不支持tag的话,可以有两种解决方式试试看: 1.修改注册表:HKEYLOCALMACHINE\SYSTEM\ControlSet001\Control\Class{4D36E972-E325-11CE-BFC1-08002BE10318}\00xx下的MonitorModeEnabled改为1,如果不存在则新建这么一个dword键。 2、升级inter PRO 100 网卡驱动版本到6.x 或者7.x 或者更新的版本。 Intel PRO xxx级别的网卡就可以支持的 1.在Intel网卡管理界面中开启网卡802.1pq标签功能 2.在左边窗口栏目的网卡上点击鼠标右键并选择添加VLAN Intel只要是服务器级别的网卡且加载原厂的驱动就支持的intel PCI的服务器网卡和普通网卡有什么好的区分方法吗? 这个还是根据具体的型号来区分的,就是网卡上那些印刷着类似“PWLA8490MT”这些字样来辨别的。除非是经常买网卡很熟悉的人,基本一眼就可以区分了。 根据外观来区分也是可以的,不过不是很准确,呵呵!一般server的网卡在工艺、用料、质量和体积方面感觉都是比 (1)如何设置windows以抓取报文的vlan tag(针对Broadcom57××网卡) Q: 在定位问题时,经常需要抓包,有时需要抓取带有报文里的tag,但通常情况下,windows会自动将收到的带有vlan tag的报文的tag去掉,那么如何设置才能抓取到报文的vlan tag呢? A: 针对Broadcom 57××系列网卡,可以通过修改注册表表项来实现该功能: 1、在注册表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet中搜索TxCoalescingTicks。 2、在TxCoalescingTicks同一个位置,新建一项PreserveVlanInfoInRxPacket。 3、将新建的PreserveVlanInfoInRxPacket的值设置为1。 4、重启电脑。 (2)如何在VISTA下面抓到带VLAN tag的报文? 新买的thinkpad T61,系统是VISTA Ultimate,网卡是intel 82566MM gigabit network connection。 抓包工具用了wireshark和sniffer发现都抓不到带tag的报文,相同环境下用另外一部台式机抓包发现是有tag的。 后来上网查了一下发现对于某些网卡需要修改注册表,-- http://wiki.wireshark.org/Captur ... f2f8b752e95f2562efb。 上门链接里面对于intel网卡的说明: Special flag settings For some of the more sophisticated adapters, a flag can be set to disable the stripping of VLAN tags. Intel Some Intel Ethernet adapters and their drivers will, by default, strip VLAN tags when processing packets or strip tagged packets completely. If you want to see the VLAN tags when capturing on one of those adapters in promiscuous mode on Windows, you will need to disable this feature. You may also need to upgrade your driver for that. This is unrelated to working with Intel's specialized driver that adds VLAN support (see below). See Intel's original support note on this for more details. 然后从上文中链接到intel的网页--http://support.intel.com/support/network/sb/CS-005897.htm 上,发现他需要改一个注册表的键值: To allow tagged frames to be passed to your packet capture software you must go into the registry and either add a registry dword and value or change the value of the registry key. The registry dword is MonitorModeEnabled.  It should be placed at: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\00xx where xx is the instance of the network adapter that you need to see tags on. (Check by opening and viewing the name of the adapter). It should be set to read: MonitorModeEnabled= 1 Note: ControlSet001 may need to be CurrentControlSet or another 00x number.
本文档为【用网卡抓到带tag的包】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_067635
暂无简介~
格式:doc
大小:24KB
软件:Word
页数:2
分类:互联网
上传时间:2012-03-21
浏览量:17