Solved

rhel 7 network not coming up

Posted on 2014-12-23
2
255 Views
Last Modified: 2015-01-19
Hello experts i am installing a rhel server 7 with a kickstart file.

the network line in the kickstart is: network --device=eno1 --bootproto=static --ip=10.199.xxx.xxx --netmask=255.255.xxx.xxx --gateway=10.199.xxx.xxx --nameserver=10.199.xxx.xxx

after the first reboot the network is up. in the ifcfg-eno1 brootpoto=none so i change this to static and when you do a route the default gw is missing so i add manually.

after another reboot the network is down and i start with systemctl start network it. Then again is the default gw away.
What am i missing to do?
0
Comment
Question by:Wilder_Admin
2 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 40516499
Do you have onboot set to YES in the ifcfg file?

cat /etc/sysconfig/network-scripts/ifcfg-ens192
TYPE=Ethernet
# BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=ens192
UUID=fb027c16-9d06-48f7-abe0-f27326dd8bda
ONBOOT=yes
HWADDR=00:50:56:00:50:56
PEERDNS=yes
PEERROUTES=yes
IPADDR=x.x.x.x
GATEWAY=x.x.x.x
NETMASK=x.x.x.x
DNS1=x.x.x.x
DNS2=x.x.x.x

Open in new window

0
 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
ID: 40524856
network interfaces are not named consistently during install and after boot ... surprise surprise...
check centos faq on subject.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now