Results 1 to 11 of 11
  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
    565
    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
    565
    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
    565
    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 Hosting | CloudLinux, cPanel, LiteSpeed, R1Soft | PHP 5.2, 5.3, 5.4 & 5.5 | Softaculous | CloudFlare
    SSD KVM VPS in Netherlands | SolusVM | Intel E3-1230v2 | LSI RAID-10 SSD | 1Gbps | IPv6 ready

  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
    8
    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
  •