Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

IPv6 tunnel routing to VMs via HE


  • Please log in to reply

#1
Rikai

Rikai

    GeekU Sophomore

  • GeekU Sophomore
  • PipPipPip
  • 162 posts
 

 

I currently have a server with an IPv6 block, one IPv4 address, and a /30 block. The server is running multiple virtual machines via KVM virtualization through ProxMox 4 beta.
 
The provider I have does not have the best network. Therefore, it has been a nightmare to set up IPv6 from them. I have decided to get a tunnel from HE, which works fine for one VM. 
 
Here is the tunnel information from HE:
Server IPv4 Address:216.66.84.42
Server IPv6 Address:2001:470:1f12:6d7::1/64
Client IPv4 Address:37.187.88.221
Client IPv6 Address: 

Here is the output of /etc/network/interfaces:

# The loopback network interface
auto lo
iface lo inet loopback

# for Routing
auto vmbr1
iface vmbr1 inet6 static
        address 2001:470:1f13:6d7::1
        netmask 64
        post-up /etc/pve/kvm-networking.sh
        bridge_ports none
        bridge_stp off
        bridge_fd 0


# vmbr0: Bridging. Make sure to use only MAC adresses that were assigned to you.
auto vmbr0
iface vmbr0 inet static
        address 37.187.88.221
        netmask 255.255.255.0
        network 37.187.88.0
        broadcast 37.187.88.255
        gateway 37.187.88.254
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0


auto he-ipv6
iface he-ipv6 inet6 v4tunnel
        address 2001:470:1f12:6d7::2
        netmask 64
        endpoint 216.66.84.42
        local 37.187.88.221
        ttl 255
        gateway 2001:470:1f12:6d7::1

Here is the output from a working VM:

C:\Users\Administrator>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : WIN-2H6S8KN08AD
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
   Physical Address. . . . . . . . . : 82-69-B7-88-D7-E3
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:470:1f13:6d7:8cc9:c636:5e93:bbbb(Pre
ferred)
   IPv6 Address. . . . . . . . . . . : 2001:470:1f13:6d7:959b:2eff:dc92:1d48(Pre
ferred)
   Link-local IPv6 Address . . . . . : fe80::959b:2eff:dc92:1d48%12(Preferred)
   Default Gateway . . . . . . . . . : fe80::c079:53ff:fe1e:9163%12
   DHCPv6 IAID . . . . . . . . . . . : 310536631
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-FF-34-2D-82-69-B7-88-D7-E3

   DNS Servers . . . . . . . . . . . : 2001:470:1f13:6d7:8cc9:c636:5e93:9163
   NetBIOS over Tcpip. . . . . . . . : Disabled

 

 

Currently, I have a bridged IPv4 connection that is bridged to the eth0 port, which works as long as I can assign MACs to each IP. Since I cannot assign a MAC to each IPv6 address, I cannot bridge it. Routing didn't work, so I tried a tunnel through HE. I have radvd installed and set to broadcast RAs through vmbr1, which the IPv6 only machines are bridged to. This works on one machine, but all the others fail to link.

 

The VMs have the exact same settings (including DNS) and do not work. I am unable to connect to them via RDP. I have used VNC to access them and the settings are a match, except the address. Any ideas why this wouldn't work? 


Edited by Rikai, 13 December 2015 - 10:13 AM.

  • 0

Advertisements







Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP