User Tools

Site Tools


training:sanog33:d-6rd

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
training:sanog33:d-6rd [2019/01/15 19:48] philiptraining:sanog33:d-6rd [2019/02/13 12:42] (current) – [Background] philip
Line 9: Line 9:
 ===== Preparation ===== ===== Preparation =====
  
-Before we start this lab, remove any previous extra lab configuration on the Access and Customer routers and revert both routers to the configuration as it was at the end of the [[training:sanog32:d-static|Static Lab]]. Check connectivity is working from the Customer router to the rest of the lab network as expected.+Before we start this lab, remove any previous extra lab configuration on the Access and Customer routers and revert both routers to the configuration as it was at the end of the [[training:sanog33:d-static|Static Lab]]. Check connectivity is working from the Customer router to the rest of the lab network as expected.
  
 We also need to remove any IPv6 configured on the network as we will be replacing it with 6rd technology. The following subsections describe what needs to be done. We also need to remove any IPv6 configured on the network as we will be replacing it with 6rd technology. The following subsections describe what needs to be done.
Line 39: Line 39:
  
  
-==== Removing IPv6 on the link to the Customer ====+==== Removing IPv6 configuration on Customer Router ====
  
-We also need to remove any remaining IPv6 configuration on the link between the Access Router and the Customer Router. Here is an example for the Access Router: +We also need to remove any remaining IPv6 configuration on the Customer Router:
- +
-  interface FastEthernet0/+
-   description P2P Link to CustX +
-   no ipv6 address 2001:DB8:X:20::0/127 +
-   no ipv6 nd ra suppress all +
-  ! +
-  no ipv6 route 2001:DB8:X:4000::/52 2001:DB8:X:20::+
-  ! +
- +
-and here is an example for the Customer Router:+
  
   interface FastEthernet0/1   interface FastEthernet0/1
Line 61: Line 51:
   no ipv6 route ::/0 2001:DB8:X:20::   no ipv6 route ::/0 2001:DB8:X:20::
   !   !
- 
-==== Removing IPv6 configuration on Customer Router ==== 
  
 And finally we need to remove the loopback interface from the Customer Router. Remember we created it as an anchor point for testing. Simply do: And finally we need to remove the loopback interface from the Customer Router. Remember we created it as an anchor point for testing. Simply do:
Line 71: Line 59:
  
 We leave `ipv6 unicast-routing` turned on though, as we still will need IPv6 on the router in the next part of the lab. We leave `ipv6 unicast-routing` turned on though, as we still will need IPv6 on the router in the next part of the lab.
 +
 +===== Configuring the Access Router =====
 +
 +==== Originating Customer IPv4 Point-to-Point link in iBGP ==== 
 +
 +The point-to-point link address from the network operator to the customer is normally not carried in the IGP or even in the BGP. However, 6rd uses the point-to-point link address as the basis for the IPv6 prefix generated for 6rd. So the network operator needs to carry the point-to-point link address at least as far as the 6BR router so that the IPv6 tunnel can see its end point on the customer router.
 +
 +The simple and scalable way to do this is to put the point-to-point link address into iBGP on the Access Router. Like this:
 +
 +  router bgp X0
 +   address-family ipv4
 +    network 100.68.X.32 mask 255.255.255.252
 +  !
 +
 +Once you have done this, connect to the Core and Border routers to make sure that you now see this point to point link address in the BGP. And check that connectivity works from the Border router by trying to ping the end point on the Customer router:
 +
 +  BX# ping 100.68.X.34
 +
 +If there is no answer, check the BGP table, and that there is a default route on the Customer router point back to the Access router.
 +
 +==== Removing IPv6 on the Access Router link to the Customer ====
 +
 +We also need to remove any remaining IPv6 configuration on the link between the Access Router and the Customer Router. Here is an example for the Access Router:
 +
 +  interface FastEthernet0/1
 +   description P2P Link to CustX
 +   no ipv6 address 2001:DB8:X:20::0/127
 +   no ipv6 nd ra suppress all
 +  !
 +  no ipv6 route 2001:DB8:X:4000::/52 2001:DB8:X:20::1
 +  !
  
 ===== Setting up 6rd ===== ===== Setting up 6rd =====
Line 80: Line 99:
 What we will set up is something similar to the diagram below. What we will set up is something similar to the diagram below.
  
-{{:training:sanog32:6rd-diagram.png?600|}}+{{:training:sanog33:6rd-diagram.png?600|}}
  
 The Customer Router in the diagram is our Customer Router in our network. And the ISP 6rd BR capability will be configured on our autonomous system’s Border Router. The Customer Router in the diagram is our Customer Router in our network. And the ISP 6rd BR capability will be configured on our autonomous system’s Border Router.
Line 95: Line 114:
  
  
-Now we need to set up the 6BR functionality on the Border router. +Now we need to set up the 6BR functionality on the Border router. We need to create the tunnel end point:
- +
-As with the customer router, we need to create the tunnel end point:+
  
   interface Tunnel0   interface Tunnel0
Line 119: Line 136:
  
  
-==== Configuring the Customer Router ====+===== Configuring the Customer Router =====
  
 Now create the tunnel on the Customer Router. The configuration will look like this: Now create the tunnel on the Customer Router. The configuration will look like this:
Line 191: Line 208:
  
 Refer to the earlier discussion about the “general-prefix”. We have `2001:DB8:6:C220::/60` as the IPv6 subnet created by 6rd. Taking this and appending `::1:0:0:0:0` results in the first subnet to be allocated to the network - the `FastEthernet0/0` interface there is automatically assigned `2001:DB8:6:C221::/64`, with the IPv6 address on the interface being `2001:DB8:6:C221::1/64`. Refer to the earlier discussion about the “general-prefix”. We have `2001:DB8:6:C220::/60` as the IPv6 subnet created by 6rd. Taking this and appending `::1:0:0:0:0` results in the first subnet to be allocated to the network - the `FastEthernet0/0` interface there is automatically assigned `2001:DB8:6:C221::/64`, with the IPv6 address on the interface being `2001:DB8:6:C221::1/64`.
- 
-===== Configuring the Access Router ===== 
- 
-The point-to-point link address from the network operator to the customer is normally not carried in the IGP or even in the BGP. However, 6rd uses the point-to-point link address as the basis for the IPv6 prefix generated for 6rd. So the network operator needs to carry the point-to-point link address at least as far as the 6BR router so that the IPv6 tunnel can see its end point on the customer router. 
- 
-The simple and scalable way to do this is to put the point-to-point link address into iBGP on the Access Router. Like this: 
- 
-  router bgp X0 
-   address-family ipv4 
-    network 100.68.X.32 mask 255.255.255.252 
-  ! 
- 
-Once you have done this, connect to the Core and Border routers to make sure that you now see this point to point link address in the BGP. And check that connectivity works from the Border router by trying to ping the end point on the Customer router: 
- 
-  BRX# ping 100.68.X.34 
- 
-If there is no answer, check the BGP table, and that there is a default route on the Customer router point back to the Access router. 
- 
  
  
 ===== Testing ===== ===== Testing =====
  
-With the 6BR and the Customer router now set up to support 6rd, trying some IPv4 and IPv6 traceroutes from the Customer router to the backbone Transit providers and out to the Internet. **Hint**: Use the Loopback interface as the source of your traceroutes and pings.+With the 6BR and the Customer router now set up to support 6rd, try some IPv4 and IPv6 traceroutes from the Customer router to the backbone Transit providers and out to the Internet, for example, to 8.8.8.8 (IPv4) and 2001:4860:4860::8888 (IPv6).
  
-(Note that the lab doesn’t have IPv6 connectivity, but at least try IPv6 traceroutes into the Transit backbone and to other groups.)+(Note that if the lab doesn’t have IPv6 connectivity, try IPv6 traceroutes into the Transit backbone and to other groups.)
  
 What do you see? What do you see?
 +
  
    
 [[:training:sanog33:agenda| Back to Agenda page]] [[:training:sanog33:agenda| Back to Agenda page]]
 +
training/sanog33/d-6rd.1547542112.txt.gz · Last modified: 2019/01/15 19:48 by philip