Find the answer to your Linux question:
Results 1 to 2 of 2
Right now my issue is that everytime I reboot, I need to go over iKVM and type the following to boot up the network part. ifconfig eth2 SERVERIP netmask 255.255.255.0 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2013
    Posts
    2

    Starting Up automatically network without iKVM? CentOS 6 64bit


    Right now my issue is that everytime I reboot, I need to go over iKVM and type the following to boot up the network part.

    ifconfig eth2 SERVERIP netmask 255.255.255.0 up
    route add default gw SERVERGWIP

    And then the server and all other ips will be available.

    Is there some sort of script im missing on to why it is doing this?

    Or could I place a script when it boots it will run those commands?

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,390
    Hi and welcome

    Have a look at /etc/sysconfig/network-scripts
    There should be a file called ifcfg-eth2

    If yes: Look at it, verify the config and set ONBOOT=yes
    If no: Create it.

    For details look here: https://access.redhat.com/site/docum...nterfaces.html
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •