Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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ÏÂsocket±à³ÌµÄÎÊÌ⣡ - C/C++ / CÓïÑÔ

ÓÉÓÚÎҲŸոսӴ¥socket±à³Ì£¬×Ô¼ºÐ´ÁËÒ»¸ö¼òµ¥³ÌÐò£¬µ«¾ÍÊÇÔÚÔËÐеÄʱºò³öÏֶδíÎó£¬ÎÞ·¨½â¾ö£¬ÏÖÔÚÎÒ°ÑÔ´´úÂëÌù³öÀ´£¬Çë¸÷λ´óϺָÕýһϣ¡Ð»Ð»£¡
#include<stdio.h>
#include<stdlib.h>
#include& ......

[HJ_34] ÔÚHTMLÍøÒ³Ï£¬ÓÃJS ´ò¿ªLINUXϵļÇʱ¾

ÈçÌ⣬ÔÚWINDOWSµ×ϵÄCODE»á£¬µ«ÔÚLINUXϲ»ÖªµÀÈçºÎʵÏÖ£¬JSµÄ´úÂëÓ¦¸ÃÊDz»Ò»ÑùµÄ¡£ Çó½Ì¡£

·Ö²»¹»ÔÙ¼Ó¡£

http://topic.csdn.net/u/20100113/08/17ba1e71-4c33-43f6-91a5-0e031c86e5ed.html
linux ......

linux ³¬Ê±ÖØ´« - Linux/UnixÉçÇø / ³ÌÐò¿ª·¢Çø

½«ËùÒª·¢Ë͵Ätcp°ü·ÅÔÚ·¢ËͶÓÁÐÖУ¬Èç¹ûÔÚ15ÃëÄÚûÊÕµ½ACK£¬¾ÍÖØ·¢£¬ÏëÇëÎÊ´ó¼Ò£¬ÕâÑùÊDz»ÊÇÒª¶Ôÿ¸öTCP°ü¼Ó¶¨Ê±Æ÷°¢£¬³ýÁËÓÃalarm,»¹ÄÜÓÃʲôÁË£¿
Äã¸ãÓ¦Óõϰ²»ÐèÒª¹ØÐÄtcpЭÒéÕ»ÊÇÔõô´¦ÀíµÄ°¡
tcpЭÒéÕ»ÓÐÖØ· ......

¡¾±±¾©¡¿ÕÐÆ¸LinuxÈí¼þÑз¢¸ß¼¶¹¤³Ìʦ

¾ßÌåְλҪÇó£º
1. ´óѧ±¾¿ÆÒÔÉÏѧÀú£¬¼ÆËã»úÏà¹Ø×¨Òµ±ÏÒµ£»
2. ÊìϤTCP/IPЭÒé¡¢SocketÍøÂç±à³Ì¡¢¶àÏ̱߳à³Ì£»
3. ¾«Í¨LinuxÏÂC/C++ÓïÑÔ±à³Ì¡¢GCC±àÒëÆ÷¡¢gdbµ÷ÊÔÆ÷µÄʹÓã¬ÊìϤMakefileºÍShell£»
4. Á˽âÈí¼þ¿ ......

linux redhat/oracle_linux rpm µÄ°ü¹ÜÀíÔõôÕâÑù£¿

±¾È˺ÜÏëѧµã¶«Î÷£¡´ÓÊÂunix ϵÄά»¤¿ìÁ½ÄêÁË£¡
¼¸Ììǰ±»rpm ¸ãµÄ¼¸Ìì˯²»ºÃ¾õ£¡
ΪÁË×ö²âÊÔºÍʵÑ飬ѧµ½µãÕæ±¾Ê£¡
ÔÚ×Ô¼ºµÄ±Ê¼Ç±¾ÉÏÏÂÔØÁËoracle10g oracle11g redhat,oracle_linux 
¿ªÊ¼°´ÕÕǰÈ˵ľ­Ñ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ