ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Debian

ÔÚ°²×°Debianʱ¸üÐÂMACµØÖ·

·¢²¼Ê±¼ä:2008-09-23 00:11:07À´Ô´:ºìÁª×÷Õß:isosdw
À´Ô´£ºhttp://www.debianproject.org/

ÔÚÉÏƪÎÄÕÂÖÐ,ÎÒÃÇÖªµÀÁËÈçºÎÔÚDebianϵͳÀïÃæ¸üÐÂMACµØÖ·,ÏÖÔÚÎÒÃÇÀ´ËµËµÔÚ°²×°DebianʱºòÔõô¸üÐÂMACµØÖ·.

ÎÒÃÇ´òÒ»¸ö±È·½, Íø¿¨Ä¬ÈϵÄMACµØÖ·ÊÇ 01:02:03:04:05:06, ÎÒÃÇÐèÒª°ÑËü¸üÐÂΪ 06:05:04:03:02:01, ÔÚ°²×°µÄʱºòifconfigµÄÃüÁîÊDz»¿ÉÓõÄ,µ«ÊÇÎÒÃÇ¿ÉÒÔ¸ù¾ÝÁíÍâµÄһЩ·½·¨À´¸üÐÂ

ÔÚ°²×°Debianϵͳǰ,Ñ¡Ôñ¸ß¼¶Ñ¡Ïî,È»ºóÑ¡Ôñ Expert install.

½ÓÏÂÀ´»¹ÊǺÍƽ³£Ò»ÑùµÄ°²×°, Ö±µ½Ìáʾ¼ì²éÍøÂçÓ²¼þʱºò, Ö´ÐÐshell

ÊäÈë ip link show eth0

ÕâʱºòϵͳÌáʾһÏÂÐÅÏ¢

eth0: mtu 1500 qdisc noop qlen 1000
link/ether 01:02:03:04:05:06 brd ff:ff:ff:ff:ff:ff

ÕâÑùÎÒÃǾͿÉÒÔÔÚÕâ¸öʱºò¸ü¸ÄÁËMACµØÖ·

ip link set eth0 addr 06:05:04:03:02:01

Òª²é¿´ÊÇ·ñ¸ü¸Ä³É¹¦µÄ¿ÉÒÔÔÙ´ÎÔËÐÐip link show eth0

Ñ¡Ôñexit¼ÌÐø°²×°

ÕâÑùÎÒÃǾͿÉÒÔÔÚ°²×°Ê±ºòͨ¹ýMACµØÖ·ÑéÖ¤,·ÃÎÊÔ´Õý³£°²×°ºÍ¸üÐÂDebianÁË

ÐèҪעÒâµÄÊÇ,Õâ¸öMACµØÖ·ÊÇÔÝʱµÄ,Èç¹ûÖØÆôÁËϵͳ¾Í±ä»ØÔ­À´Ã»Óиü¸Ä¹ýµÄMACµØÖ·

Èç¹ûÄãÐèÒªÓÀ¾Ã¸üеĻ°,ÄÇôһ¶¨ÒªÔÚ/etc/network/interfaces¸ü¸Ä
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ