ÐéÄâ»úϵÄlinuxÓëwindows»¥ping
µÚÒ»´Î䶫¶«£¬ÒªÓв»¶ÔµÄµØ·½£¬»¹Çë¸ßÊÖÖ¸µã¡£
ÐéÄâ»úϵÄlinuxÓëwindows»¥ping£º
1¡£cmdÏÂÊäÈëÃüÁipconfig/all£¬ÕÒµ½windowsÕýÔÚʹÓõÄÍø¿¨µÄipµØÖ·£¬¼Çסµ±Ç°µÄipµØÖ·ºÍÍø¶Î¡£
2¡£ÔÚÐéÄâ»úϵÄÍøÂçÉèÖÃÖУ¨ÐéÄâ»úÈí¼þÓÒϽǵÄÍø¿¨Í¼±ê£©ÍøÂçΪÇŽÓģʽ£¬Õâ¸öºÜÖØÒª£¬Ò»¶¨¼Çס¡£
3¡£ÔÚlinuxÏÂÊäÈëÒÔÏÂÃüÁ vi /etc/sysconfig/network-scripts/ifcfg-eth0£¬´ò¿ªÕâ¸öÎļþ£¬ÉèÖÃÈçÏ£º
DEVICE=eth0 //µ±Ç°linuxĬÈÏʹÓõÄÍø¿¨µÄÃû³Æ
BOOTPROTO=static //ÉèÖÃipΪ¾²Ì¬Ä£Ê½£¬Ä¬ÈÏÊÇ×Ô¶¯»ñȡģʽ¡£
IPADDR=192.168.1.25 //ÉèÖÃlinuxµÄipµØÖ·£¬×¢ÒâÒªºÍwindowsÔÚͬһÍø¶ÎÉÏ¡£
HWADDR=00:0C:29:25:10:0D //MACµØÖ·£¬¿ÉÒÔ²»ÓÃÌî
NETMASK=255.255.255.0 //ÓëwindowsÏàͬµÄ×ÓÍøÑÚÂë
GATEWATY=192.168.1.1 //ÓëwindowsÏàͬµÄÍø¹Ø
ONBOOT=yes //Æô¶¯linuxÊÇ×Ô¶¯¼ÓÔØÍø¿¨É豸
Íê³ÉÉÏÊö¹¤×÷ºó£¬ÔڹرÕlinuxϵķÀ»ðǽ¡£ÊäÈëÃüÁîÈçÏ£º
chkconfig iptables off/on (ÓÀ¾ÃÐԹرպͿªÆô·À»ðǽ)£¬ service iptables stop/start (ÔÝʱÐԹرջò¿ªÆô·À»ðǽ)¡£
Ò²¿ÉÒÔ¿ªÆô·À»ðǽʱÉèÖö˿ںţº£¨¶îÍâ֪ʶ£¬Óë´Ë´ÎÎÄÕÂÎ޹أ©
ÐÞ¸Ä/etc/sysconfig/iptables Îļþ£¬Ìí¼ÓÒÔÏÂÄÚÈÝ£º
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
4¡£Íê³É·À»ðǽµÄÐ޸ĺ󣬾ͿÉÒÔÔÚwindowsµÄcmdÏÂpingͨÐéÄâ»úϵÄlinuxÁË¡£
5¡£¹Ø±ÕwindowsµÄ·À»ðǽ£¬ÔÚlinuxÏÂÊäÈ룺ping 192.168.1.20 £¨ÄãµÄwindowsÏÂipµØÖ·£©£¬ÕâÑù¾ÍÍê³ÉÁËÐéÄâ»úϵÄlinuxÓëwindows»¥pingÁË¡£
´Ë×ö·¨Ê¹ÓÃÐÂÊÖ£¬ÎÞÐèÔÚÐéÄâ»úÏÂÍê³ÉlinuxÃüÁֻҪÄÜÏ໥pingͨ£¬¾Í¿ÉÒÔͨ¹ýSecureCRTÈí¼þÁ¬½ÓÐéÄâ»úϵÄlinux£¬±ÜÃâÁËlinuxϵIJ»Ì«ÓѺõÄÃüÁîÐÐÊäÈë½çÃæ¡£×¢ÒâʹÓÃSecureCRTÊÇ£¬ÐéÄâ»úÒª´ò¿ª¡£ÎÄÕÂÍê³É£¬¸ßÊÖÖªµÀ£¬ÎÒ²»Éõ¸Ð¼¤¡£
Ïà¹ØÎĵµ£º
ת×Ô£º http://blog.sina.com.cn/s/blog_601979520100fiyd.html
LinuxµÄ¿ªÔ´µ¼ÖÂÔ½À´Ô½¶àµÄÈËÖð½¥Ï²»¶ÉÏLinuxϵͳ¡£ÎªÁËÌåÑéLinux£¬Ô½À´Ô½¶àµÄÈ˶¼ÔÚÓ²ÅÌÉÏ×°ÉÏÁË˫ϵͳ£¬ÉõÖÁÈýϵͳ£¡£¡£¡£¡£¨ÎÒ¾ÍÊÇÒ»¸ö°®ÍæϵͳµÄÈË£¬ºÇºÇ¡££©
ËäÈ»LinuxµÄÓŵãÔ½À´Ô½±»È˽ÓÊÜ£¬±»ÈËϲ»¶¡£µ«ÊDZϾ¹Ëü»¹Ã»ÓÐ΢ÈíµÛ¹úµÄ ......
ÔÎĵØÖ·£ºhttp://i.yoho.cn/logview/11756.html
ÔÚÍøÉϲéÕÒÁËÅäÖÃlinuxÅäÖÃIPµÄ·½·¨£¬¼òµ¥µÄÓÐÏÂÃæÁ½ÖÖ£º
×î³£ÓõĸøÍø¿¨ÅäÖÃipµÄÃüÁîΪ
££ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
˵Ã÷£º
eth0ÊǵÚÒ»¸öÍø¿¨£¬ÆäËûÒÀ´ÎΪeth1£¬eth*
192.168.0.1ÊǸøÍø¿¨ÅäÖõĵÚÒ»¸öÍø¿¨ÅäÖÃµÄ ......
Liux Ͼ²Ì¬¿âºÍ¶¯Ì¬¿âµÄdzÎö ÊÕ²Ø
±¾ÎÄÖ÷Òª½â¾öÒÔϼ¸¸öÎÊÌâ
1 ΪʲôҪʹÓÿ⣿
2 ¿âµÄ·ÖÀà
3 ´´½¨×Ô¼ºµÄ¿â
»òÐí´ó¼Ò¶Ô×Ô¼º³õѧlinuxʱµÄÇéÐÎÈÔ¼ÇÒäÓÈаɡ£Èç¹ûûÓÐÒ»¸öÄܽϺõĽâ¾öÒÀÀµ¹ØϵµÄ°ü¹ÜÀíÆ÷£¬ÔÚlinuxÏ°²×°Èí¼þ½«ÊÇÒ»¼þ¼°ÆäÍ´¿àµÄ¹¤×÷¡£Äã×° a°üʱ£¬¿ÉÄÜ»áÌáʾÄã ......
vi±à¼Æ÷ÊÇËùÓÐUnix¼°Linuxϵͳϱê×¼µÄ±à¼Æ÷£¬ËüµÄÇ¿´ó²»Ñ·É«ÓÚÈκÎ×îеÄÎı¾±à¼Æ÷£¬ÕâÀïÖ»ÊǼòµ¥µØ½éÉÜÒ»ÏÂËüµÄÓ÷¨ºÍһС²¿·ÖÖ¸Áî¡£ViÒ²ÊÇLinuxÖÐ×î»ù±¾µÄÎı¾±à¼Æ÷£¬Ñ§»áËüºó£¬Äú½«ÔÚLinuxµÄÊÀ½çÀﳩÐÐÎÞ×è¡£
1¡¢viµÄ»ù±¾¸ÅÄî
¡¡¡¡»ù±¾É ......