linux ²ßÂÔ·ÓÉÎÊÌ⣡£¡£¡
¹æÔòÈçÏ£º
ip route add 10.10.0.0/16 via 10.254.254.1 table int1 proto static
ip route add throw 0/0 table int1 proto static
ip route add 172.18.0.0/16 via 172.17.1.1 table int2 proto static
ip route add throw 0/0 table int2 proto static
ip route add 0/0 via 172.17.1.254 table main proto static
ip rule add pref 15000 table int1 iif eth1
ip rule add pref 15001 table int2 iif eth2
ip rule add pref 15002 to 10.10.0.0/16 table int1
ip rule add pref 15003 to 172.18.0.0/16 table int2
ip route add throw 0/0 table int1 proto static ´óÏÀ Õâ¾äÊÇʲôÒâ˼£¿
throw ºÍ²ßÂÔ¹æÔò(policy rule)Ò»¿éʹÓõĿØÖÆÂ·ÓÉ¡£Èç¹ûÑ¡ÔñÁËÕâÖÖ·ÓÉ£¬¾Í»áÈÏΪûÓз¢ÏÖ·ÓÉ£¬ÔÚÕâ¸ö±íÖеIJéѯ¾Í»á±»ÖÕÖ¹¡£Ã»ÓÐÕÒµ½²ßÂÔ·ÓɾÍÏ൱ÓÚÔÚ·ÓɱíÖÐûÓÐÕÒµ½Â·ÓÉ£¬Êý¾Ý°ü»á±»¶ªÆú£¬²¢²úÉúICMPÐÅÏ¢net unreachable¡£±¾µØ·¢ËÍÕ߻᷵»ØENETUNREACH´íÎó¡£
The throw route type is a convenient route type which causes a route lookup in a routing table to fail, returning the routing selection process to the RPDB. This is useful when there are additional routing tables. Note that there is an implicit throw if no default route exists in a routing table, so the route created by the first command in the example is superfluous, although legal.
Ïà¹ØÎÊ´ð£º
ÔÚLinuxÖУ¬
Èç¹û¸¸½ø³Ìµ÷ÓÃexit(0)Í˳ö£¬
ÄÇôÓɸýø³Ì´´½¨µÄÁ½¸ö×Ó½ø³Ì»áÁ¢¼´Í˳öÂ𣿣¿£¿
Ï£ÍûÎ§ÈÆ¸ÃÎÊÌâ˵Çå³þµã£¬Ð»Ð»ÁË¡£
²»»á
Á½¸ö×Ó½ø³ÌÍÑÀëÁ˸¸½ø³Ì£¬¶ÀÁ¢ÔËÐÐ
¸¸½ø³ÌËÀµôºó£¬ÆäËùÓÐ×ÓËï½ø³Ì±»initÊÕ ......
ÈçÌâ¡£ÇëÖ¸½Ì£¬¶àл£¡
http://www.chinaunix.net/jh/50/1394871.html
ËäÈ»Äã¸øµÄÍøÖ·²»Äܽâ¾öÎÒµÄÎÊÌ⣬»¹ÊÇҪллÄ㣡
ÎÒ²ÉÓÃIPSec¹¤¾ßÊÇstrongSwan¡£
ËäÈ»Äã¸øµÄÍøÖ·²»Äܽâ¾öÎÒµÄÎÊÌ⣬»¹ÊÇҪллÄ㣡&nbs ......
ÎÒÏÂÔØµÄlinux2.6.29ÖеÄwifiÖ»Ö§³Öwep·½Ê½¼ÓÃÜ. ÔõôÑùÈÃËûÄÜÖ§³Öwpa»òwpa II·½Ê½¼ÓÃÜ?
²¢ÇÒ»¹ÓиöÆæ¹ÖµÄÎÊÌâ¾ÍÊÇlinux2.6.29ÖеÄwepÃÜÂëÒªÊÇ5/13×Ö½Ú³¤µÄ.ÆäËûµÄ³¤¶È²»Ö§³Ö.
mac80211\wext.cÖÐÓÐÈçÏ´úÂë
stati ......
ÎÒ¸ù¾Ýhttp://www.diybl.com/course/6_system/linux/Linuxjs/200896/139517.htmlÕâÆªÎÄÕÂ
ÐÞ¸ÄÁËboard-at91sam9260.cÏÂÉ豸Ãû
ÔÚ/devÏÂÒ²¿´µ½ÁËÉ豸spidev0.0£¬µ«ÊÇÓÃDocuments/spi ϵIJâÊÔÈí¼þ£¬Ã»Óб¨´í£¬µ«´òÓ ......