wikiroute

networking recipes

User Tools

Site Tools


lab_with_ipv6_tunnel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
lab_with_ipv6_tunnel [2018/01/16 22:34] – [2. Tunnel Example Configuration] samerlab_with_ipv6_tunnel [2018/01/19 11:43] – [3.1. Static Configuration] samer
Line 1: Line 1:
-====== Lab with IPv6 Tunnel ======+====== IPv6 in a Tunnel ======
  
 This document explains how to bring IPv6 Internet connectivity to a lab platform using tunnels. This scenario is useful whenever IPv6 is not enabled on the Internet access of your Lab. This document explains how to bring IPv6 Internet connectivity to a lab platform using tunnels. This scenario is useful whenever IPv6 is not enabled on the Internet access of your Lab.
Line 33: Line 33:
 </WRAP> </WRAP>
  
-Now, you can verify the configuration of your interface ''ip -6 addr show dev he-ipv6'' on the TEP and test if the IPv6 connectivity is working ''ping6 ipv6.google.com''.+Now, you can verify the configuration of your tunnel interface ''ip -6 addr show dev he-ipv6'' on the TEP and test if the IPv6 connectivity is working ''ping6 ipv6.google.com''.
 ===== -. Lab Platform Configuration ===== ===== -. Lab Platform Configuration =====
 +Hurricane Electric has automatically assigned a /64 prefix to your account and routed it to the ''Client IPv6 Address''. You can retrieve the address on the tunnel details page under the ''Routed IPv6 Prefixes'' section. This prefix allows your TEP to operate as the router for this prefix and allows you to utilize static or automatic configuration  to hand out IPs from this allocation to your internal network. In the following, we will examine these two methods.
 +
 +<code bash>
 +ip -6 addr add Routed_Prefix::1/64 dev e0
 +</code>
 ==== -. Static Configuration ==== ==== -. Static Configuration ====
 +On a PC in your lab, you can configure a static IPv6 address chosen from the /64 routed prefix (as shown on the Tunnel details information page). Moreover, you shroud add a default route using the link-local address of the interface e0 of TEP.
 +<code bash>
 +ip -6 addr add Routed_Prefix::X/64 dev PC_interface
 +ip -6 route add default via TEP_e0_link_local_IPv6_addr
 +</code>
 +
 ==== -. Stateless Auto-Configuration ==== ==== -. Stateless Auto-Configuration ====
 +
 +interface eth1 
 +{
 + AdvSendAdvert on;
 + prefix 2001:470:1f13:ab6::/64 
 + {
 + AdvOnLink on; 
 + AdvAutonomous on;
 + };
 +};
 +
 +/etc/init.d/radvd
lab_with_ipv6_tunnel.txt · Last modified: 2018/01/19 19:25 by samer