You are on page 1of 1

Configurare retea fedora:

Dau ifconfig
Si vad numele interfetei
In directorul: /etc/sysconfig/network-scripts creiez un fisier numit:
ifcfg-p34p1 unde p34p1 este numele interfetei
Continut fisier:

NM_CONTROLLED="yes"
BOOTPROTO=static
DEVICE=eth1
ONBOOT=yes
IPADDR=192.168.8.248
NETMASK=255.255.255.0
BROADCAST=192.168.8.255
NETWORK=192.168.8.0
GATEWAY=192.168.8.1
TYPE=Ethernet
PEERDNS=no

Important: NM_CONTROLLED=no: Tell NetworkManager not to control this device

DNS1=192.168.0.1: The DNS Server to use

HWADDR: The MAC address of the NIC


Pentru DNS:

/etc/resolv.conf
nameserver your_Router_ip
nameserver 8.8.8.8 # Google's DNS Server

service network restart


http://rajaseelan.com/2011/12/05/fedora-16-configure-network-interface-with-static-ip-address/
http://stackoverflow.com/questions/21432620/how-to-setup-static-ip-in-fedora-19

You might also like