assign a server public static IP

Discussion in 'Site & Server Administration' started by xbat, Jul 24, 2011.

  1. #1
    bridge mode right to the server -

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

    <looks like this >

    # DEVICE=eth0
    # BOOTPROTO=static
    # HWADDR=12:32:34:45:56:23
    # IPADDR=74.164.xx.xx


    < 74.164.xx.xx is my public ip >


    I do service network restart and get nothing..... ??? No connection... Are there other files I need to edit?
     
    xbat, Jul 24, 2011 IP
  2. felz

    felz Greenhorn

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    for some needs, you need to configure Iptables
     
    felz, Jul 24, 2011 IP
  3. xbat

    xbat Well-Known Member

    Messages:
    326
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    105
    #3
    i figured it out.. i needed netmask and that jazz
     
    xbat, Jul 24, 2011 IP