{"id":1330,"date":"2011-05-12T22:29:20","date_gmt":"2011-05-13T05:29:20","guid":{"rendered":"http:\/\/www.slyar.com\/blog\/?p=1330"},"modified":"2022-07-03T15:56:10","modified_gmt":"2022-07-03T22:56:10","slug":"centos-ip-dns-gateway-permanent","status":"publish","type":"post","link":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html","title":{"rendered":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS"},"content":{"rendered":"<p>\u6587\u7ae0\u4f5c\u8005\uff1a<span style=\"color: #0000ff;\">\u59dc\u5357(Slyar) <\/span>\u6587\u7ae0\u6765\u6e90\uff1aSlyar Home (<a title=\"Slyar\" href=\"http:\/\/www.slyar.com\" target=\"_blank\" rel=\"noopener\">www.slyar.com<\/a>) \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff0c\u8c22\u8c22\u5408\u4f5c\u3002<\/p>\n<p>Linux\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u548cDNS\u3002<\/p>\n<p><span style=\"color: #0000ff;\">1.\u4fee\u6539IP\u5730\u5740<\/span><\/p>\n<p>\u9996\u5148\u68c0\u67e5\u4e00\u4e0b\u4f60\u7684\u4e3b\u673a\u7f51\u5361\u6570\u91cf\u53ca\u540d\u79f0\uff0c\u76f8\u5173\u4fe1\u606f\u5728 \/etc\/sysconfig\/network-scripts\/ \u4e0b\u3002<\/p>\n<p><a href=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_220351.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1334\" title=\"ifcfg-eth0\" src=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_220351.png\" alt=\"\" width=\"403\" height=\"49\" srcset=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_220351.png 403w, http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_220351-150x18.png 150w, http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_220351-300x36.png 300w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><\/a><\/p>\n<p>\u4ece\u56fe\u4e2d\u53ef\u4ee5\u770b\u5230\u6211\u67092\u5757\u7f51\u5361\uff0c\u7b2c\u4e00\u5757\u4e3a\u4ee5\u592a\u7f51\u7269\u7406\u7f51\u5361\uff0c\u7f16\u53f7\u4e3a0\uff0c\u5982\u679c\u4f60\u6709\u591a\u4e2a\u7f51\u5361\uff0c\u5219\u7f16\u53f7\u4e3a0\u30011\u30012\u30013...\uff1b\u7b2c\u4e8c\u5757\u7f51\u5361\u4e3a\u56de\u73af\u7f51\u5361\uff0c\u4e00\u822c\u4e0d\u9700\u8981\u8bbe\u7f6e\u3002<\/p>\n<p>\u4f7f\u7528vim\u7f16\u8f91\u4f60\u9700\u8981\u8bbe\u7f6eIP\u7684\u7f51\u5361\uff0c\u8fd9\u91cc\u6211\u53ea\u80fd\u4fee\u6539ifcfg-eth0\uff0c\u770b\u56fe\uff0c\u4e0d\u591a\u89e3\u91ca\uff0c\u524d\u9762\u7684\u72b6\u6001\u662fBOOTPROTO\u8bbe\u7f6e\u4e3aDHCP\u65f6\u7684\u5199\u6cd5\u3002<\/p>\n<p><span style=\"color: #ff0000;\">vim \/etc\/sysconfig\/network-scripts\/ifcfg-eth0<\/span><\/p>\n<p><a href=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_221605.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1336\" title=\"\u4fee\u6539IP\" src=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_221605.png\" alt=\"\" width=\"431\" height=\"274\" srcset=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_221605.png 431w, http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_221605-150x95.png 150w, http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_221605-300x191.png 300w\" sizes=\"auto, (max-width: 431px) 100vw, 431px\" \/><\/a><\/p>\n<p>DEVICE=eth0 #\u7f51\u5361\u540d\u79f0<br \/>\nBOOTPROTO=static #\u83b7\u53d6ip\u7684\u65b9\u5f0f(static\/dhcp\/bootp)\uff0c\u4e0d\u89e3\u91ca<br \/>\nHWADDR=00:0C:29:B5:B2:69 #MAC\u5730\u5740<br \/>\nIPADDR=12.168.1.5 #IP\u5730\u5740<br \/>\nNETMASK=255.255.255.0 #\u5b50\u7f51\u63a9\u7801<br \/>\nNETWORK=192.168.1.0 #\u7f51\u7edc\u5730\u5740<br \/>\nBROADCAST=192.168.0.255 #\u5e7f\u64ad\u5730\u5740<br \/>\nNBOOT=yes #\u542f\u52a8\u8bbe\u5907<\/p>\n<p><span style=\"color: #0000ff;\">2.\u4fee\u6539\u7f51\u5173<\/span><\/p>\n<p><span style=\"color: #ff0000;\">vim \/etc\/sysconfig\/network<\/span><\/p>\n<p>\u589e\u52a0\u4e00\u6761\u7f51\u5173\u4fe1\u606f<\/p>\n<p>GATEWAY=192.168.1.1<\/p>\n<p><a href=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222053.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1337\" title=\"\u4fee\u6539\u7f51\u5173\" src=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222053.png\" alt=\"\" width=\"342\" height=\"161\" srcset=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222053.png 342w, http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222053-150x71.png 150w, http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222053-300x141.png 300w\" sizes=\"auto, (max-width: 342px) 100vw, 342px\" \/><\/a><\/p>\n<p><span style=\"color: #0000ff;\">3.\u4fee\u6539DNS<\/span><\/p>\n<p><span style=\"color: #ff0000;\">vim \/etc\/resolv.conf<\/span><\/p>\n<p>\u589e\u52a0DNS\u4fe1\u606f\u5373\u53ef<\/p>\n<p>nameserver 192.168.1.1<\/p>\n<p><a href=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222429.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1338\" title=\"\u589e\u52a0DNS\" src=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222429.png\" alt=\"\" width=\"294\" height=\"160\" srcset=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222429.png 294w, http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222429-150x82.png 150w\" sizes=\"auto, (max-width: 294px) 100vw, 294px\" \/><\/a><\/p>\n<p><span style=\"color: #0000ff;\">4.\u91cd\u65b0\u52a0\u8f7d\u7f51\u7edc\u914d\u7f6e<\/span><\/p>\n<p><span style=\"color: #ff0000;\">\/etc\/init.d\/network restart<\/span><\/p>\n<p><a href=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222726.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1339\" title=\"\u91cd\u65b0\u52a0\u8f7d\u7f51\u7edc\u914d\u7f6e\" src=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222726.png\" alt=\"\" width=\"543\" height=\"113\" srcset=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222726.png 543w, http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222726-150x31.png 150w, http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_222726-300x62.png 300w\" sizes=\"auto, (max-width: 543px) 100vw, 543px\" \/><\/a><\/p>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1a<a href=\"http:\/\/www.slyar.com\/blog\">Slyar Home<\/a> &raquo; <a href=\"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html\">CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u4f5c\u8005\uff1a\u59dc\u5357(Slyar) \u6587\u7ae0\u6765\u6e90\uff1aSlyar Home (www.slyar.com) \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff0c\u8c22\u8c22\u5408\u4f5c\u3002 Linux\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u548cDNS\u3002 1.\u4fee\u6539IP\u5730\u5740 \u9996\u5148\u68c0\u67e5\u4e00\u4e0b\u4f60\u7684\u4e3b\u673a\u7f51\u5361\u6570\u91cf\u53ca\u540d\u79f0\uff0c\u76f8\u5173\u4fe1\u606f\u5728 \/etc\/sys [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[915,316,906],"class_list":["post-1330","post","type-post","status-publish","format-standard","hentry","category-computer","tag-dhcp","tag-dns","tag-linux"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Slyar\"\/>\n\t<meta name=\"keywords\" content=\"slyar,redhat,centos,linux,ip,dns,gateway,shell,\u547d\u4ee4\u884c,\u4fee\u6539\" \/>\n\t<link rel=\"canonical\" href=\"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"zh_CN\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Slyar Home | \u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS - Slyar Home\" \/>\n\t\t<meta property=\"og:description\" content=\"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2011-05-13T05:29:20+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-07-03T22:56:10+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS - Slyar Home\" \/>\n\t\t<meta name=\"twitter:description\" content=\"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/centos-ip-dns-gateway-permanent.html#article\",\"name\":\"CentOS(RedHat)\\u547d\\u4ee4\\u884c\\u6c38\\u4e45\\u4fee\\u6539IP\\u5730\\u5740\\u3001\\u7f51\\u5173\\u3001DNS - Slyar Home\",\"headline\":\"CentOS(RedHat)\\u547d\\u4ee4\\u884c\\u6c38\\u4e45\\u4fee\\u6539IP\\u5730\\u5740\\u3001\\u7f51\\u5173\\u3001DNS\",\"author\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/05\\\/2011-05-12_220351.png\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/centos-ip-dns-gateway-permanent.html\\\/#articleImage\",\"width\":403,\"height\":49},\"datePublished\":\"2011-05-12T22:29:20-07:00\",\"dateModified\":\"2022-07-03T15:56:10-07:00\",\"inLanguage\":\"zh-CN\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/centos-ip-dns-gateway-permanent.html#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/centos-ip-dns-gateway-permanent.html#webpage\"},\"articleSection\":\"\\u7cfb\\u7edf\\u6280\\u5de7, dhcp, DNS, linux\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/centos-ip-dns-gateway-permanent.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/computer#listItem\",\"name\":\"\\u7cfb\\u7edf\\u6280\\u5de7\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/computer#listItem\",\"position\":2,\"name\":\"\\u7cfb\\u7edf\\u6280\\u5de7\",\"item\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/computer\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/centos-ip-dns-gateway-permanent.html#listItem\",\"name\":\"CentOS(RedHat)\\u547d\\u4ee4\\u884c\\u6c38\\u4e45\\u4fee\\u6539IP\\u5730\\u5740\\u3001\\u7f51\\u5173\\u3001DNS\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/centos-ip-dns-gateway-permanent.html#listItem\",\"position\":3,\"name\":\"CentOS(RedHat)\\u547d\\u4ee4\\u884c\\u6c38\\u4e45\\u4fee\\u6539IP\\u5730\\u5740\\u3001\\u7f51\\u5173\\u3001DNS\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/computer#listItem\",\"name\":\"\\u7cfb\\u7edf\\u6280\\u5de7\"}}]},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\",\"name\":\"Slyar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/centos-ip-dns-gateway-permanent.html#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar\",\"name\":\"Slyar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/centos-ip-dns-gateway-permanent.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/centos-ip-dns-gateway-permanent.html#webpage\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/centos-ip-dns-gateway-permanent.html\",\"name\":\"CentOS(RedHat)\\u547d\\u4ee4\\u884c\\u6c38\\u4e45\\u4fee\\u6539IP\\u5730\\u5740\\u3001\\u7f51\\u5173\\u3001DNS - Slyar Home\",\"description\":\"CentOS(RedHat)\\u547d\\u4ee4\\u884c\\u6c38\\u4e45\\u4fee\\u6539IP\\u5730\\u5740\\u3001\\u7f51\\u5173\\u3001DNS\",\"inLanguage\":\"zh-CN\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/centos-ip-dns-gateway-permanent.html#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"datePublished\":\"2011-05-12T22:29:20-07:00\",\"dateModified\":\"2022-07-03T15:56:10-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#website\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/\",\"name\":\"Slyar Home\",\"description\":\"\\u8bb0\\u5f55\\u4e2a\\u4eba\\u751f\\u6d3b\",\"inLanguage\":\"zh-CN\",\"publisher\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS - Slyar Home","description":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS","canonical_url":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html","robots":"max-image-preview:large","keywords":"slyar,redhat,centos,linux,ip,dns,gateway,shell,\u547d\u4ee4\u884c,\u4fee\u6539","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html#article","name":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS - Slyar Home","headline":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS","author":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"publisher":{"@id":"http:\/\/www.slyar.com\/blog\/#person"},"image":{"@type":"ImageObject","url":"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/05\/2011-05-12_220351.png","@id":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html\/#articleImage","width":403,"height":49},"datePublished":"2011-05-12T22:29:20-07:00","dateModified":"2022-07-03T15:56:10-07:00","inLanguage":"zh-CN","commentCount":2,"mainEntityOfPage":{"@id":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html#webpage"},"isPartOf":{"@id":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html#webpage"},"articleSection":"\u7cfb\u7edf\u6280\u5de7, dhcp, DNS, linux"},{"@type":"BreadcrumbList","@id":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/#listItem","position":1,"name":"Home","item":"http:\/\/www.slyar.com\/blog\/","nextItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/computer#listItem","name":"\u7cfb\u7edf\u6280\u5de7"}},{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/computer#listItem","position":2,"name":"\u7cfb\u7edf\u6280\u5de7","item":"http:\/\/www.slyar.com\/blog\/category\/computer","nextItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html#listItem","name":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS"},"previousItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html#listItem","position":3,"name":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS","previousItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/computer#listItem","name":"\u7cfb\u7edf\u6280\u5de7"}}]},{"@type":"Person","@id":"http:\/\/www.slyar.com\/blog\/#person","name":"Slyar","image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"}},{"@type":"Person","@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author","url":"http:\/\/www.slyar.com\/blog\/author\/slyar","name":"Slyar","image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"}},{"@type":"WebPage","@id":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html#webpage","url":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html","name":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS - Slyar Home","description":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS","inLanguage":"zh-CN","isPartOf":{"@id":"http:\/\/www.slyar.com\/blog\/#website"},"breadcrumb":{"@id":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html#breadcrumblist"},"author":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"creator":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"datePublished":"2011-05-12T22:29:20-07:00","dateModified":"2022-07-03T15:56:10-07:00"},{"@type":"WebSite","@id":"http:\/\/www.slyar.com\/blog\/#website","url":"http:\/\/www.slyar.com\/blog\/","name":"Slyar Home","description":"\u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b","inLanguage":"zh-CN","publisher":{"@id":"http:\/\/www.slyar.com\/blog\/#person"}}]},"og:locale":"zh_CN","og:site_name":"Slyar Home | \u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b","og:type":"article","og:title":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS - Slyar Home","og:description":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS","og:url":"http:\/\/www.slyar.com\/blog\/centos-ip-dns-gateway-permanent.html","article:published_time":"2011-05-13T05:29:20+00:00","article:modified_time":"2022-07-03T22:56:10+00:00","twitter:card":"summary","twitter:title":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS - Slyar Home","twitter:description":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS"},"aioseo_meta_data":{"post_id":"1330","title":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS - #site_title","description":"CentOS(RedHat)\u547d\u4ee4\u884c\u6c38\u4e45\u4fee\u6539IP\u5730\u5740\u3001\u7f51\u5173\u3001DNS","keywords":[{"label":"slyar","value":"slyar"},{"label":"redhat","value":"redhat"},{"label":"centos","value":"centos"},{"label":"linux","value":"linux"},{"label":"ip","value":"ip"},{"label":"dns","value":"dns"},{"label":"gateway","value":"gateway"},{"label":"shell","value":"shell"},{"label":"\u547d\u4ee4\u884c","value":"\u547d\u4ee4\u884c"},{"label":"\u4fee\u6539","value":"\u4fee\u6539"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-02-10 02:46:43","updated":"2022-10-18 12:59:08","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"_links":{"self":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/1330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/comments?post=1330"}],"version-history":[{"count":1,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/1330\/revisions"}],"predecessor-version":[{"id":8486,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/1330\/revisions\/8486"}],"wp:attachment":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/media?parent=1330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/categories?post=1330"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/tags?post=1330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}