ARP§ðÀ»¨¾¨î¶i¶¥½g---«L¿Õ¬ì§ÞARP¨¾¨î¸gÅç½Í
«e¬q®É¶¡¡A«L¿Õ¬ì§Þ°w¹ï¡§ARP¯f¬r¨¾¨î¤è®×¡¨¶i¦æ²³æ¤¶²Ð¡A±o¨ì¤F¼s¤j¥Î¤á©M·~¬ÉªºÃöª`»P¦nµû¡Cªñ´Á¡A«L¿Õ¬ì§Þªº§Þ³N¤uµ{®v¦b¤u§@¤S±o¨ì¤F·sªºµo²{¡A¬°¤F¶i¤@¨BÅý¤j®aÁA¸Ñ¨Ã¨¾¨îARP¡A¯S±À¥X¤FARP§ðÀ»¨¾¨î¶i¶¥½g¡A»P¥Î¤á̦@¦P±´°Q¡B¬ã¨s¡C
nÁA¸ÑARP´ÛÄF§ðÀ», §Ú̺¥ýnÁA¸ÑARP¨óij¥H¤Î¥¦ªº¤u§@ì²z¡A¥H§ó¦nªº¨Ó¨¾½d©M±Æ°£ARP§ðÀ»ªº±a¨Óªº¦M®`¡C¥»¤å¬°¤j®a±a¨Ó¶i¶¥ªºARP§ðÀ»¨¾¨î¤èªk¡C
°ò¥»ARP¤¶²Ð
ARP ¡§Address Resolution Protocol¡¨¡]¦a§}¸ÑªR¨óij¡^¡A§½°ìºô¤¤¡Aºôµ¸¤¤¹ê»Ú¶Ç¿éªº¬O¡§´V¡¨¡A´Vùر¬O¦³¥Ø¼Ð¥D¾÷ªºMAC¦a§}ªº¡C©Ò¿×¡§¦a§}¸ÑªR¡¨´N¬O¥D¾÷¦bµo°e´V«e±N¥Ø¼ÐIP¦a§}Âà´«¦¨¥Ø¼ÐMAC¦a§}ªº¹Lµ{¡CARP¨óijªº°ò¥»¥\¯à´N¬O³q¹L¥Ø¼Ð³]³ÆªºIP¦a§}¡A¬d¸ß¥Ø¼Ð³]³ÆªºMAC¦a§}¡A¥H«OÃÒ³q«Hªº¶¶§Q¶i¦æ¡C
ARP¨óijªº¤u§@ì²z¡G¦b¨C¥x¦w¸Ë¦³TCP/IP¨óijªº¹q¸£ùس£¦³¤@ÓARP½w¦sªí¡AªíùتºIP¦a§}»PMAC¦a§}¬O¤@¤@¹ïÀ³ªº¡A¦pªí©Ò¥Ü¡C
IP§} |
MAC¦a§} |
192.168.1.1 |
00-0f-3d-83-74-28 |
192.168.1.2 |
00-aa-00-62-c5-03 |
192.168.1.3 |
03-aa-01-75-c3-06 |
§ÚÌ¥H¥D¾÷A¡]192.168.1.5¡^¦V¥D¾÷B¡]192.168.1.1¡^µo°e¼Æ¾Ú¬°¨Ò¡C·íµo°e¼Æ¾Ú®É¡A¥D¾÷A·|¦b¦Û¤vªºARP½w¦sªí¤¤´M§ä¬O§_¦³¥Ø¼ÐIP¦a§}¡C¦pªG§ä¨ì¤F¡A¤]´Nª¾¹D¤F¥Ø¼ÐMAC¦a§}¡Aª½±µ§â¥Ø¼ÐMAC¦a§}¼g¤J´Vùرµo°e´N¥i¥H¤F¡F¦pªG¦bARP½w¦sªí¤¤¨S¦³§ä¨ì¬Û¹ïÀ³ªºIP¦a§}¡A¥D¾÷A´N·|¦bºôµ¸¤Wµo°e¤@Ó¼s¼½¡A¥Ø¼ÐMAC¦a§}¬O¡§FF.FF.FF.FF.FF.FF¡¨¡A³oªí¥Ü¦V¦P¤@ºô¬q¤ºªº©Ò¦³¥D¾÷µo¥X³o¼Ëªº¸ß°Ý¡G¡§192.168.1.1ªºMAC¦a§}¬O¤°»ò¡H¡¨ºôµ¸¤W¨ä¥¦¥D¾÷¨Ã¤£ÅTÀ³ARP¸ß°Ý¡A¥u¦³¥D¾÷B±µ¦¬¨ì³oÓ´V®É¡A¤~¦V¥D¾÷A°µ¥X³o¼Ëªº¦^À³¡G¡§192.168.1.1ªºMAC¦a§}¬O00-aa-00-62-c6-09¡C¡¨³o¼Ë¡A¥D¾÷A´Nª¾¹D¤F¥D¾÷BªºMAC¦a§}¡A¥¦´N¥i¥H¦V¥D¾÷Bµo°e«H®§¤F¡C¦P®É¥¦ÁÙ§ó·s¤F¦Û¤vªºARP½w¦sªí¡C
°ò¥»ARP¯f¬r¨¾¨îªk
³q¹L¹ï ARP¤u§@ì²z±oª¾¡A¦pªG¨t²ÎARP½w¦sªí³Qק藍°±ªº³qª¾¸ô¥Ñ¾¹¤@¨t¦C¿ù»~ªº¤ººôIP©ÎªÌ°®¯Ü°°³y¤@Ó°²ªººôÃö¶i¦æ´ÛÄFªº¸Ü¡Aºôµ¸´NªÖ©w·|¥X²{¤j±¿nªº±¼½u°ÝÃD¡A³o¼Ëªº±¡ªp´N¬O¨å«¬ªº ARP§ðÀ»¡A¹ï¾D¨üARP§ðÀ»ªº§PÂ_¡A¨ä¤èªk«Ü®e©ö¡A§A§ä¨ì¥X²{°ÝÃDªº¹q¸£ÂI¶}©l¹B¦æ¶i¤J¨t²ÎªºDOS¾Þ§@¡Cping¸ô¥Ñ¾¹ªºLAN IP¥á¥]±¡ªp¡C¿é¤Jping 192.168.1.1¡]ºôÃöIP¦a§}¡^¡A¦p¹Ï¡C
¤ººôping¸ô¥Ñ¾¹ªºLAN IP¥á´XÓ¥]¡AµM«á¤S³s¤W¡A³o«Ü¦³¥i¯à¬O¤¤¤FARP§ðÀ»¡C¬°¤F¶i¤@¨B½T»{¡A§ÚÌ¥i¥H³q¹L¬d§äARPªí¨Ó§PÂ_¡C¿é¤JARP -a©R¥O¡AÅã¥Ü¦p¤U¹Ï¡C
¥i¥H¬Ý¥X192.168.1.1¦a§}©M192.168.252¦a§}ªºIPªº MAC¦a§}³£¬O00-0f-3d-83-74-28,«ÜÅãµM¡A³o´N¬O ARP´ÛÄF³y¦¨ªº¡C
¦b²z¸Ñ¤FARP¤§«á¡AARP´ÛÄF§ðÀ»¥H¤Î¦p¦ó§PÂ_¦¹Ãþ§ðÀ»¡A§Ú̲³æ¤¶²Ð¤@¤U¦p¦ó§ä¨ì¦æ¤§¦³®Äªº¨¾¨î¿ìªk¨Ó¨¾¤î³oÃþ§ðÀ»¹ïºôµ¸³y¦¨ªº¦M®`¡C
Qno«L¿Õ¤uµ{®vªº¤@¯ë³B²z¿ìªk¤À¤TÓ¨BÆJ¨Ó§¹¦¨¡C
- ¿E¬¡¨¾¤îARP¯f¬r§ðÀ»
¶i¤J¸ô¥Ñ¾¹ªº¨¾¤õªº°ò¥»°t¸mÄæ±N¡§¨¾¤îARP¯f¬r§ðÀ»¡¨¦b³o¤@¦æªº¡§¿E¬¡¡¨¨Ã½T©w¡C
- ¹ï¨C¥xpc¤W¸j©wºôÃöªºIP©M¨äMAC¦a§}
¦b¨C¥xPC¾÷¤W¶i¤Jdos¾Þ§@¡A¿é¤Jarp ¡Vs 192.168.1.1(ºôÃöIP) 00-0f-3d-83-74-28(ºôÃöMAC),Enter«á§¹¦¨¨C¥xPC¾÷ªº¸j©w¡C
°w¹ïºôµ¸¤ºªº¨ä¥¦¥D¾÷¥Î¦P¼Ëªº¤èªk¿é¤J¬ÛÀ³ªº¥D¾÷IP¥H¤ÎMAC¦a§}§¹¦¨IP»PMAC¸j©w¡C¦ý¬O¦¹°Ê§@¡A¦pªG«°_¤F¹q¸£¡A§@¥Î´N·|®ø¥¢¡A©Ò¥H¥i¥H§â¦¹©R¥O°µ¦¨¤@Ó§å³B²z¤å¥ó¡A©ñ¦b¾Þ§@¨t²Îªº±Ò°Êùر¡A§å³B²z¤å¥ó¥i¥H³o¼Ë¼g¡G
@echo off
arp -d
arp -s¸ô¥Ñ¾¹LAN IP ¸ô¥Ñ¾¹LAN MAC
- ¦b¸ô¥Ñ¾¹ºÝ¸j©w¥Î¤áIP/MAC¦a§}¡G
¦bDHCP¥\¯à¤¤¹ïIP/MAC¶i¦æ¸j©w¡AQno¸ô¥Ñ¾¹´£¨Ñ¤F¤@ÓÅã¥Ü·s¥[¤JªºIP¦a§}ªº¥\¯à¡A³q¹L³oÓ¥\¯à¥i¥H¤@¦¸¬d§ä¨ìºôµ¸¤º³¡ªº©Ò¦³PC¾÷ªºIP/MACªº¹ïÀ³¦Cªí¡A§ÚÌ¥i¥H³q¹L¡§¡Ô¡¨¿ïªº¥\¯à¿ï¾Ü¸j©wIP/MAC¡C
¶i¶¥ARP¯f¬r¨¾¨î
³æ¾a³o¼Ëªº¾Þ§@°ò¥»¥i¥H¸Ñ¨M°ÝÃD¡A¦ý¬OQno«L¿Õªº§Þ³N¤uµ{®v«Øij³q¹L¶i¤@¨B³q¹L¤@¨Ç¤â¬q¨Ó¶i¤@¨B±±¨îARPªº§ðÀ»¡C
- ¯f¬r·½¡A¹ï¯f¬r·½ÀYªº¾÷¾¹¶i¦æ³B²z¡A±þ¬r©Î«·s¸Ë¨t²Î¡C¦¹¾Þ§@¤ñ¸û«n¡A¸Ñ¨M¤FARP§ðÀ»ªº·½ÀYPC¾÷ªº°ÝÃD¡A¥i¥H«OÃÒ¤ººô§K¨ü§ðÀ»¡C
- ºô§aºÞ²zûÀˬd§½°ìºô¯f¬r¡A¦w¸Ë±þ¬r³n¥ó¡]ª÷¤s¬rÅQ/·ç¬P¡A¥²¶·n§ó·s¯f¬r¥N½X¡^¡A¹ï¾÷¾¹¶i¦æ¯f¬r±½´y¡C
- µ¹¨t²Î¦w¸Ë¸É¤Bµ{§Ç¡A³q¹LWindows Update¦w¸Ë¦n¨t²Î¸É¤Bµ{§Ç(ÃöÁä§ó·s¡B¦w¥þ§ó·s©MService Pack)
- µ¹¨t²ÎºÞ²zû±b¤á³]¸m¨¬°÷½ÆÂøªº±j±K½X¡A³Ì¦n¯à¬O12¦ì¥H¤W¡A¦r¥À+¼Æ¦r+²Å¸¹ªº²Õ¦X¡F¤]¥i¥H¸T¥Î/§R°£¤@¨Ç¤£¨Ï¥Îªº±b¤á
- ¸g±`§ó·s±þ¬r³n¥ó¡]¯f¬r®w¡^¡A³]¸m¤¹³\ªº¥i³]¸m¬°¨C¤Ñ©w®É¦Û°Ê§ó·s¡C¦w¸Ë¨Ã¨Ï¥Îºôµ¸¨¾¤õ¡¼³n¥ó¡Aºôµ¸¨¾¤õ¡¼¦b¨¾¯f¬r¹Lµ{¤¤¤]¥i¥H°_¨ì¦ÜÃö«nªº§@¥Î¡A¯à¦³®Ä¦aªý¾×¦Û¨Óºôµ¸ªº§ðÀ»©M¯f¬rªº¤J«I¡C³¡¤Àµsª©Windows¥Î¤á¤£¯à¥¿±`¦w¸Ë¸É¤B¡A¤£§«³q¹L¨Ï¥Îºôµ¸¨¾¤õ¡¼µ¥¨ä¥¦¤èªk¨Ó°µ¨ì¤@©wªº¨¾Å@
- Ãö³¬¤@¨Ç¤£»ÝnªºªA°È¡A±ø¥ó¤¹³\ªº¥iÃö³¬¤@¨Ç¨S¦³¥²nªº¦@¨É¡A¤]¥]¬AC$¡BD$µ¥ºÞ²z¦@¨É¡C§¹¥þ³æ¾÷ªº¥Î¤á¤]¥iª½±µÃö³¬ServerªA°È
- ¤£nÀH«KÂIÀ»¥´¶}QQ¡BMSNµ¥²á¤Ñ¤u¨ã¤Wµo¨ÓªºÃì±µ«H®§¡A¤£nÀH«K¥´¶}©Î¹B¦æ¯¥Í¡B¥iºÃ¤å¥ó©Mµ{§Ç¡A¦p¶l¥ó¤¤ªº¯¥Íªþ¥ó¡A¥~¬Eµ{§Çµ¥¡C
ARP§ðÀ»¨¾¨î¬O¤@Ó¥ô«¦Ó¹D»·ªº¹Lµ{¡A¥²¶·°ª«×«µø³oÓ°ÝÃD¡A¦Ó¥B¤£¯à¤j·N°¨ªê¡A§ÚÌ¥i¥H±Ä¨ú¥H¤WQno«L¿Õ§Þ³N¤uµ{®vªº«ØijÀH®Éĵ±§ARP§ðÀ»¡A¥H´î¤Ö¨ü¨ìªº¦M®`¡A´£°ª¤u§@®Ä²v¡A°§C¸gÀÙ·l¥¢¡C
Y¹J¨ì¬ÛÃöªº©ÎªÌ¨ä¥¦§Þ³N¤Wªº°ÝÃD¡A±z¥i¥HÀH®Éµn¿ýwww.qno.cnºô¯¸¡A§Ú̪º±M·~¤uµ{®v¦³³]¦³±M·~¸ô¥Ñ§Þ³N½×¾Â¡A¦b¨ºùرz±N±o¨ì§ó¸Ô²Ó¡B§ó±M·~ªº¸Ñµª»PÀ°§U¡C |