LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-02-2018, 12:43 PM   #1
pedrogurgel
LQ Newbie
 
Registered: Jun 2018
Posts: 1

Rep: Reputation: Disabled
Configurando interface de rede em servidores red hat e centos 7


#ip addr

edite o arquivo /etc/sysconfig/network-scripts/ifcfg-nomedaplaca:

# vi /etc/sysconfig/network-scripts/ifcfg-enp0s3


DHCP
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=enp0s3
UUID=610254c7-6b51-48de-9e5b-c07dff952408
DEVICE=enp0s3
ONBOOT=yes

IP Fixo
TYPE=Ethernet
BOOTPROTO=static
IPADDR=192.168.1.66
NETMASK=255.255.255.0
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=enp0s3
UUID=610254c7-6b51-48de-9e5b-c07dff952408
DEVICE=enp0s3
ONBOOT=yes


obrigado!
 
Old 06-03-2018, 06:59 AM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
This is an English language-only forum. If you are really unable to write English, use Google translate. Besides, ask a clear question which describes your problem and provide output of error messages.

Lastly, enclose terminal output or file contents in [.CODE] [./CODE] tags (without the period) or mark and hit the '#' button at the edit toolbar.

jlinkels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Red Hat interface alias - ONPARENT=no danno_mite Red Hat 3 03-20-2015 07:42 AM
LXer: OpenShift Welcomes CentOS to the Red Hat Family--Origin Adds CentOS Support LXer Syndicated Linux News 0 01-18-2014 05:15 AM
LXer: Red Hat incorporates 'free' Red Hat clone CentOS LXer Syndicated Linux News 0 01-08-2014 12:00 PM
Can you help me about Message Passing Interface (MPI) in Red Hat? danilux Red Hat 0 11-11-2004 11:49 AM
Red Hat X interface problem romcgill Linux - Newbie 3 02-14-2003 09:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration