Solved

rhel 7 network not coming up

Posted on 2014-12-23
2
260 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 62

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Guacamole cut and paste issue 3 95
installing docker on ubuntu 6 36
AWS Central Authentication 1 86
Moving from Mcrypt to OpenSSL 18 45
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

839 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