Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2009
    Posts
    5

    Default Help - IP Address Assigned Twice To etho:0

    Hiya all,

    I'm stumped here as it seems like after an update etho:0 has assigned itself 2 x IP Addresses. I don't understand how this happened or how to fix it so some help would be great as I cannot access cPanel while it's like this or my sub directories.

    Here is a print of ifconfig

    -bash-3.2# ifconfig
    eth0 Link encap:Ethernet HWaddr AA:01:5F:9A:FE:26
    inet addr:95.154.254.38 Bcast:95.154.254.38 Mask:255.255.255.255
    inet6 addr: fe80::a801:5fff:fe9a:fe26/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:366 errors:0 dropped:0 overruns:0 frame:0
    TX packets:377 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:30854 (30.1 KiB) TX bytes:49131 (47.9 KiB)

    eth0:0 Link encap:Ethernet HWaddr AA:01:5F:9A:FE:26
    inet addr:95.154.254.39 Bcast:95.154.254.39 Mask:255.255.255.255
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    eth0:1 Link encap:Ethernet HWaddr AA:01:5F:9A:FE:26
    inet addr:95.154.254.39 Bcast:95.154.254.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    eth0:2 Link encap:Ethernet HWaddr AA:01:5F:9A:FE:26
    inet addr:95.154.254.40 Bcast:95.154.254.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    eth0:3 Link encap:Ethernet HWaddr AA:01:5F:9A:FE:26
    inet addr:95.154.254.41 Bcast:95.154.254.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    eth0:4 Link encap:Ethernet HWaddr AA:01:5F:9A:FE:26
    inet addr:95.154.254.42 Bcast:95.154.254.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    eth0:5 Link encap:Ethernet HWaddr AA:01:5F:9A:FE:26
    inet addr:95.154.254.43 Bcast:95.154.254.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:10 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1162 (1.1 KiB) TX bytes:1162 (1.1 KiB)

    Many thanks in advance

    Jay
    EastCoast-Webservices.com http://www.eastcoast-webservices.com

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    The IP address entry that is duplicated appears to use two different broadcast addresses as seen below:
    Code:
    eth0:0 Link encap:Ethernet HWaddr AA:01:5F:9A:FE:26
    inet addr:95.154.254.39 Bcast:95.154.254.39 Mask:255.255.255.255
    
    eth0:1 Link encap:Ethernet HWaddr AA:01:5F:9A:FE:26
    inet addr:95.154.254.39 Bcast:95.154.254.255 Mask:255.255.255.0
    To correct this it will be necessary to check with the data center staff or network engineering personnel to confirm the correct IP address setup information, including the network mask, network gateway, and broadcast address. Once this information is known then it would be possible to proceed forward with corrections.

    The configuration information for (1) the Ethernet interface involved "eth0" and for (2) IP aliases (as setup using the IP Functions in WHM) may be found at the following file system paths:
    Code:
    /etc/sysconfig/network-scripts/ifcfg-eth0
    /etc/ips
    The two files listed may be viewed via root SSH access; here are two example commands using "cat" to display the file contents:
    Code:
    # cat /etc/sysconfig/network-scripts/ifcfg-eth0
    # cat /etc/ips
    The IP address aliases as defined in the aforementioned "ips" file may be configured via WHM at the following menu paths:
    WHM: Main >> IP Functions >> Add a New IP Address
    WHM: Main >> IP Functions >> Show or Delete Current IP Addresses

    Related Documentation:
    IPFunctions < AllDocumentation/WHMDocs < TWiki
    AddNewIP < AllDocumentation/WHMDocs < TWiki
    ShowDeleteIP < AllDocumentation/WHMDocs < TWiki

  3. #3
    Member
    Join Date
    Oct 2009
    Posts
    5

    Default

    Many thanks for that I knew it would be simple to resolve but just couldn't get my head round where.

    I'd parked a domain on top of another and this had messed up my IP address pool. I then moved all sites to the sites main IP and then deleted the duplicate entry. Rebuilt the IP address pool and voila resolved.

    Thanks for your help. I was resolving itself temporarily when cPanel updated via cron every night but would go down during the day so it's good to fix proper.
    EastCoast-Webservices.com http://www.eastcoast-webservices.com

Similar Threads & Tags
Similar threads

  1. Wrong IP assigned as Nameserver
    By ruber in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-05-2007, 02:24 PM
  2. Name Server Assigned IP
    By Dayu in forum New User Questions
    Replies: 1
    Last Post: 08-15-2006, 08:54 PM
  3. Assigned Nameserver Ips
    By user1101 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-15-2006, 01:30 PM
  4. DNS Record - A,MX settings assigned with Public IPs address
    By stevetoh in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-08-2004, 11:14 PM
  5. Assigned Nameserver Ips
    By kahoz in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-05-2004, 03:13 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube