Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

assign server public static IP

Discussion in 'General Discussion' started by webstuff, Jul 24, 2011.

  1. webstuff

    webstuff Well-Known Member

    Joined:
    Jul 19, 2011
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    58
    How do you assign a server a public IP

    I am running a modem in bridge mode to my server

    I edit file /etc/sysconfig/network-scripts/ifcfg-eth0

    <looks like this >

    # DEVICE=eth0
    # BOOTPROTO=static
    # HWADDR=12:23:44:43:56:67
    # IPADDR=72.234.xx.xx


    < 72.234.xx.xx is my public ip >
     
  2. webstuff

    webstuff Well-Known Member

    Joined:
    Jul 19, 2011
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    58
    I figured it out.. turns out you need netmask and some other items..
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice