Results 1 to 5 of 5

Thread: How to use the second ip address?

  1. #1
    Join Date
    Jul 2008
    Beans
    11

    [Solved] How to use the second ip address?

    Hi

    I've rented an "OpenVZ" server with two IP addresses.
    In the OpenVZ control panel one can choose which of those two addresses should be the standard address.

    At the moment it is possible to ping the standard address from the outside, but there's no reaction when pinging the second address.

    I'd like to run two Tor bridge instances on this system.
    Each bridge should have its own address. There seems to be an option in the torrc configuration file called "OutboundBindAddress [IP-Address]" for this.


    root@server2:~# ifconfig venet0:0
    venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
    inet addr:192.30.33.abc P-t-P:192.30.33.abc Bcast:0.0.0.0 Mask:255.255.255.255
    UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

    root@server2:~# ifconfig venet0:1
    venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
    inet addr:192.30.33.def P-t-P:192.30.33.def Bcast:0.0.0.0 Mask:255.255.255.255
    UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

    (I replaced the last parts of the actual addresses for posting it here)

    How do I get programs to use the second ip address? What can I do to achieve that ping requests get answered?

    Thank you for your help.
    Last edited by enieffak; January 26th, 2013 at 10:03 PM.

  2. #2
    Join Date
    Jul 2008
    Beans
    11

    Re: How to use the second ip address?

    root@server2:~# route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    default * 0.0.0.0 U 0 0 0 venet0
    Any hints?

  3. #3
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,174

    Re: How to use the second ip address?

    Can you ping the second ip address from the inside?

    And are the MAC addresses different (or the same)? You have all zeros there.

  4. #4
    Join Date
    Jul 2008
    Beans
    11

    Re: How to use the second ip address?

    Quote Originally Posted by sudodus View Post
    Can you ping the second ip address from the inside?

    And are the MAC addresses different (or the same)? You have all zeros there.
    Thanks for your help!

    I think the MAC addresses are ale blank because the devices are virtual devices.

    I was able to ping the second ip address from the inside.

    Just contacted my server provider minutes ago and it was their fault:

    "The IP had been nullrouted before but I didn't successfully mark it off the available IP list. I gave you a new one anyway."


    So it does work now.

  5. #5
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    7,174

    Re: How to use the second ip address?

    I'm glad it works

    Time for kaffeine

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
  •