Solved

rhel 7 network not coming up

Posted on 2014-12-23
2
264 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

728 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