Find the answer to your Linux question:
Results 1 to 3 of 3
I am using Redhat 6 santiago in vmware server and I have added two network adapters to vm. When I use ifconfig -a both the interfaces show up but when ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    1

    Can't find ifcfg-eth1 file although both eth0 and eth1 are working.


    I am using Redhat 6 santiago in vmware server and I have added two network adapters to vm.
    When I use ifconfig -a both the interfaces show up but when I check /etc/sysconfig/network-scripts/, I cant find ifcfg-eth1...

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,380
    Create them yourself, the syntax is quite simple.

    8.2.*Interface Configuration Files
    You must always face the curtain with a bow.

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Quote Originally Posted by rahul_darga View Post
    I am using Redhat 6 santiago in vmware server and I have added two network adapters to vm.
    When I use ifconfig -a both the interfaces show up but when I check /etc/sysconfig/network-scripts/, I cant find ifcfg-eth1...
    Your thought process is off a bit on this. ifconfig-a show you all interfaces doesn't matter if they are up or down. I am willing to bet that the interface you do not have a config file for it not up. Just run ifconfig for the up interfaces.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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