linuxÏÂÈçºÎÊÍ·ÅipºÍÖØÐÂ×Ô¶¯»ñµÃip
ÎÒÔÚÐéÄâ»úµÄwindows server 2003ÖÐÅäÖÃÁËһ̨dhcp·þÎñÆ÷(ÐéÄâ»ú×Ô´øµÄdhcp¹¦ÄÜÒÑÍ£)£¬Ïë
ÈÃlinuxÄܹ»×Ô¶¯»ñµÃwindows server 2003ÖеØÖ·³ØµÄµØÖ·£¬µ«²»ÖªµÀʹÓÃʲôÃüÁî¿ÉÒÔÊÍ·Å
linuxÍø¿¨eth0µÄµØÖ·ºÍÖØлñÈ¡µØÖ·µÄÃüÁϣÍûÖªµÀµÄÈË¿ÉÒÔ°ïÎÒ½â´ðһϣ¬Ð»Ð»£¡
man dhclient
ÎҲ鿴ÁËdhclientµÄmanÊֲỹÊDz»Ì«Çå³þÊÇÄĸöÃüÁÇëÎÊÄúÄܲ»ÄÜ˵Çå³þÒ»µãÄØ£¿Ð»Ð»À²£¡
freebsdµÄ£¬linuxÓ¦¸Ã²î²»¶à
http://hi.baidu.com/leizi52101314/blog/item/dbf1430708332ac97a8947cc.html
FreeBSD ¼¯³É¡¡¡¡FreeBSD ÍêÈ«µØ¼¯³ÉÁË ISC »ò OpenBSD µÄ DHCP ¿Í»§¶Ë£¬ dhclient (È¡¾öÓÚÄúÔËÐÐµÄ FreeBSD °æ±¾)¡£ DHCP ¿Í»§¶Ë±»°²×°³ÌÐòÖ±½ÓÖ§³Ö£¬ ²¢ÇÒÊÇ»ù±¾ÏµÍ³µÄÒ»²¿·Ö¡£ ÕâʹµÃÄú²»ÔÙÐèҪȥÁ˽âÄÇЩÒѾÔËÐÐÁË DHCP ·þÎñÆ÷µÄÍøÂçµÄ¾ßÌåÅäÖòÎÊý¡£ ´Ó FreeBSD 3.2 ¿ªÊ¼£¬ ÿһ¸ö·¢ÐаæÖоù°üº¬ dhclient¡£¡¡¡¡sysinstall Äܹ»Ö§³Ö DHCP¡£ ÔÚ sysinstall ÖÐÅäÖÃÍøÂç½Ó¿Úʱ£¬ ËüѯÎʵĵڶþ¸öÎÊÌâ±ãÊÇ£º ¡°Do you want to try DHCP configuration of the interface? (ÄúÊÇ·ñÏ£ÍûÔڴ˽ӿÚÉϳ¢ÊÔ DHCP ÅäÖÃ?)¡±¡£ Èç¹û×ö¿Ï¶¨µÄ»Ø´ð£¬Ôò½«ÔËÐÐ dhclient£¬ Ò»µ©³É¹¦£¬Ôò½«×Ô¶¯µØÌîдÍøÂçÅäÖÃÐÅÏ¢¡£¡¡¡¡ÒªÔÚϵͳÆô¶¯Ê±Ê¹Óà DHCP£¬ Äú±ØÐë×öÁ½¼þÊ£ºÄúµÄÄÚºËÖУ¬ ±ØÐë°üº¬ bpf É豸¡£ Èç¹ûÐèÒªÕâÑù×ö£¬ ÐèÒª½« device bpf Ìí¼Óµ½Äں˵ıàÒëÅäÖÃÎļþÖУ¬ ²¢ÖØбàÒëÄںˡ£bpf É豸ÒѾÊÇ FreeBSD ·¢ÐаæÖÐĬÈ쵀 GENERIC Äں˵ÄÒ»²¿·ÖÁË£¬ Òò´ËÈç¹ûÄúûÓжÔÄں˽øÐж¨ÖÆ£¬Ôò²»Óô´½¨Ò»·ÝеÄÄÚºËÅäÖÃÎļþ£¬ DHCP ¾ÍÄܹ¤×÷ÁË¡£×¢Òâ: ¶ÔÓÚÄÇЩ°²È«ÒâʶºÜÇ¿µÄÈËÀ´Ëµ£¬ ÄúÓ¦¸ÃÖªµÀ bpf Ò²ÊÇ°üÕìÌý¹¤¾ßÄܹ»ÕýÈ·¹¤×÷µÄÌõ¼þÖ®Ò» (µ±È»£¬ ËüÃÇ»¹ÐèÒªÒÔ root Éí·ÝÔËÐвÅÐÐ)¡£
Ïà¹ØÎÊ´ð£º
´ó¼ÒºÃ£¬±¾ÈËÄ¿Ç°¸Õ¸Õ½Ó´¥Linux¡£ÏÖÔÚ¹«Ë¾µÄÏîÄ¿ÐèÒªËõ¼õLinuxµÄKernelºÍAPP²¿·ÖµÄCode Size¡£Ä¿Ç°ÎÒÃÇʹÓõÄÊÇLinux2.6.22.15°æ±¾£¬Ó¦ÓÃÓÚADSL Modem£¨¼ÒÍ¥Íø¹Ø£©¡£
1.ÎÒÃDzúÆ·Ó¦ÓÃÊÇADSL Gateway£¬Kernel²¿ ......
ÎÒÓÃuÅÌ°²×°debian£¬°´ÕÕÍøÉϵķ½·¨×öºÃuÅÌÆô¶¯Å̺󣬽«biosÉèÖÃΪUsb-fddģʽ£¨uÅÌÖ»ÄÜÔÚÕâ¸öģʽÏÂÆô¶¯£©£¬ÄÜÕý³£Æô¶¯¡£½øÈëÅäÖÃÒ³ÃæºóÔÚɨÃècd-romʱÌáʾÎÞ.iso¾µÏñ¡£Õâ¿ÉÔõô°ì£¿
ÍøÉÏÓÐÈË˵ҪÓÃgrubÒýµ¼ÎªuÅ ......
ÊÇÕâÑùµÄ£¬½ü¶ÎÔÚWINDOWSÉÏÉÏÍøʱ×ÜÊÇÓв¡¶¾£¬ÎÒ²»Ï°¹ßװɱ¶¾Èí¼þ£¬ÒÔǰҲһֱûװ¹ý£¬¾õµÃÂé·³¡£È»ºó¾ÍÓ²ÅÌ°²×°ÁËLINUX£¬»¹ºÃ£¬¿ÉÒÔÉÏÍø£¬¿ÉÒԲ鶫Î÷¡£µ«ÊÇÎÒÊÇÔÚWINDOWSÏÂ×öÈí¼þ¿ª·¢µÄ£¬»¹Ïë×°ÉÏWINDOWS£¬²»ÖªµÀÄÜ ......