SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Sep 2008
    Posts
    977
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    set up of fixed IP adress on rhel

    Hi,

    I want to create a fixed ip address for a domain that is on my own dedicated server running rhel.

    I can;t seem to find a tutorial that I understand and would apprecaite if someone could assist.

    Also, how do I find out what address to give the domain? surely I shouldn't just dream one up? lol

    bazz

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,672
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    That would be something assigned to you by your ISP (within their block of IP Addresses). Be aware, though, that a fixed (dedicated) IP address will cost you more (from many hosts).

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  3. #3
    SitePoint Member
    Join Date
    Feb 2012
    Location
    Melbourne, Australia
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Is this in regards to your home connection? If you have a dynamic IP address (one that changes every time you reconnect) you will need to contact your ISP into acquiring a static IP (one that doesn't change every time you reconnect).

    If this is a dedicated server in a datacentre - then the commands are as per below:

    File: /etc/sysconfig/network-scripts/ifcfg-eth0
    Note: you can use vi, nano or whichever editor may be the one that you use.

    And enter as per below:

    DEVICE=eth0
    BOOTPROTO=none
    ONBOOT=yes

    IPADDR=static-ip
    NETMASK=netmask (most likely 255.255.255.0 for you)
    GATEWAY=gateway-ip

    Once you have entered those values - you need to restart networking in order for these changes to apply:

    service network restart




    notau


Bookmarks

Posting Permissions

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