The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems assign ips on vps

Discussion in 'General Discussion' started by amil, Sep 22, 2008.

  1. amil

    amil Member

    Joined:
    Aug 28, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hi,
    I have a dedicated server, fully virtualized with openvz (and hypervm for manage). In a vps i have cPanel.
    When I atempt to add a new ip in WHM, appears in red.

    When i make:

    root@server [/etc]# service ipaliases restart
    UnRouting 62.212.74.1xx SIOCDELRT: No such device
    [FAILED]
    Shutting down eth0:1 eth0:1: unknown interface: No such device
    [FAILED]
    Bringing up eth0:1 SIOCSIFADDR: No such device
    eth0:1: unknown interface: No such device
    SIOCSIFNETMASK: No such device
    SIOCGIFADDR: No such device
    SIOCSIFBROADCAST: No such device
    SIOCSIFBRDADDR: No such device
    eth0:1: unknown interface: No such device
    [FAILED]
    Routing 62.212.74.1xx SIOCADDRT: No such device
    [FAILED]

    What is happening? Is a vps networking problem?? (is working aparently good).

    Thanks!

    Regards,
    Amil
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Have you set WHM > Basic cPanel/WHM Setup > Alternate Main Ethernet Device > to the main NIC device for the virtual server?
     
  3. amil

    amil Member

    Joined:
    Aug 28, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hi! I lost define venet0:0. Now it seems that i can assig right the ips!

    Only one think. I stablish now a new dedicated ip for a hosting account, and now appeards the cPanel/WHM default instead homepage, it is right?? Or there is a problem??

    Thanks!

    Regards,
    Amil
     
  4. amil

    amil Member

    Joined:
    Aug 28, 2008
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    When I do:
    root@server [~]# /etc/init.d/network restart
    Shutting down interface venet0: [ OK ]
    Shutting down loopback interface: [ OK ]
    Bringing up loopback interface: [ OK ]
    Bringing up interface venet0: SIOCADDRT: Network is unreachable
    [ OK ]

    venet0 failed...

    In "Alternate main ethernet device" i put venet0:0, this means is my vz network card.

    The new IP I addedd to hosting account appears in WHM in red.

    Thanks again for help :)

    Regards,
    Victor Amil
     
  5. LAZer

    LAZer Well-Known Member

    Joined:
    Jan 18, 2010
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    at net :D
    same problem

    hi i have got a server , it is centos 5 , and with hyper vm , server had 1 ip , and i have ordered 1 other ip from datacenter for the vps i want to create in it.

    i have defined a customer in hypervm , then i have set a virtual machine ( vps ) for that customer , i have added additional ip to the ip pool of whole server .
    in the vps , from that ip pool i have selected the additional ip , and every thing was ok , the ping came up and the vps started working.

    after a while vps returned the error of

    Bringing up interface venet0: SIOCADDRT: Network is unreachable

    i have tried updating the ip from hyper vm , restarting network service from server root , and from vps root , and after some time the vps was again working .

    i have installed cpanel , and restored some sites in it . the sites were functional too. but now the vps do not ping the ip

    i cannot ping vps ip , and from inside the vps it cannot ping internet sites.
    the vps can ping the domains in it but for example ping google.com donot return anything.

    here is the ifconfig of my vps :

    ifconfig
    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:802 errors:0 dropped:0 overruns:0 frame:0
    TX packets:802 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:87681 (85.6 KiB) TX bytes:87681 (85.6 KiB)

    venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
    inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
    UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
    RX packets:442 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1225 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:23884 (23.3 KiB) TX bytes:90329 (88.2 KiB)

    venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
    inet addr:79.143.176.17 P-t-P:79.143.176.17 Bcast:79.143.176.17 Mask:255.255.255.255
    UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1


    any suggestions ?
     
Loading...

Share This Page