Results 1 to 11 of 11

Hybrid View

  1. #1

    Setup IPv4 local on IPv6 VPS

    I have a dedicated server running multiple IPv6 only OpenVZ containers. I want them to be able to communicate with the IPv4 internet, but I realized that isn't going to be possible with IPv6 only. So they need to have an IPv4 address as well, not sure if a local address will work for it, but pretty sure it should.
    I added 169.254.1.100 in the container .conf file, but when I try to start it, I get this :
    Adding IP address(es): (the IPv6 address) 169.254.1.100
    arpsend: 169.254.1.100 is detected on another computer : 00:04:9b:f2:b0:00
    vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 169.254.1.100 eth0 FAILED
    What should I do now?

  2. #2
    Join Date
    Mar 2011
    Location
    Edinburgh, UK
    Posts
    567
    169.254.x.x is not usable as an internal network. Try using 192.168.x.x

    Obviously they won't be able to communicate with the IPv4 internet on these addresses.
    ViralVPS.com - Linux & Windows Xen VPS Servers
    10Gbps Connection | Netherlands Location | IPv4 & IPv6
    SSD Cached RAID10 Storage | Instant Setup! | Bitcoin Accepted

  3. #3
    Quote Originally Posted by mike86 View Post
    169.254.x.x is not usable as an internal network. Try using 192.168.x.x

    Obviously they won't be able to communicate with the IPv4 internet on these addresses.
    that is the link-local address range for IPv4. I'll try using 192.168.x.x, but what I want is the containers to be able to communicate with the IPv4 internet. I guess I need to bridge the connection for this, do I?

  4. #4
    Join Date
    Mar 2011
    Location
    Edinburgh, UK
    Posts
    567
    For them to be able to communicate with the outside internet, and not just each other, you need some external IPv4 addresses routed to your server. Has your provider given you IPv4 addresses?
    ViralVPS.com - Linux & Windows Xen VPS Servers
    10Gbps Connection | Netherlands Location | IPv4 & IPv6
    SSD Cached RAID10 Storage | Instant Setup! | Bitcoin Accepted

  5. #5
    I have 5 IPv4 addresses routed to my server, just not assigning IPv4 addresses to the openvz containers. I don't want to assign a complete address to any one container, just want them to be able to communicate with the IPv4 internet. I am assigning only IPv6 addresses to the containers.

  6. #6
    Join Date
    Mar 2011
    Location
    Edinburgh, UK
    Posts
    567
    You can't have them communicating with the external IPv4 internet unless they have IPv4 internet addresses.
    ViralVPS.com - Linux & Windows Xen VPS Servers
    10Gbps Connection | Netherlands Location | IPv4 & IPv6
    SSD Cached RAID10 Storage | Instant Setup! | Bitcoin Accepted

  7. #7
    Have you seen lowendspirit.com? They provide IPv6 only VPS with 10.10.10.xxx internal IPv4 addresses, and NATed IPv4, and their VPS's can communicate with the external IPv4 internet without any problems. How is that done then?

  8. #8
    So essentially what you want is to configure NAT, right?

    https://openvz.org/Using_NAT_for_con...th_private_IPs
    Fusioned - http://www.fusioned.net
    Enterprise & Semi-Dedicated Hosting | CloudLinux, cPanel, LiteSpeed, Acronis | PHP 5.6, 7.2, 7.3, 7.4 & 8.0
    Fully Managed SSD KVM VPS & Dedicated Servers | CloudFlare & Acronis Partner | RIPE LIR

  9. #9
    I think so. Will NAT allow them to communicate with the outside internet?

  10. #10
    Join Date
    Jan 2010
    Location
    East Lansing, MI
    Posts
    305
    Quote Originally Posted by dhamaniasad View Post
    I think so. Will NAT allow them to communicate with the outside internet?
    Yes. They will all share a single IPv4 address that is assigned to the NAT device. I didn't read the article, but often VMs can use the host as the NAT device.

  11. #11
    Join Date
    Sep 2013
    Location
    Virginia, USA
    Posts
    9
    How about setting up a TUN/TAP 6to4 tunnel?

Similar Threads

  1. Replies: 2
    Last Post: 11-14-2012, 04:58 AM
  2. Replies: 0
    Last Post: 06-08-2012, 09:48 AM
  3. [UK] Evorack - £2.49 per month VPS - IPv4 & IPv6
    By rackulous_jonnyt in forum VPS Hosting Offers
    Replies: 0
    Last Post: 05-02-2012, 12:32 PM
  4. [UK] Evorack - £2.49 per month VPS - IPv4 & IPv6
    By rackulous_jonnyt in forum VPS Hosting Offers
    Replies: 0
    Last Post: 04-29-2012, 11:43 AM
  5. Replies: 2
    Last Post: 05-03-2007, 12:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •