ºìÁªLinuxÃÅ»§
Linux°ïÖú

[RedHat] ÐéÄâ»úpingÓòÃûÎÊÌâ

·¢²¼Ê±¼ä:2011-12-31 17:28:01À´Ô´:ºìÁª×÷Õß:fengyun510
ËÞÖ÷»úΪXPϵͳ£¬Í¨¹ý³¤¿íµÄPPPOE·½Ê½Á¬½Ó¿í´ø£¬ÔÚÐéÄâ»úÏ°²×°ÁËredhat enterprise 5£¬ROOTÓû§½øÈëͼÐÍ5½çÃ棬ÉèÖÃIPºÍÍø¹Øºó£¬pingËÞÖ÷»úÒ»ÇÐÕý³££¬µ«ÊǶÔÓÚÓòÃû£¬±ÈÈçping www.baidu.com¶¼ÊÇÌáʾunknow host´íÎó¡£

µ«ÊÇÆæ¹ÖµÄÊDz»¹ÜÊÇXPËÞÖ÷»ú»¹ÊÇÐéÄâ»úredhat¶¼¿ÉÒÔÉÏÍø£¬ ¾ÍÊÇping²»Í¨ÓòÃû¡£ÎÒµÄÐéÄâ»úÍø¿¨ÉèÖõÄÊÇÇŽӷ½Ê½£¬ÐéÄâ»úÍø¹Ø¾ÍÊÇËÞÖ÷»úµÄIP¡£¶øÇÒÒ²ÉèÖÃÁËÏàÓ¦µÄnameserver ΪËÞÖ÷»úµÄIP,ºóÀ´ÎÒÊÔÁËÏ£¬Ô­À´ËÞÖ÷»úXPÀïCMDÀïping www.baidu.comÒ²Ò»Ñùping²»Í¨¡£¼û¹íÁË¡£ÎÒµÄXP¸ÃÈçºÎÉèÖÃÄØ¡£×Ô¶¯µÄ¿ÉÒÔÉÏÍø£¬ÉèÖÃÁËIPµØÖ·Ò²¿ÉÒÔÉÏÍø£¬µ«ÊǾÍÊÇÎÞ·¨ ping www.baidu.com£¬ÄѵÀÕâ¸ú¿í´øÀàÐÍÓйØϵ£¬ÒòΪÌý˵³¤¿íûÓжÀÁ¢µÄIP£¬ÊÇ×âÓõçÐŵģ¬²»ÖªµÀºÍÕâ¸öÓÐûÓйØϵ£¡Èç¹ûÎÒÒªping ͨÓòÃû¸ÃÈçºÎÉèÖ㬷dz£¸Ðл£¡
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 5 ÌõÆÀÂÛ

  1. fengyun510 ÓÚ 2012-01-07 21:25:06·¢±í:

    ¹ØÓÚpppoeÁ¬½Ó·½Ê½Í¨¹ýÇŽÓÉèÖÃlinuxÐéÄâ»úÍøÂç,ÓÐûÓÐÄÄÀïÓÐÍêÕûµÄ²Î¿¼½Ì³Ì»òÕß½éÉܵÄ,ÎÒ×Ô¼ºÈ¥Ñ§Ï°Ò»ÏÂ.·¢ÏÖÍøÉÏ×ÊÁÏÊÇÓв»ÉÙ,²»¹ý¸Ð¾õ¶¼²»·ûºÏÎÒµÄÕâÖÖ¼ÒÍ¥²¦ºÅÁ¬½ÓµÄÉèÖÃÇé¿ö

    ÓÈÆäÊÇÄǸöÍø¹ØÉèÖÃ,¶ÔÓÚ²¦ºÅ¼ÒÍ¥ÍøÂçÁ¬½Ó,Ò»°ã¶¼ÊDz¦ºÃ×Ô¶¯»ñÈ¡IP,Èç¹û¸øËÞÖ÷»úÉèÖÃÁËIP,Õâ¸öIPÓÖÎÞ·¨×÷ΪÍø¹Ø,ÓÃnat·½Ê½Ò²Ðí¿ÉÐÐ,SSHÁ¬½ÓÒ²Ðí¿ÉÒÔͨ¹ýÖ÷»úÃûÀ´Á¬½Ó,µ«ÊǶÔÓÚ¹ãÓòÍøÕâÖÖ·½Ê½ÊÇ·ñ²»¶ÔÍ·ÁË,¶ÔÓÚÇŽӷ½Ê½ºÃÏñÒ»Ö±ÕÒ²»µ½Ò»ÖÖÍêÃÀµÄ½â¾ö·½·¨.

  2. fengyun510 ÓÚ 2012-01-01 18:20:50·¢±í:

    ÏÖÔÚÎÒ»³ÒÉÊÇÎÒµÄÐéÄâ»úºÍËÞÖ÷XPµÄIPÉèÖôíÎóÁË.
    Õý³£Çé¿öÏÂ,ÎÒµÄXPÊDz»ÐèÒªÉèÖÃÈκÎIPµÄ,Ö±½Ópppoe¾Í¿ÉÒÔ²¦ºÅÉÏÍøÁË,
    ÏÖÔÚÉèÖÃÊǽ«
    XPµÄIPÉèÖÃΪ192.168.1.1,×ÓÍøÑÚÂëΪ:255.255.255.0,ĬÈÏÍø¹ØÎÞ·¨ÌîдΪ×Ô¼ºµÄip.Ò²²»ÖªµÀ¸ÃÌîдʲô,ÒòΪÆÕͨÇé¿öÏÂ,²»ÐèÒªÉèÖÃÈκÎip,¶¼ÊÇ×Ô¶¯»ñÈ¡µÄ.DNSÒ²ÉèÖÃΪ192.168.1.1
    ÐéÄâ»úµÄipÉèÖÃΪ:192.168.1.2,×ÓÍøÑÚÂëΪ:255.255.255.0,DNSÒ²ÉèÖÃΪ192.168.1.1
    Õâ¸öÇé¿öXPÏ¿ÉÒÔping www.baidu.com³É¹¦µÄ.µ«ÊÇÐéÄâ»úÈ´²»ÐÐ.

  3. fengyun510 ÓÚ 2012-01-01 18:14:35·¢±í:

    ÒýÓÃ:
    ·À»ðǽ¿´¿´¹ØÁ˲»£¬ÊDz»ÊÇÄãÄǵÄISP¸ø½ûÁË°¡¡£
    bo8362 ·¢±íÓÚ 2011-12-31 17:51

    »¹ÓÐÎÒµÄselinuxÒ²ÊǹرյÄ,Ö´Ðйýsetenforce 0

  4. fengyun510 ÓÚ 2012-01-01 18:13:45·¢±í:

    ÒýÓÃ:
    ·À»ðǽ¿´¿´¹ØÁ˲»£¬ÊDz»ÊÇÄãÄǵÄISP¸ø½ûÁË°¡¡£
    bo8362 ·¢±íÓÚ 2011-12-31 17:51

    ·À»ðǽӦ¸ÃÊǹرյÄ,ÁбíΪ:
    ip6tables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
    iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
    »¹ÓÐÎÒµÚһ¥µÄ˵·¨ÓиöÃèÊöÊÇ´íÎóµÄ.ÔÚ±¾µØXPËÞÖ÷»úÉÏÊÇ¿ÉÒÔÖ±½Óping www.baidu.comÊÇ¿ÉÒÔÕý³£pingͨµÄ,
    Ö»ÊÇÔÚÐéÄâ»úÉϾͲ»ÐÐÁË.Ìáʾ´íÎó:
    ping: unknown host www.baidu.com

  5. bo8362 ÓÚ 2011-12-31 17:51:31·¢±í:

    ·À»ðǽ¿´¿´¹ØÁ˲»£¬ÊDz»ÊÇÄãÄǵÄISP¸ø½ûÁË°¡¡£