1. ãªã¢ã«ãµã¼ãå´ã«ãã°ãã¼ãã«IPãæ¯ãå¿ è¦ããã(IPãå°ãªãã¨ããã¯çµæ§ãã¤ããã). ãªã¢ã«ãµã¼ãã§ã¯ãVIPãã«ã¼ãããã¯ã¤ã³ã¿ã¼ãã§ã¼ã¹ã«IP aliasããã°ããã®ã§ããªã¢ã«ãµã¼ãã®æ°ã ãã°ãã¼ãã«IPã¢ãã¬ã¹ãæ¶è²»ããã£ã¦ãã¨ã¯ãªããããªãï¼èª¤èªãã¦ããã ãã ããã®æ¹å¼ã ã¨ãVIPã®æ°ã ããã¡ãã¡ãªã¢ã«ãµã¼ãã«IP aliasãã¦åããªãã¨ãããªãã®ã§ãããã¨å¤§è¦æ¨¡ï¼VIPããããããã or ãªã¢ã«ãµã¼ããããããããï¼ã ã¨ããã©ããããã¨ãã®ä¸ãªãã ã§ããªã¢ã«ãµã¼ãã§ãããªiptablesã®ã«ã¼ã«ãè¨å®ããã°ãIP aliasããªãã§DSRã§ãããã¨ããã®ã主é¡ã VIP=10.1.1.0/24 iptables -t nat -A PREROUTING -d $VIP -j REDIRECTå¤åãããã§ãããã¨æããã§ããã©ã¡ã¨èªä¿¡ãªããæ¤è¨¼ and 詳ãã説æ
{{#tags}}- {{label}}
{{/tags}}