{"id":462,"date":"2022-03-20T23:15:49","date_gmt":"2022-03-20T14:15:49","guid":{"rendered":"https:\/\/www.tennouzu-papa.com\/?p=462"},"modified":"2022-03-20T23:16:40","modified_gmt":"2022-03-20T14:16:40","slug":"centos-stream-8-%e3%81%a7%e3%83%ab%e3%83%bc%e3%82%bf%e3%83%bc%e4%bd%9c%e6%88%90","status":"publish","type":"post","link":"https:\/\/www.tennouzu-papa.com\/?p=462","title":{"rendered":"CentOS Stream 8 \u3067\u30eb\u30fc\u30bf\u30fc\u4f5c\u6210"},"content":{"rendered":"\n<p>\u691c\u8a3c\u3084\u3089\u306a\u3093\u3084\u3089\u3067\u3001vSphere Hypervisor ESXi \u30b4\u30ea\u30b4\u30ea\u4f7f\u3063\u3066\u3066\u3001\u7121\u7dda\u3082\u306e\u3063\u304b\u3063\u3066\u308b\u30d6\u30ed\u30fc\u30c9\u30d0\u30f3\u30c9\u30eb\u30fc\u30bf\u30fc\u306e\u30bb\u30b0\u30e1\u30f3\u30c8\u306b\u3001\u76f4\u4ed8\u3051\u3057\u305f\u304f\u306a\u3044\u4eee\u60f3\u30de\u30b7\u30f3\u7528\u3068\u3057\u3066CentOS8\u3067GW\u4f5c\u3063\u3066\u305f\u3093\u3060\u304c\u3001\u7121\u5370\u306e8\u3060\u3063\u305f\u3082\u3093\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u7d42\u308f\u3063\u3066\u305f\u2026\u3002<\/p>\n\n\n\n<p>\u306a\u306e\u3067\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u304b\u540d\u524d\u89e3\u6c7a\u3068\u304b\u8af8\u3005\u307e\u3068\u3081\u3066\u3001Stream 8 \u3067GW\u3092\u4f5c\u308a\u76f4\u3059\u3053\u3068\u306b\u3002<\/p>\n\n\n\n<p>\u5404GW\u7528\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u306f\u30012vCUP\u30011.5GB MEM\u300110GB HDD Thin\u30012NetworkPort\u3067\u4f5c\u6210\u3002\u30d1\u30c3\u30b1\u30fc\u30b8\u30b0\u30eb\u30fc\u30d7\u306f\u300c\u6700\u5c0f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"481\" src=\"https:\/\/www.tennouzu-papa.com\/wp-content\/uploads\/2022\/03\/image-1-1024x481.png\" alt=\"\" class=\"wp-image-465\" srcset=\"https:\/\/www.tennouzu-papa.com\/wp-content\/uploads\/2022\/03\/image-1-1024x481.png 1024w, https:\/\/www.tennouzu-papa.com\/wp-content\/uploads\/2022\/03\/image-1-300x141.png 300w, https:\/\/www.tennouzu-papa.com\/wp-content\/uploads\/2022\/03\/image-1-768x361.png 768w, https:\/\/www.tennouzu-papa.com\/wp-content\/uploads\/2022\/03\/image-1-900x423.png 900w, https:\/\/www.tennouzu-papa.com\/wp-content\/uploads\/2022\/03\/image-1.png 1225w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>\u69cb\u6210\u306f\u3053\u3093\u306a\u611f\u3058<\/figcaption><\/figure>\n\n\n\n<!--more-->\n\n\n\n<p>\u5168\u4f53\u306eDefault Gateway\u306f\u3001DHCP\u5074\u3092 external Zone\u3001\u5185\u90e8\u5074\u3092trusted Zone\u3068\u3057\u3066masquerade\u3067\u3061\u3083\u3063\u3061\u3083\u3068\u4f5c\u6210\u3002<\/p>\n\n\n\n<p>\u5404\u30bb\u30b0\u30e1\u30f3\u30c8\u306eGW\u306f\u3001IP Forward\u3092\u6709\u52b9\u306b\u3057\u3066\u3001Default Gateway\u3092\u5168\u4f53\u306eGW\u306b\u3001\u5404\u30bb\u30b0\u30e1\u30f3\u30c8\u3078\u306eroutes\u3092GW Port Group \u306eNIC\u306b\u8a2d\u5b9a\u3002<\/p>\n\n\n\n<p>IP Forward\u306e\u8a2d\u5b9a\u306f\u3001\/etc\/sysctl.conf \u3078&#8221;net.ipv4.ip_foward=1&#8243;\u306e\u8ffd\u8a18\u3002<br>\u305d\u306e\u5834\u3067\u3059\u3050\u306b\u6709\u52b9\u5316\u3059\u308b\u5834\u5408\u306f\u3001sysctl net.ipv4.ip-foward=1 \u3092\u5b9f\u884c\u3002<br>\u3061\u306a\u307f\u306b\u4e0a\u8a18\u64cd\u4f5c\u3082\u3001\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3082\u7ba1\u7406\u8005\u6a29\u9650\u3067\u5b9f\u884c\u3002<\/p>\n\n\n\n<p>Zone\u306e\u8a2d\u5b9a\u306f\u3001nmcli\u3067routes\u3068\u4e00\u7dd2\u306b\u307e\u3068\u3081\u3066\u8a2d\u5b9a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nmcli c m ens192 connection.zone trusted +ipv4.routes \"192.168.128.0\/24 192.168.2.128\" +ipv4.route \"192.168.254.0\/24 192.168.2.254\"<\/code><\/pre>\n\n\n\n<p>\u3053\u308c\u306f\u3001GW\u5074\u3067\u306e\u8a2d\u5b9a\u4f8b\u3002<\/p>\n\n\n\n<p>Zone\u3092trusted\u306b\u3057\u305f\u306e\u306f\u3001\u691c\u8a3c\u30e1\u30a4\u30f3\u3067\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u3069\u3093\u306aApplication\u304c\u3069\u3093\u306a\u30dd\u30fc\u30c8\u3092\u4f7f\u3046\u304b\u3001\u90fd\u5ea6\u90fd\u5ea6\u78ba\u8a8d\u3057\u3066firewall-cmd\u305f\u305f\u304f\u306e\u304c\u3081\u3093\u3069\u304f\u3055\u3044\u304b\u3089\u3002<\/p>\n\n\n\n<p>\u5b9f\u969b\u306e\u696d\u52d9\u3067\u306f\u3001\u30c0\u30e1\u7d76\u5bfe\uff01<\/p>\n\n\n\n<p>\u5404\u30bb\u30b0\u30e1\u30f3\u30c8GW\u3067\u306e\u540d\u524d\u89e3\u6c7a(\u30ea\u30dd\u30b8\u30c8\u30ea\u63a5\u7d9a\u7528)\u3092\u3069\u3046\u3057\u3088\u3046\u304b\u60a9\u3093\u3060\u304c\u3001\u300cGW\u304c\u5185\u90e8\u30de\u30b7\u30f3\u306e\u540d\u524d\u89e3\u6c7a\u3059\u308b\u3088\u3046\u306a\u3053\u3068\u306a\u3093\u3066\u306a\u3044\u306a\u300d\u3068\u601d\u3044\u81f3\u308a\u3001resolve.conf\u306b\u30d6\u30ed\u30fc\u30c9\u30d0\u30f3\u30c9\u30eb\u30fc\u30bf\u30fc\u306eIP Address\u76f4\u66f8\u304d\u3067\u7d42\u308f\u3089\u305b\u308b\u3002\u3069\u3046\u305b\u691c\u8a3c\u7528\u3060\u3057\u3001\u4ffa\u3057\u304b\u4f7f\u308f\u306a\u3044\u3057\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3067\u5404\u30bb\u30b0\u30e1\u30f3\u30c8\u3067Update\u3067\u304d\u308b\u3057\u3001\u30d6\u30ed\u30fc\u30c9\u30d0\u30f3\u30c9\u30eb\u30fc\u30bf\u30fc\u3068GW\u306e2\u6bb5\u69cb\u9020\u3067\u5916\u90e8\u304b\u3089\u306e\u4fb5\u5165\u306e\u3057\u306b\u304f\u3055\u4fdd\u3066\u305f\u3057\u3002<\/p>\n\n\n\n<p>\u3044\u3063\u305dexternal\u306essh\u3082\u5916\u3059\u304b\uff01\u3063\u3066\u601d\u3063\u305f\u304c\u3001Zone\u3063\u3066service\u3084\u3089port\u3084\u3089\u306b\u4f55\u3082\u8a2d\u5b9a\u3055\u308c\u3066\u306a\u3044\u3068\u3001\u3059\u3079\u3066\u306e\u901a\u4fe1\u3092\u901a\u3059\u3063\u3066\u3069\u3053\u304b\u306b\u66f8\u3044\u3066\u3042\u3063\u305f\u306a\u3041\u3063\u3066\u601d\u3044\u3060\u3057\u305f\u3093\u3067\u3084\u3081\u3068\u304f\u3002<\/p>\n\n\n\n<p>\u5f8c\u3067man\u30da\u30fc\u30b8\u3058\u3063\u304f\u308a\u8aad\u307f\u3053\u307e\u306a\u304d\u3083\u306a\u3041\u3002\u95a2\u9023\u30da\u30fc\u30b8\u304c\u591a\u3059\u304e\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u691c\u8a3c\u3084\u3089\u306a\u3093\u3084\u3089\u3067\u3001vSphere Hypervisor ESXi \u30b4\u30ea\u30b4\u30ea\u4f7f\u3063\u3066\u3066\u3001\u7121\u7dda\u3082\u306e\u3063\u304b\u3063 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,30,35],"tags":[],"class_list":["post-462","post","type-post","status-publish","format-standard","hentry","category-linux","category-vmware","category-35"],"_links":{"self":[{"href":"https:\/\/www.tennouzu-papa.com\/index.php?rest_route=\/wp\/v2\/posts\/462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tennouzu-papa.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tennouzu-papa.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tennouzu-papa.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tennouzu-papa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=462"}],"version-history":[{"count":1,"href":"https:\/\/www.tennouzu-papa.com\/index.php?rest_route=\/wp\/v2\/posts\/462\/revisions"}],"predecessor-version":[{"id":466,"href":"https:\/\/www.tennouzu-papa.com\/index.php?rest_route=\/wp\/v2\/posts\/462\/revisions\/466"}],"wp:attachment":[{"href":"https:\/\/www.tennouzu-papa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tennouzu-papa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tennouzu-papa.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}