Fedora Static Configure

Background

Currenlty! I am work on fedora system, but the static-ip has required, but the fedora have some stranger things with the ip-configure! I'll put all my configure below which you probably different with yours~ but it's should very very similar ~~

open your configure file as below command show.

vim /etc/networks

and then put the below configure (YOU NEED TO MODIFY IN YOUR !)


HWADDR=F8:BC:12:A0:31:64
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=enp2s0
UUID=8b11d98c-29bb-35b7-9b84-849761182048
ONBOOT=yes
PEERDNS=yes
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
DEVICE=enp2s0
BOOTPROTO=static
NM_CONTROLLED=yes
IPADDR=192.168.90.75
NETMASK=255.255.255.0
GATEWAY=192.168.90.1
DNS=192.168.0.188

after that, you can restart your network manager by the below command~

service network restart

That's all !

posted @ 2016-09-16 11:35  Landpack  阅读(178)  评论(0编辑  收藏  举报