Find the answer to your Linux question:
Results 1 to 3 of 3
HI guys, How to configure multiple IP addresses on a RED HAT liunx ? Thanks!...
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    4

    configure multiple IP addresses

    HI guys,
    How to configure multiple IP addresses on a RED HAT liunx ?

    Thanks!

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    That would depend. Are you talking multiple ip's on a single interface or many interfaces?

    In /etc/sysconfig/network-scripts you will find the configuration files for your interfaces.

    If you are looking to have more then one ip per interface then copy ifcfg-eth# to ifcfg-eth#.1 and change the ip address in that file. continue doing this for every IP you want to add to that interface increasing the .# by 1 every time.

    If you are talking multiple interface then you copy ifcfg-eth# to another interface, for example copy ifcfg-eth0 to ifcfg-eth1 and change the IP address.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Dec 2011
    Posts
    4
    OH,Thank u so much

    I will try

Posting Permissions

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