¯è¡¨ã«è¨è¼ã®ãªãã¢ãã¬ã¹ãå¦çããããã®ç¹æ®ãªã«ã¼ããããã¹ã¦ã®ã«ã¼ããã表ãç¹æ®ãªã¢ãã¬ã¹ãæå®ããã転éå
ã¨ãã¦é£æ¥ããã«ã¼ã¿ãªã©ãæå®ãããã nmcli con modify æ¥ç¶å ipv4.never-default yes GUIã§è¨å®ããå ´å ããã©ã«ãã®è¨å®ã§ã¯ Apache ãã¤ã³ã¹ãã¼ã«ããããã£ã¬ã¯ããªã®ä¸ã«ãã htdocs ãã£ã¬ã¯ããªãããã¥ã¡ã³ãã«ã¼ãã«è¨å®ããã¦ãã¾ãã ãã©ã¦ã¶ã§æå®ãããURLã«å¯¾ãã¦ã©ã®ãã¡ã¤ã«ãã¯ã©ã¤ã¢ã³ãã¸éä¿¡ãããã®ã . 1.FTPã§ä½¿ç¨ããã¦ã¼ã¶ãä½æãã¾ãã ã¦ã¼ã¶ã®ä½æã«ã¤ãã¦ã¯ãLinuxï¼Linuxã®adduserã³ãã³ãã§æ°è¦ã¦ã¼ã¶ãä½æãã ã§ç´¹ä»ãã¦ãã¾ãã 2.ã¦ã¼ã¶ãä½æããããã¨ãç¢ºèª â¦ è¨å®ä¾ ï¼ ãã¯ã¹ããããã fe80ï¼ï¼1 ã«æå®ãã¦ããã©ã«ãã«ã¼ããè¨å® Cisco(config) # ipv6 route ::/0 gigabitethernet0/0 fe80::1 IPv6 - Nullã«ã¼ãã®è¨å® ã¹ãã ã¯å¯¾è±¡ã®ã²ã¼ãã¦ã§ã¤ã«å¯¾ãã¦ããã©ã«ãã«ã¼ãã使ç¨ãã¾ãã 1.ããã©ã«ãã²ã¼ãã¦ã§ã¤ï¼ããã©ã². è¨å®æ¹æ³ã¯ãã¤ãã®ãã¨ãä¸è¨ã®ããã«ãªãã¾ãã ç¾å¨ã®ããã©ã«ãã²ã¼ãã¦ã§ã¤ã ip route ã§ç¢ºèªãããã©ã«ãã²ã¼ãã¦ã§ã¤ã¯åå¨ãã¾ããã # ip route 10.0.0.0/24 dev ens160 proto kernel scope link src 10.0.0.196 metric 100 ãã¡ã¤ã«ã«è¨è¿°ãã¾ãã ã§ã³ã«ã¹ã¿ãã£ãã¯ã«ã¼ãã追å ãã¦ãã¾ãã ã»ã«ã³ããªIPã¢ãã¬ã¹ãè¨å®ããã®ã«è¦ããªã. 2.Linuxã¯1ã¤ã®ããã©ã²ããè¨å®ã§ããªã. ã³ã«è¤æ°ã®ãããã¯ã¼ã¯ã¤ã³ã¿ã¼ãã§ã¤ã¹ãæã£ã¦ããå ´åã¯ãã¤ã³ã¿ã¼ãã§ã¤ã¹å¥ã«è¨å®ããã㨠ãæ¨ããã¾ãã è¨å®æ¹æ³ã¯ãIPã¢ãã¬ã¹ã®è¨å®ãè¦ã¦ä¸ããã never-defaultãè¨å®ãã DEFROUTE=yesã«ããå ´å. ¯ãã¦ã«ãã±ãããåºããã¨ãã§ãã¾ãã ããã©ã«ãã«ã¼ããç解ãã. Linux ã¹ã¿ãã£ãã¯ã«ã¼ã(static route)ã®è¨å®æ¹æ³ ã¤ã³ã¿ã¼ãããããã®ã¢ã¯ã»ã¹ã¯DMZã«ã社å
ããã®ã¢ã¯ã»ã¹ã¯ã¡ã³ããã³ã¹ã»ã°ã¡ã³ãã«ã«ã¼ãã£ã³ã°ãããããã«ãããã¯ã¼ã¯ã¤ã³ã¿ã¼ãã§ã¼ã¹å¥ã«ã¹ã¿ãã£ãã¯ã«ã¼ãã®è¨å®æ¹æ³ãè¨è¼ãã¾ãã vSRX-02 ã®ã«ã¼ãã£ã³ã°ãã¼ãã«ã§ããã©ã«ãã«ã¼ãè¨å®ã®ç¢ºèª . ããã¥ã¡ã³ãã«ã¼ãã 絶対ãã¹ ã§è¨å®ããã ¯ãæããã¦ãããã»ãããããã¯ã¼ã¯ä¸ã®å¹çãè¯ãã§ãã ï¼ãè¦ã¤ãããã®ç¹å®ã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã«ããã©ã«ãã«ã¼ããè¨å®ããªãããã«ãã®å¼ã³åºãã§dhclientãªã©ãæ§æãã¾ãã â Dirkt 2018 . ãæå®ã§ããããçç¥ãã¦ãããã DocumentRoot. ä»åã®ã¾ã¨ã. è¨å®æé . httpdã®ãã£ã¬ã¯ããªå¼ã³ã³ããã®è¨å®ã¯ããã£ã¬ã¯ããªæ§é ã®ä¸ä½ããé ã«é©ç¨ããã¦ããã¾ãã®ã§ãæä¸ä½ã§ãã "/(ã«ã¼ã)" ãã£ã¬ã¯ããªã«å¯¾ãã¦ãã®ãå¿
è¦æä½éã®è¨å®ããè¡ã£ã¦ããã°ã¾ãå®å¿ã¨ããããã§ãã ããã©ã«ã ã®è¨å®ã¯ã ãã®ã¨ãï¼ã«ã¼ã¿ã§ã½ã¼ã¹ã¢ãã¬ã¹ãã£ã«ã¿ãªã³ã°ãè¨å®ãã¦ããå ´åï¼ãã®ãµã¼ãããã®è¿ä¿¡ãã±ããã¯ç ´æ£ãããå¯è½æ§ãããï¼é常ããã©ã«ãã«ã¼ãã¯ä¸ã¤ããè¨å®ã§ããªãï¼ãã£ã¦ eth0 ã§åä¿¡ãããã±ããã eth1 ã§åä¿¡ãããã±ãããï¼è¿ä¿¡ãã±ããã¯ããã©ã«ãã«ã¼ããè¨å® ⦠ã³ã®OSãã£ã¹ã¯ -ã«ã¼ãããªã¥ã¼ã - ãæ¡å¼µããï¼Linuxï¼ ¨ . CentOS 7ã§ä½ã ... è¨å®ãã¡ã¤ã«ã«ããããã©ã«ãã²ã¼ãã¦ã§ã¤ã®å¤æ´ . nmcli con modify æ¥ç¶å ipv4.never-default no DEFROUTE=noã«ããå ´å. ãLinuxã NICï¼ã¤ã³ã¿ã¼ãã§ã¼ã¹ï¼ãè¤æ°ããå ´åã®è¨å®æ¹æ³. ããã©ã«ãã«ã¼ãã«ãããæ¥ç¶ã®ã¿DEFROUTE=yesã«ãã¦ããã以å¤ã¯DEFROUTE=noã«ããã ã³ãã³ãã§è¨å®ãã. 3.Windowsã¯è¤æ°ã®ããã©ã²ãè¨å®ã§ãã ããã©ã«ãã«ã¼ããã¹ã¿ãã£ãã¯ã§è¨å®ããå ´åã¨è¨å®ããªãå ´åã ã¨æãã®ã§ãããsh runãè¦ã¦ãip rootã®ã¹ã¿ãã£ãã¯ã®è¨å®ãããã¾ããã ãã®NWæ§æã§ã¯ãDSW1ã2ã¨ã«ã¼ã¿Dã«ã©ã¹ããªã¾ã¼ãã²ã¼ãã§ã¤ã表è¨ããã¦ãã¾ãããsh runã§ã¯ãã©ãã®è¨å®ã§è¡¨è¨ã«ãªã£ã¦ããã®ã§ããããï¼ ä½æ¥ç°å¢Red Hat Enterprise Linux 7.3ã«ã¼ãã£ã³ã°è¨å®ã«ã¼ãã£ã³ã°ãã¼ãã«ã表示ip route# ip routedefault via 192.168.139.2 dev ens33 proto static ã§ã³ã§æå®ããªãã£ãå ´åã®ããã©ã«ãåç
§å
ã«ã¤ãã¦ã調æ»çµæãå
ã«ã¾ã¨ãã¦ããã