可通过以下方式设置:1、解锁手机进入系统主界面; 2、然后点击界面中的设置进入;3、进入设置界面之后,点击无限区域网。 4、进入无线局域网之后,点击已连接的wifi,即可看到当前网络的IP地址。 5、另外,查询3G、4G下面的ip地址只需打开手机浏览器的百度页面或者搜狗页面,在搜索栏输入“ip”然后点击搜索,此时显示的ip地址就是手机上网ip了。1 找出该IP所对应的MAC地址: 通过查看系统的ARP缓存表可以找出某IP所对应的MAC地址。由于ARP不能跨VLAN进行,所以连接各个VLAN的路由模块MSFC就是最佳的选择--一般它在每一个VLAN都有一个端口(interface vlan n),能正确地进行ARP解释。 6509MSFC#ping 1010165Type escape sequence to abort Sending 5, 100-byte ICMP Echos to 1010165, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms 6509MSFC#show arp | in 1010165 Internet 1010165 2 00062973121d ARPA Vlan2通过以上命令,我们知道1010165的MAC地址是00062973121d, 这是IOS设备的MAC地址表达方式,在CatOS中,应写为00-06-29-73-12-1d 2在交换机上找出MAC地址所对应的端口 6509SE> (enable) show cam 00-06-29-73-12-1d = Static Entry + = Permanent Entry # = System Entry R = Router Entry X = Port Security Entry $ = Dot1x Security EntryVLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type] ---- ------------------ ----- ------------------------------------------- 2 00-06-29-73-12-1d 9/41 [ALL] Total Matching CAM Entries Displayed =1这是不是说IP为 1010165的机器就接在端口9/41上呢? 不一定。如果以下命令中显示该端口上只有一个活动的MAC地址,那么答案就是肯定的: 6509SE> (enable) show cam dynamic 9/41 = Static Entry + = Permanent Entry # = System Entry R = Router Entry X = Port Security Entry $ = Dot1x Security EntryVLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type] ---- ------------------ ----- ------------------------------------------- 2 00-06-29-73-12-1d 9/41 [ALL] Total Matching CAM Entries Displayed =1如果该命令显示该端口上有多个活动的MAC地址,那么这个端口应该连接到别的交换机或HUB设备上,见下面的例子(查找IP为10101250所对应的交换机端口): 6509MSFC#ping 10101250Type escape sequence to abort Sending 5, 100-byte ICMP Echos to 10101250, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms 6509MSFC#show arp | in 10101250 Internet 10101250 4 00096b8c64ec ARPA Vlan26509SE> (enable) show cam 00-09-6b-8c-64-ec = Static Entry + = Permanent Entry # = System Entry R = Router Entry X = Port Security Entry $ = Dot1x Security EntryVLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type] ---- ------------------ ----- ------------------------------------------- 2 00-09-6b-8c-64-ec 3/11 [ALL] Total Matching CAM Entries Displayed =1 6509SE> (enable) show cam dy 3/11 = Static Entry + = Permanent Entry # = System Entry R = Router Entry X = Port Security Entry $ = Dot1x Security Entry VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type] ---- ------------------ ----- ------------------------------------------- 1 00-03-e3-4b-06-80 3/11 [ALL] 1 00-08-02-e6-b0-cd 3/11 [ALL] 1 00-02-a5-ee-f2-4f 3/11 [ALL] 1 00-09-6b-8c-66-d6 3/11 [ALL] 1 00-09-6b-63-17-d9 3/11 [ALL] 1 00-0b-cd-03-ec-f5 3/11 [ALL] 1 00-09-6b-63-17-d8 3/11 [ALL] 1 00-08-02-e6-b0-c1 3/11 [ALL] 1 00-08-02-e6-b0-85 3/11 [ALL] 1 00-08-02-e6-b0-81 3/11 [ALL] 1 00-02-a5-ef-16-af 3/11 [ALL] 1 00-02-a5-ee-f2-93 3/11 [ALL] 1 00-02-55-c6-05-61 3/11 [ALL] 2 00-09-6b-8c-64-ec 3/11 [ALL] 1 00-08-02-e6-b0-ed 3/11 [ALL] 1 00-08-02-e6-b0-a9 3/11 [ALL] 1 00-02-55-54-7a-e0 3/11 [ALL] 1 00-02-a5-ef-15-a6 3/11 [ALL] 1 00-08-02-e6-af-8f 3/11 [ALL] 1 00-08-02-e6-b0-bd 3/11 [ALL] 1 00-0b-cd-03-db-8b 3/11 [ALL] 1 00-09-6b-8c-25-50 3/11 [ALL] Do you wish to continue y/n [n] n由于该端口连接到另一台交换机或HUB,必须继续追查,方法如下: 6509SE> (enable) show cdp nei 3/11 - indicates vlan mismatch # - indicates duplex mismatch Port Device-ID Port-ID Platform -------- ------------------------------- ------------------------- ------------ 3/11 Cisco2924 GigabitEthernet1/1 cisco WS-C2924M-XL该命令显示对端设备是一台Cisco2924,如果没有显示,那么说明连接的是别的厂家的设备,可能要到该交换机上用类似的办法继续追查。本例子中是Cisco 设备,所有我们可以继续: 6509SE> (enable) show cdp nei 3/11 de Port (Our Port): 3/11 Device-ID: Cisco2924 Device Addresses: IP Address: 1010060 Holdtime: 153 sec Capabilities: TRANSPARENT_BRIDGE SWITCH Version: Cisco Internetwork Operating System Software IOS (tm) C2900XL Software (C2900XL-C3H2S-M), Version 120(52)XU, MAINTENANCE INTERIM SOFTWARE Copyright (c) 1986-2000 by cisco Systems, Inc Compiled Mon 17-Jul-00 17:35 by ayounes Platform: cisco WS-C2924M-XL Port-ID (Port on Neighbors's Device): GigabitEthernet1/1 VTP Management Domain: lan Native VLAN: 1 Duplex: full System Name: unknown System Object ID: unknown Management Addresses: unknown Physical Location: unknownCisco2924#show mac-address-table dynamic address 00096b8c64ec Non-static Address Table: Destination Address Address Type VLAN Destination Port ------------------- ------------ ---- -------------------- 00096b8c64ec Dynamic 2 FastEthernet0/2Cisco2924#show mac-address-table dynamic interface f0/2 Non-static Address Table: Destination Address Address Type VLAN Destination Port ------------------- ------------ ---- -------------------- 00096b8c64ec Dynamic 2 FastEthernet0/2通过以上命令可知,MAC地址00096b8c64ec 与Cisco 2924交换机相连,且是该端口上唯一活动的MAC地址,所以IP为10101250的机器应该就连接在这个端口上。 摘自lovelintao发表Openwrt已经安装了这两个文件,出现了/dev/usb/lp0,在p910nd文件中也已经修改了, 电脑上安装了2900的驱动之后,打印,却提示“不支持打印机连接的端口” opkg update opkg install luci-app-p910nd opkg install kmod-usb-printer
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)