{"id":2357,"date":"2012-03-17T18:19:13","date_gmt":"2012-03-17T10:19:13","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=2357"},"modified":"2023-04-28T09:49:39","modified_gmt":"2023-04-28T09:49:39","slug":"how-to-configure-static-ip-address-on-linux-fedora-16-server","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-configure-static-ip-address-on-linux-fedora-16-server\/","title":{"rendered":"How to Configure Static IP Address on Linux Fedora 16 Server"},"content":{"rendered":"<p>This post will show the quick steps to configure static ip address on linux Fedora 16 server. By default the linux Fedora 16 server will auto get the ip from DHCP server. DHCP is not recommended if you use as a server. This steps including the configuration of ip address, netmask, gateway and dns server.<\/p>\n<p>Open network configuration file as below :<\/p>\n<pre>\n[root@fedora16 ~]# vi \/etc\/sysconfig\/network-scripts\/ifcfg-p3p1\n<\/pre>\n<p>At first, the setting will look like this :<\/p>\n<pre>\nDEVICE=\"p3p1\"\nHWADDR=\"00:0C:29:6F:37:B5\"\nBOOTPROTO=\"dhcp\"\nONBOOT=\"yes\"\nNM_CONTROLLED=\"yes\"\n<\/pre>\n<p>This examples shows how you can configure static ip address, netmask and dns server on Fedora 16 server :<\/p>\n<pre>\nDEVICE=\"p3p1\"\nHWADDR=\"00:0C:29:6F:37:B5\"\nBOOTPROTO=\"none\"\nONBOOT=\"yes\"\nNM_CONTROLLED=\"yes\"\nIPADDR=192.168.1.47\nNETMASK=255.255.255.0\nDNS1=8.8.8.8\nDNS2=8.8.4.4\nTYPE=Ethernet\nIPV6INIT=no\nUSERCTL=no\n<\/pre>\n<p>Configure the server gateway :<\/p>\n<pre>\n[root@fedora16 ~]# vi \/etc\/sysconfig\/network\n<\/pre>\n<pre>\nNETWORKING=yes\nHOSTNAME=fedora16.ehowstuff.com\nGATEWAY=192.168.1.1\n<\/pre>\n<p>Start the network service :<\/p>\n<pre>\n[root@fedora16 ~]# systemctl restart network.service\n<\/pre>\n<p>Set network auto start at boot :<\/p>\n<pre>\n[root@fedora16 ~]# chkconfig network on\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This post will show the quick steps to configure static ip address on linux Fedora 16 server. By default the linux Fedora 16 server will auto get the ip from&#8230;<\/p>\n","protected":false},"author":6,"featured_media":2351,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2057,1011],"tags":[1371,1536,1546,1596,1755,1798],"class_list":["post-2357","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fedora","category-network","tag-fedora-16","tag-linux","tag-linux-utilities","tag-network","tag-set-ip-address-fedora","tag-static-ip"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/2357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=2357"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/2357\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/2351"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=2357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=2357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=2357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}