Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, presently my system get a dynamic ip & i wanna to change it into static IP. Please advice me how to change ip in RHEL 5 Thanks Vaibhav...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2011
    Location
    Udaipur, India
    Posts
    3

    Post Convert Dynamic IP into Static IP in RHEL 5.3


    Hi,

    presently my system get a dynamic ip & i wanna to change it into static IP.
    Please advice me how to change ip in RHEL 5

    Thanks
    Vaibhav

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,904
    You can use the 'system-config-network' tool to change your IPs about on the local system. If you're going to use a static, you may find that network-level changes are needed so that the IP addresses you're allocating aren't in the block allocated by the DHCP server.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    May 2011
    Location
    Udaipur, India
    Posts
    3
    hi
    thanks for reply
    i have convert ip by using system-config-network but when i restart my server it take dynamic ip

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2009
    Location
    California
    Posts
    98
    vi /etc/sysconfig/network-scripts/ifcfg-eth0
    ----
    DEVICE=eth0
    BOOTPROTO=static
    BROADCAST=192.168.37.255
    IPADDR=192.168.37.12
    NETMASK=255.255.255.0
    NETWORK=192.168.37.0
    ONBOOT=yes
    GATEWAY=192.168.37.1
    ----

  6. #5
    Just Joined!
    Join Date
    May 2011
    Location
    Udaipur, India
    Posts
    3
    Hi,
    Thanks for replly

    it's work properly
    thanks buddy

Posting Permissions

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