{"id":332,"date":"2021-06-23T11:22:38","date_gmt":"2021-06-23T02:22:38","guid":{"rendered":"https:\/\/centos.ihavenomoney.co.kr\/?page_id=332"},"modified":"2024-04-05T15:11:51","modified_gmt":"2024-04-05T06:11:51","slug":"ip-check-setting","status":"publish","type":"page","link":"https:\/\/centos.ihavenomoney.co.kr\/?page_id=332","title":{"rendered":"IP check \/ setting"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">remark :<\/h3>\n\n\n\n<p> \uc138\ud305 \uc708\ub3c4\uc6b0 \uc640 \ube44\uad50<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">C:\\Users\\virtual01&gt;ipconfig \/all\n\nWindows IP \uad6c\uc131\n\n   \ud638\uc2a4\ud2b8 \uc774\ub984 . . . . . . . . : virtual01-PC\n   \uc8fc DNS \uc811\ubbf8\uc0ac . . . . . . . :\n   \ub178\ub4dc \uc720\ud615 . . . . . . . . . : \ud63c\uc131\n   IP \ub77c\uc6b0\ud305 \uc0ac\uc6a9. . . . . . . : \uc544\ub2c8\uc694\n   WINS \ud504\ub85d\uc2dc \uc0ac\uc6a9. . . . . . : \uc544\ub2c8\uc694\n\n\uc774\ub354\ub137 \uc5b4\ub311\ud130 \ub85c\uceec \uc601\uc5ed \uc5f0\uacb0:\n\n   \uc5f0\uacb0\ubcc4 DNS \uc811\ubbf8\uc0ac. . . . :\n   \uc124\uba85. . . . . . . . . . . . : Intel(R) PRO\/1000 MT Desktop Adapter\n   \ubb3c\ub9ac\uc801 \uc8fc\uc18c . . . . . . . . : 08-00-27-85-DA-58\n   DHCP \uc0ac\uc6a9 . . . . . . . . . : \uc608\n   \uc790\ub3d9 \uad6c\uc131 \uc0ac\uc6a9. . . . . . . : \uc608\n   \ub9c1\ud06c-\ub85c\uceec IPv6 \uc8fc\uc18c . . . . : fe80::547d:ab1e:ecbd:81e6%11(\uae30\ubcf8 \uc124\uc815)\n   IPv4 \uc8fc\uc18c . . . . . . . . . : 10.0.2.15(\uae30\ubcf8 \uc124\uc815)\n   \uc11c\ube0c\ub137 \ub9c8\uc2a4\ud06c . . . . . . . : 255.255.255.0\n   \uc784\ub300 \uc2dc\uc791 \ub0a0\uc9dc. . . . . . . : 2021\ub144 6\uc6d4 23\uc77c \uc218\uc694\uc77c \uc624\uc804 11:16:53\n   \uc784\ub300 \ub9cc\ub8cc \ub0a0\uc9dc. . . . . . . : 2021\ub144 6\uc6d4 24\uc77c \ubaa9\uc694\uc77c \uc624\uc804 11:16:53\n   \uae30\ubcf8 \uac8c\uc774\ud2b8\uc6e8\uc774 . . . . . . : 10.0.2.2\n   DHCP \uc11c\ubc84 . . . . . . . . . : 10.0.2.2\n   DHCPv6 IAID . . . . . . . . : 235405351\n   DHCPv6 \ud074\ub77c\uc774\uc5b8\ud2b8 DUID. . . : 00-01-00-01-23-E6-EB-36-08-00-27-82-DA-26\n   DNS \uc11c\ubc84. . . . . . . . . . : 8.8.8.8\n                                 8.8.4.4\n   Tcpip\ub97c \ud1b5\ud55c NetBIOS. . . . : \uc0ac\uc6a9\n\n\ud130\ub110 \uc5b4\ub311\ud130 isatap.{570B76AA-9ADB-4E32-B867-1A624A0B0766}:\n\n   \ubbf8\ub514\uc5b4 \uc0c1\ud0dc . . . . . . . . : \ubbf8\ub514\uc5b4 \uc5f0\uacb0 \ub04a\uae40\n   \uc5f0\uacb0\ubcc4 DNS \uc811\ubbf8\uc0ac. . . . :\n   \uc124\uba85. . . . . . . . . . . . : Microsoft ISATAP Adapter\n   \ubb3c\ub9ac\uc801 \uc8fc\uc18c . . . . . . . . : 00-00-00-00-00-00-00-E0\n   DHCP \uc0ac\uc6a9 . . . . . . . . . : \uc544\ub2c8\uc694\n   \uc790\ub3d9 \uad6c\uc131 \uc0ac\uc6a9. . . . . . . : \uc608<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">CentOS Setting<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth0s3\n\n# static IP address on CentOS 7 or RHEL 7#\nHWADDR=00:08:A2:0A:BA:B8\nTYPE=Ethernet\nBOOTPROTO=none\n# Server IP #\nIPADDR=10.0.2.15\n# Subnet #\nPREFIX=24\n# Set default gateway IP #\nGATEWAY=10.0.2.2\n# Set dns servers #\nDNS1=8.8.8.8\nDNS2=8.8.4.4\nDEFROUTE=yes\nIPV4_FAILURE_FATAL=no\n# Disable ipv6 #\nIPV6INIT=no\nNAME=eth0\n# This is system specific and can be created using 'uuidgen eth0' command #\nUUID=41171a6f-bce1-44de-8a6e-cf5e782f8bd6\nDEVICE=eth0\nONBOOT=yes<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Restart<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl restart network<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">IPcheck<\/h3>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:vim decode:true \" ># ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's\/\\\/.*$\/\/'\n\n111.222.222.111\nfe80::216:3eff:dec8:f58c\n<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>remark : \uc138\ud305 \uc708\ub3c4\uc6b0 \uc640 \ube44\uad50 C:\\Users\\virtual01&gt;ipconfig \/all Windows IP \uad6c\uc131 \ud638\uc2a4\ud2b8 \uc774\ub984 . . . . . . . . : virtual01-PC \uc8fc DNS \uc811\ubbf8\uc0ac . . . . . . . : \ub178\ub4dc \uc720\ud615 . . . . . . . . . : \ud63c\uc131 IP \ub77c\uc6b0\ud305 \uc0ac\uc6a9. . . . . . &hellip;<br \/><a href=\"https:\/\/centos.ihavenomoney.co.kr\/?page_id=332\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\"><span class=\"screen-reader-text\">IP check \/ setting<\/span> \ub354\ubcf4\uae30<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-332","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=332"}],"version-history":[{"count":3,"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/332\/revisions"}],"predecessor-version":[{"id":606,"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/332\/revisions\/606"}],"wp:attachment":[{"href":"https:\/\/centos.ihavenomoney.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}