IPv6-lab1

From Datateknik
Revision as of 12:21, 2 September 2017 by Imra (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Lab 1 -- Connecting to the IPv6 internet

One person uses one Router and one PC. No groups!
You may talk to each other, though.

Topology

IPv6 Lab1 Topology

A) Router connectivity

  1. Connect your router to the CNAP-switch, which in turn connect to the CNAP-Brouter for L3-Routing
  2. Enable plug-and-play IPv4 addressing on your router-port
  3. What IPv4 address (and default gateway did you get ?)
  4. Enable plug-and-play IPv6 addressing on your router-port
  5. What IPv6 address (and default gateway did you get ?)
  6. traceroute to 2001:6b0:1d:10::11, how many router-hops?
  7. Define DNS-server as 2001:6b0:1d:10::11
  8. How many router-hops is it to www.facebook.com?
  9. Found any fun IPv6-addresses (leet-speak!?!)
  10. Is there any difference between "a connection on port 1-6 in the CNAP-switch" and "a connection on port 7-23 in the CNAP-switch"?
    What or Why Not?

WARNING: Do not configure link-local address FE80::1 -- Every other group might use the same address!
Use FE80::c2 where c is your pod, and 2 is your PC's number

B) Basic EIGRP

  1. Enable ipv6 eigrp 1 and make sure that you become a neighbor with CNAP-brouter
  2. Every group (POD) gets 16 IPv6 subnets 2001:6b0:1d:1x0/60 where x is the POD-letter

Example: POD C's third network would be 2001:6b0:1d:1C2/64

  1. How many other groups have announced networks according to the routing table?
  2. Create a loopback interface with a IPv6 address and announce it over EIGRP
  3. Go to another group and check if they can see your network in their routing table?
  4. Can you traceroute to the other group
  5. Try also ping, but it's boring...
  6. If you are into routing; create more loopbacks and try to summarize them. Don't steal networks from other PODS!
    No prob's if you want to jump this point, and skip to the next one

C) Client IPv6 Connectivity

  1. Connect your PC directly to the "internet" and download [www.teeworlds.com], then disconnect.
  2. Disconnect your PC from the internet (:-)
  3. Connect your pc to the other router ethernet port
  4. Make sure that your router ethernet interfaces are UP/UP
  5. Configure static IPv6 addresses (global and link-local) on the router interface facing the PC
  6. Configure static global IPv6 addressing on the PC (IP,mask + default gateway and DNS)
    DNS addresses are 2001:6b0:1d:10::11 and 2001:6b0:1d:10::12
  7. teeworlds
    Can you TRACERT to ipv6.google.com? why?
  8. Can you TRACERT to www.volvo.com? why?
  9. Can you surf to ipv6.google.com?
  10. Can you surf to http://www.volvo.com/ ?
  11. Can you surf to http://www.volvo.com.sixxs.org/ through the Application Level Gateway (ALG) of sixXS ?
  12. Set up a teeworlds server and invite your friends. Remember to use literal IPv6 addresses, IPv6 addresses enclosed in square brackets [ ] , when connecting to the server
  13. Remove your PC addressing configuration
  14. Enable stateless autoconf (SLAAC) of your PC on the router
  15. What address did your PC get? why not eui64?
  16. Test teeworlds again
  17. Enable stateful autoconf (DHCPv6) of your PC on the router and try to give the PC the shortest possible IPv6-address.
  18. Try IPCONFIG /RELEASE6 and /RENEW6 etc on the PC
  19. Play some teeworlds until you want to go home... (:-)

Good Luck /Robert

BGP -- Do not even try

  • Create IPv4 connectivity between two router
  • Become ipv4 BGP neighbours
  • Announce Loopback IPv6 networks over the ipv4 link, using BGP address family IPv6

Create L3 connectivity and try ping

Router(config)#hostname Left-15
Left-15(config)#interf fa 0/0
Left-15(config-if)#ip address 10.0.0.15 255.255.255.0
Left-15(config-if)#no shut

Other side is not up, not even pingable

16-left#show ip bgp neighbors 10.0.0.15
BGP neighbor is 10.0.0.15,  remote AS 650015, external link
  BGP version 4, remote router ID 0.0.0.0
  BGP state = Active
  Neighbor sessions:
    0 active, is multisession capable
  Message statistics, flags active, state Active:
   InQ depth is 0
   OutQ depth is 0

                        Sent       Rcvd
   Opens:                  0          0
   Notifications:          0          0
   Updates:                0          0
   Keepalives:             0          0
   Route Refresh:          0          0
   Total:                  0          0
 Default minimum time between advertisement runs is 30 seconds

Create IPv4 bgp neighbor

Right-16#show running | sec bgp
router bgp 65016
 no synchronization
 bgp router-id 16.16.16.16
 bgp log-neighbor-changes
 neighbor 10.0.0.15 remote-as 65015
 no auto-summary
Right-16#


Right-16#show ip bgp summary
BGP router identifier 16.16.16.16, local AS number 65016
BGP table version is 1, main routing table version 1 

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.0.15       4        65015       4       4        1    0    0 00:00:49        0
Right-16#

Activate bgp neighbour IPv6

Left-15#show running | sec bgp|ipv6
ipv6 unicast-routing
ipv6 cef
router bgp 65015
 no synchronization
 bgp router-id 15.15.15.15
 bgp log-neighbor-changes
 neighbor 10.0.0.16 remote-as 65016
 no auto-summary
 !
 address-family ipv6
  neighbor 10.0.0.16 activate
 exit-address-family
Left-15#
Left-15#show ip bgp summary
BGP router identifier 15.15.15.15, local AS number 65015
BGP table version is 1, main routing table version 1 

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.0.16       4        65016      14      13        1    0    0 00:09:05        0
Left-15# 

Borde funka, men EJ ICKE NEJ

Left-15#show  running | sec ipv6|bgp|Fast|Loo
ipv6 unicast-routing
ipv6 cef
interface Loopback0
 no ip address
 ipv6 address 2001:15::1/64
interface FastEthernet0/0
 ip address 10.0.0.15 255.255.255.0
 duplex auto
 speed auto
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
router bgp 65015
 no synchronization
 bgp router-id 15.15.15.15
 bgp log-neighbor-changes
 neighbor 10.0.0.16 remote-as 65016
 no auto-summary
 !
 address-family ipv6
  network 2001:15::/64
  neighbor 10.0.0.16 activate
 exit-address-family
Left-15#show ip bgp 
Left-15#show ip bgp summ
Left-15#show ip bgp summary
BGP router identifier 15.15.15.15, local AS number 65015
BGP table version is 1, main routing table version 1 

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.0.16       4        65016      25      24        1    0    0 00:19:25        0
Left-15#

Left-15#ping 2001:15::1 

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:15::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 ms
Left-15#

GAAHH !!

old dump of Router-15

Left-15#show ip bgp all summary
For address family: IPv4 Unicast
BGP router identifier 15.15.15.15, local AS number 65015
BGP table version is 2, main routing table version 2
1 network entries using 120 bytes of memory
1 path entries using 52 bytes of memory
1/1 BGP path/bestpath attribute entries using 124 bytes of memory
1 BGP AS-PATH entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 320 total bytes of memory
BGP activity 3/0 prefixes, 3/0 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.0.16       4        65016    1360    1362        2    0    0 20:34:30        0
For address family: IPv6 Unicast
BGP router identifier 15.15.15.15, local AS number 65015
BGP table version is 2, main routing table version 2
2 network entries using 288 bytes of memory
2 path entries using 152 bytes of memory
2/1 BGP path/bestpath attribute entries using 248 bytes of memory
Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
1 BGP AS-PATH entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 712 total bytes of memory
BGP activity 3/0 prefixes, 3/0 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.0.16       4        65016    1355    1354        2    0    0 20:27:31        1
Left-15#
Left-15#show ip bgp ?
 A.B.C.D            Network in the BGP routing table to display
 A.B.C.D/nn         IP prefix <network>/<length>, e.g., 35.0.0.0/8
 all                All address families
 cidr-only          Display only routes with non-natural netmasks
 community          Display routes matching the communities
 community-list     Display routes matching the community-list
 dampening          Display detailed information about dampening
 extcommunity-list  Display routes matching the extcommunity-list
 filter-list        Display routes conforming to the filter-list
 import             Display route topology import / export activity
 inconsistent-as    Display only routes with inconsistent origin ASs
 injected-paths     Display all injected paths
 ipv4               Address family
 ipv6               Address family
 l2vpn              Address family
 labels             Display Labels for IPv4 NLRI specific information
 neighbors          Detailed information on TCP and BGP neighbor connections
 nsap               Address family
 oer-paths          Display all oer controlled paths
 paths              Path information
 peer-group         Display information on peer-groups
 pending-prefixes   Display prefixes pending deletion
Left-15#show ip bgp ipv4 ?
 mdt        Address Family modifier
 multicast  Address Family modifier
 unicast    Address Family modifier
Left-15#show ip bgp ipv4 unicast
BGP table version is 2, local router ID is 15.15.15.15
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 15.0.0.0         0.0.0.0                  0         32768 i
Left-15#show ip bgp ipv6 unicast
BGP table version is 2, local router ID is 15.15.15.15
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 2001:15::/64     ::                       0         32768 i
*  2001:16::/64     ::FFFF:10.0.0.16
                                             0             0 65016 i
Left-15#

16

Right-16#
Right-16#show ip bgp all
For address family: IPv4 Unicast

BGP table version is 2, local router ID is 16.16.16.16
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete 

   Network          Next Hop            Metric LocPrf Weight Path
*> 15.0.0.0         10.0.0.15                0             0 65015 i
For address family: IPv6 Unicast

BGP table version is 2, local router ID is 16.16.16.16
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*  2001:15::/64     ::FFFF:10.0.0.15
                                             0             0 65015 i
*> 2001:16::/64     ::                       0         32768 i
For address family: IPv4 Multicast
   Network          Next Hop            Metric LocPrf Weight Path
Right-16#
Right-16#
Right-16#
Right-16#show running | sec bgp|Fast|ipv6
ipv6 unicast-routing
ipv6 cef
 ipv6 address 2001:16::1/64
interface FastEthernet0/0
 ip address 10.0.0.16 255.255.255.0
 duplex auto
 speed auto
 ipv6 address 2001:2001::16/64
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
router bgp 65016
 no synchronization
 bgp router-id 16.16.16.16
 bgp log-neighbor-changes
 neighbor 10.0.0.15 remote-as 65015
 no auto-summary
 !
 address-family ipv6
  network 2001:16::/64
  neighbor 10.0.0.15 activate
 exit-address-family
Right-16#show ip bgp
BGP table version is 2, local router ID is 16.16.16.16
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete 

   Network          Next Hop            Metric LocPrf Weight Path
*> 15.0.0.0         10.0.0.15                0             0 65015 i
Right-16#show ip bgp all
For address family: IPv4 Unicast 

BGP table version is 2, local router ID is 16.16.16.16
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete 

   Network          Next Hop            Metric LocPrf Weight Path
*> 15.0.0.0         10.0.0.15                0             0 65015 i

For address family: IPv6 Unicast

BGP table version is 2, local router ID is 16.16.16.16
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete 

   Network          Next Hop            Metric LocPrf Weight Path
*  2001:15::/64     ::FFFF:10.0.0.15
                                             0             0 65015 i
*> 2001:16::/64     ::                       0         32768 i 

For address family: IPv4 Multicast
   Network          Next Hop            Metric LocPrf Weight Path

Right-16#
Right-16#
Right-16#
Right-16#

Left 15

Left-15#
Left-15#show running | sec bgp|Fast|ipv6
ipv6 unicast-routing
ipv6 cef
 ipv6 address 2001:15::1/64
interface FastEthernet0/0
 ip address 10.0.0.15 255.255.255.0
 duplex auto
 speed auto
 ipv6 address 2001:2001::15/64
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
router bgp 65015
 bgp router-id 15.15.15.15
 bgp log-neighbor-changes
 neighbor 10.0.0.16 remote-as 65016
 neighbor 10.0.0.16 update-source Loopback0
 !
 address-family ipv4
  no synchronization
  network 15.0.0.0
  neighbor 10.0.0.16 activate
  no auto-summary
 exit-address-family
 !
 address-family ipv6
  network 2001:15::/64
  neighbor 10.0.0.16 activate
 exit-address-family
Left-15#
Left-15#
Left-15#show ip bgp
BGP table version is 2, local router ID is 15.15.15.15
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 15.0.0.0         0.0.0.0                  0         32768 i
Left-15#show ip bgp all
For address family: IPv4 Unicast

BGP table version is 2, local router ID is 15.15.15.15
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 15.0.0.0         0.0.0.0                  0         32768 i 

For address family: IPv6 Unicast 

BGP table version is 2, local router ID is 15.15.15.15
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 2001:15::/64     ::                       0         32768 i
*  2001:16::/64     ::FFFF:10.0.0.16
                                             0             0 65016 i

For address family: IPv4 Multicast
   Network          Next Hop            Metric LocPrf Weight Path

Left-15#
Left-15#
Left-15#
Left-15#show ip bgp all summ
Left-15#show ip bgp all summary
For address family: IPv4 Unicast
BGP router identifier 15.15.15.15, local AS number 65015
BGP table version is 2, main routing table version 2
1 network entries using 120 bytes of memory
1 path entries using 52 bytes of memory
1/1 BGP path/bestpath attribute entries using 124 bytes of memory
1 BGP AS-PATH entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 320 total bytes of memory
BGP activity 3/0 prefixes, 3/0 paths, scan interval 60 secs 

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.0.16       4        65016    1364    1366        2    0    0 20:38:10        0

For address family: IPv6 Unicast
BGP router identifier 15.15.15.15, local AS number 65015
BGP table version is 2, main routing table version 2
2 network entries using 288 bytes of memory
2 path entries using 152 bytes of memory
2/1 BGP path/bestpath attribute entries using 248 bytes of memory
Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
1 BGP AS-PATH entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 712 total bytes of memory
BGP activity 3/0 prefixes, 3/0 paths, scan interval 60 secs 

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.0.16       4        65016    1359    1358        2    0    0 20:31:11        1

Left-15#
Left-15#
Left-15#

NO ENABLE

*Oct 23 06:09:41.955: %SYS-5-CONFIG_I: Configured from console by console
Left-15#debug ip bgp ?
 A.B.C.D     BGP neighbor address
 all         All address families
 dampening   BGP dampening
 events      BGP events
 groups      BGP Config (peer-groups, templates) and Update groups
 import      BGP path import across topologies, VRFs or AFs
 in          BGP Inbound information
 ipv4        Address family
 ipv6        Address family
 keepalives  BGP keepalives
 l2vpn       Address family
 mpls        BGP MPLS label distribution
 nsap        Address family
 out         BGP Outbound information
 range       BGP dynamic range
 rib-filter  Next hop route watch filter events
 topology    Routing topology instance
 updates     BGP updates
 vpnv4       Address family
 vpnv6       Address family
Left-15#debug ip bgp eve

Left-15#debug ip bgp events

BGP events debugging is on
Left-15#show ip
*Oct 23 06:09:56.543: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.15bfg
Left-15#show ip bgp all summ
*Oct 23 06:10:03.711: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.15
Left-15#
Left-15#
*Oct 23 06:10:14.975: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.15
*Oct 23 06:10:17.039: BGP: Regular scanner timer event


39: BGP: tbl IPv4 Multicast:base Performing BGP Nexthop scanning for general scan
*Oct 23 06:10:17.039: BGP(6): Future scanner version: 4072, current scanner version: 4071
*Oct 23 06:10:23.167: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.15
*Oct 23 06:10:31.359: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.15
*Oct 23 06:10:43.647: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.15
*Oct 23 06:10:52.863: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.15
*Oct 23 06:11:03.103: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.15
*Oct 23 06:11:14.367: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.15
*Oct 23 06:11:17.059: BGP: Regular scanner timer event
*Oct 23 06:11:17.059: BGP: Performing BGP general scanning
*Oct 23 06:11:17.059: BGP: topo global:IPv4 Unicast:base Scanning routing tables
*Oct 23 06:11:17.059: BGP: tbl IPv4 Unicast:base Performing BGP Nexthop scanning for general scan
*Oct 23 06:11:17.059: BGP(0): Future scanner version: 4072, current scanner version: 4071
*Oct 23 06:11:17.059: BGP: topo global:IPv6 Unicast:base Scanning routing tables
*Oct 23 06:11:17.059: BGP: tbl IPv6 Unicast:base Performing BGP Nexthop scanning for general scan
*Oct 23 06:11:17.059: BGP(1): Future scanner version: 4060, current scanner version: 4059
*Oct 23 06:11:17.059: BGP: topo global:IPv4 Multicast:base Scanning routing tables
*Oct 23 06:11:17.059: BGP: tbl IPv4 Multicast:base Performing BGP Nexthop scanning for general scan
*Oct 23 06:11:17.059: BGP(6): Future scanner version: 4073, current scanner version: 4072
*Oct 23 06:11:25.631: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.15
Left-15#
Left-15#
Left-15#
Left-15#
Left-15#
Left-15#
Left-15#
Left-15#
Left-15#
Left-15#
Left-15#
Left-15#
Left-15#
Left-15#

Left-15# Left-15# Left-15# Left-15# Left-15# Left-15# Left-15# Left-15# Left-15# Left-15# Left-15# Left-15# Left-15# Left-15# Left-15# Left-15# Left-15#

Left-15#show runn | sec
*Oct 23 06:11:36.895: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.15ipv6|Fast|bgp
ipv6 unicast-routing
ipv6 cef
 ipv6 address 2001:15::1/64
interface FastEthernet0/0
 ip address 10.0.0.15 255.255.255.0
 duplex auto
 speed auto
 ipv6 address 2001:2001::15/64
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
router bgp 65015
 bgp router-id 15.15.15.15
 bgp log-neighbor-changes
 neighbor 10.0.0.16 remote-as 65016
 !
 address-family ipv4
  no synchronization
  no neighbor 10.0.0.16 activate
  no auto-summary
 exit-address-family
 --More--
*Oct 23 06:11:47.135: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 1 !       5
 address-family ipv6
  network 2001:15::/64
 exit-address-family
Left-15#
Left-15#
Left-15#

Left-15# Right-16(config-router)#

Right-16(config-router)#

Right-16(config-router)# Right-16(config-router)#^Z Right-16# Right-16# Right-16#

Right-16#show
*Oct 23 06:10:38.014: %SYS-5-CONFIG_I: Configured from console by console running | sec bgp|ipv6|Fast
ipv6 unicast-routing
ipv6 cef
 ipv6 address 2001:16::1/64
interface FastEthernet0/0
 ip address 10.0.0.16 255.255.255.0
 duplex auto
 speed auto
 ipv6 address 2001:2001::16/64
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
router bgp 65016
 bgp router-id 16.16.16.16
 bgp log-neighbor-changes
 neighbor 10.0.0.15 remote-as 65015
 !
 address-family ipv4
  no synchronization
  no neighbor 10.0.0.15 activate
  no auto-summary
 exit-address-family
 !
 address-family ipv6
  network 2001:16::/64
  neighbor 10.0.0.15 activate
 exit-address-family
Right-16#
Right-16#

Right-16#show ip bgp all

For address family: IPv4 Unicast


For address family: IPv6 Unicast

BGP table version is 2, local router ID is 16.16.16.16
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 2001:16::/64     ::                       0         32768 i 

For address family: IPv4 Multicast

Right-16#show ip bgp all summa

Right-16#show ip bgp all summary
For address family: IPv6 Unicast
BGP router identifier 16.16.16.16, local AS number 65016
BGP table version is 2, main routing table version 2
1 network entries using 144 bytes of memory
1 path entries using 76 bytes of memory
1/1 BGP path/bestpath attribute entries using 124 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 344 total bytes of memory
BGP activity 5/3 prefixes, 5/4 paths, scan interval 60 secs 

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.0.0.15       4        65015       0       0        1    0    0 00:03:30 (NoNeg)
Right-16#
Right-16#
Right-16#

Right-16# Right-16# Right-16# Right-16# Right-16# Left-15# Left-15# Left-15# Left-15# Left-15#

Left-15#show ip bgp all
For address family: IPv4 Unicast


For address family: IPv6 Unicast

BGP table version is 2, local router ID is 15.15.15.15
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete 

   Network          Next Hop            Metric LocPrf Weight Path
*> 2001:15::/64     ::                       0         32768 i

For address family: IPv4 Multicast

Left-15#

Left-15#

Left-15#show ip bgp all su,
*Oct 23 06:12:32.219: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.1mm
Left-15#show ip bgp all summ
Left-15#show ip bgp all summ
Left-15#
*Oct 23 06:12:40.411: BGP: Neighbor validation failed. Flags: 0x0, Neighbor-topo check: failed, Router ID: 15.15.15.15
Left-15#

Brouter Config stateful IPv6 DHCP

The RA contains several flags that are set that the nodes watch for and use.

   A-bit – Autonomous Address Autoconfiguration Flag tells the node it should perform stateless address assignment (SLAAC RFC 4862)
   L-bit – On-Link Flag tells the node that the prefix listed in the RA is the local IPv6 address
   M-bit – Managed Address Config Flag tells the host if it should use stateful DHCPv6 (RFC 3315) to acquire its address and other DHCPv6 options
   O-bit – Other Config Flag tells the host that there is other information the router can provide (such as DNS information defined in Stateless DHCPv6 (RFC 3736))

Cisco Command Reference IPv6 nd ra supress -- Introduced in 12.4(2)T

show version

cnap-brouter3560#show version
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(46)SE, RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Thu 21-Aug-08 15:26 by nachen
Image text-base: 0x00003000, data-base: 0x01A00000

ROM: Bootstrap program is C3560 boot loader
BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEE4, RELEASE SOFTWARE (fc1)

cnap-brouter3560 uptime is 47 weeks, 6 days, 20 hours, 44 minutes
System returned to ROM by power-on
System restarted at 11:04:30 CET Wed Jun 22 2016
System image file is "flash:/c3560-advipservicesk9-mz.122-46.SE.bin"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

cisco WS-C3560G-24TS (PowerPC405) processor (revision D0) with 122880K/8184K bytes of memory.
Processor board ID FOC1214W5VA
Last reset from power-on
35 Virtual Ethernet interfaces
28 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:21:1B:EC:DA:00
Motherboard assembly number     : 73-10215-04
Power supply part number        : 341-0098-02
Motherboard serial number       : FOC12144WGS
Power supply serial number      : DCA120991NN
Model revision number           : D0
Motherboard revision number     : B0
Model number                    : WS-C3560G-24TS-S
System serial number            : FOC1214W5VA
Top Assembly Part Number        : 800-26851-01
Top Assembly Revision Number    : B0
Version ID                      : V03
CLEI Code Number                : CNMW200ARC
Hardware Board Revision Number  : 0x09


Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 28    WS-C3560G-24TS     12.2(46)SE            C3560-ADVIPSERVICESK9-M


Configuration register is 0xF

cnap-brouter3560#

software.cisco.com

https://software.cisco.com/download/release.html?mdfid=279486441&flowid=2534&softwareid=280805680&release=12.2.55-SE11&relind=AVAILABLE&rellifecycle=ED&reltype=latest

Rapid Deployment Tunnel (6RD)

Telia

 6rd Prefix = 2001:2002::
 Border Relay Address = 217.209.228.166 (6rd-br1.telia.com)
 6rd prefix length = 32
 IPv4 mask length = 0

Tele2

 6rd Prefix = 2a00:860::
 Border Relay Address = 194.114.142.2 (6rd.tele2.net)
 6rd prefix length = 28
 IPv4 mask length = 0

Bredband2

 6rd Prefix: 2001:09c8::
 Border relay: 31.208.169.254
 6rd prefix length: 32
 IPv4 mask: 0

Connectivity test:

Router#ping 217.209.228.166
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 217.209.228.166, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Router#ping 194.114.142.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 194.114.142.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Router#ping 31.208.169.254
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 31.208.169.254, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms

Översatt till IOS blir det:

ipv6 general-prefix DELEGATED_PREFIX 6rd Tunnel0
interface gi 0/0
  ip address dhcp
  no shut
!
interface Tunnel0
tunnel source gi 0/0
tunnel mode ipv6ip 6rd
tunnel 6rd ipv4 prefix-len 8
tunnel 6rd prefix 2001:db80::/28
ipv6 address DELEGATED_PREFIX::/128 anycast   <--- "anycast" ger error i 15.4
!
ipv6 route 2001:db80::/28 Tunnel0
ipv6 route 2001:db80:0:1000::/52 Null0

FIXA RÄTT SIFFROR OVAN !!!

RT-AC66U

ASUS RT-AC66U

No tunnel interface ??

torgvagen@RT-AC66U:/tmp/home/root# ifconfig
br0        Link encap:Ethernet  HWaddr 70:8B:CD:89:1C:38
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: 2a00:860:d403:730::1/64 Scope:Global
          inet6 addr: fe80::728b:cdff:fe89:1c38/64 Scope:Link
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:4459856 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3010796 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:524515900 (500.2 MiB)  TX bytes:1233765212 (1.1 GiB)

eth0       Link encap:Ethernet  HWaddr B8:AC:6F:0D:21:17
          inet addr:212.3.7.48  Bcast:212.3.7.63  Mask:255.255.255.224
          inet6 addr: fe80::baac:6fff:fe0d:2117/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:225676441 errors:0 dropped:0 overruns:0 frame:0
          TX packets:202693643 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1002158655 (955.7 MiB)  TX bytes:2537188079 (2.3 GiB)
          Interrupt:4 Base address:0x2000

eth1       Link encap:Ethernet  HWaddr 70:8B:CD:89:1C:38
          inet6 addr: fe80::728b:cdff:fe89:1c38/64 Scope:Link
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:7014930 errors:0 dropped:0 overruns:0 frame:1409610
          TX packets:20334123 errors:48326 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:506721273 (483.2 MiB)  TX bytes:1670249585 (1.5 GiB)
          Interrupt:3 Base address:0x8000

eth2       Link encap:Ethernet  HWaddr 70:8B:CD:89:1C:3C
          inet6 addr: fe80::728b:cdff:fe89:1c3c/64 Scope:Link
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:12756549 errors:0 dropped:0 overruns:0 frame:541709
          TX packets:26070450 errors:30663 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3937941854 (3.6 GiB)  TX bytes:1569115291 (1.4 GiB)
          Interrupt:5 Base address:0x8000

lo         Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MULTICAST  MTU:16436  Metric:1
          RX packets:3473895 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3473895 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:861967776 (822.0 MiB)  TX bytes:861967776 (822.0 MiB)

vlan1      Link encap:Ethernet  HWaddr 70:8B:CD:89:1C:38
          inet6 addr: fe80::728b:cdff:fe89:1c38/64 Scope:Link
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:65085165 errors:0 dropped:0 overruns:0 frame:0
          TX packets:119026598 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:788020912 (751.5 MiB)  TX bytes:1868349330 (1.7 GiB)

vlan2      Link encap:Ethernet  HWaddr 70:8B:CD:89:1C:38
          inet6 addr: fe80::728b:cdff:fe89:1c38/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:2888 (2.8 KiB)

torgvagen@RT-AC66U:/tmp/home/root#

checking GUI -- should be there ...

Asus-rt-ac66u-6RD-GUI

Reading

reveals that it should be a sit0 interface

torgvagen@RT-AC66U:/tmp/home/root# ifconfig sit0 UP
 
torgvagen@RT-AC66U:/tmp/home/root# ifconfig sit0
sit0       Link encap:IPv6-in-IPv4
          inet6 addr: ::127.0.0.1/96 Scope:Unknown
          inet6 addr: ::192.168.1.1/96 Scope:Compat
          inet6 addr: ::212.3.7.48/96 Scope:Compat
          UP RUNNING NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

torgvagen@RT-AC66U:/tmp/home/root#

This is how it looks when you have messed up... (using ip tunnel add sit1 mode sit ttl 64 remote any local 212.3.7.48 )

torgvagen@RT-AC66U:/tmp/etc# ip tunnel
sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc 6rd-prefix 2002::/16
sittun: ipv6/ip  remote 10.8.8.8  local 10.7.7.7  dev eth0  ttl 64  6rd-prefix 2002::/16
sit1: ipv6/ip  remote any  local 212.3.7.48  ttl 64  6rd-prefix 2002::/16
torgvagen@RT-AC66U:/tmp/etc#

Good Documentation ?!? =

According to http://www.litech.org/6rd/ (Linux 6RD HOWTO)

Är detta en bättre guide ?? https://ipv6akuten.se/?page_id=435

Once you have the 6RD parameters, you can determine your delegated prefix. This is the IPv6 address block you will be using for your local network.

The delegated prefix is constructed by appending your ISP-assigned IPv4 address to the 6RD prefix. For example, if your 6RD prefix is 2001:db8::/32, your ISP-assigned IPv4 address is 192.0.2.100, and your home network is connected to your router on interface eth0, you would configure your LAN address as follows:

# printf "%02x%02x:%02x%02x\n" 192 0 2 100
c000:0264
# ip addr add 2001:db8:c000:0264::1/64 dev eth0
#

Bredb 2001:09c8::/32 gives

#  ifconfig eth0 | grep "inet addr"
          inet addr:212.3.7.48  Bcast:212.3.7.63  Mask:255.255.255.224
# printf "%02x%02x:%02x%02x\n" 212 3 7 48
d403:0730
# ip addr add 2001:09c8:d403:0730::1/64 dev eth0

Next, you will need to bring up the 6RD tunnel interface. Assuming your ISP's 6RD border router is at 1.2.3.4:

# ip tunnel add 6rd mode sit local 192.0.2.100 ttl 64
# ip tunnel 6rd dev 6rd 6rd-prefix 2001:09c8::/32
# ip addr add 2001:09c8:d403:0730::1/32 dev 6rd
# ip link set 6rd up
# ip route add ::/0 via ::1.2.3.4 dev 6rd
#

That's it! Your border router should now be able to ping IPv6 addresses such as ipv6.google.com.


Robert yrar:

torgvagen@RT-AC66U:/tmp/etc# ip tunnel change sit0 mode sit local 212.3.7.48 ttl 64
ttl != 0 and noptmudisc are incompatible
torgvagen@RT-AC66U:/tmp/etc# ip tunnel change sit0 mode sit local 212.3.7.48
ttl != 0 and noptmudisc are incompatible
torgvagen@RT-AC66U:/tmp/etc# ip tunnel change sit0 mode sit local 212.3.7.48 ttl 0
ioctl: No such file or directory
torgvagen@RT-AC66U:/tmp/etc# ip tunnel
sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc 6rd-prefix 2002::/16
torgvagen@RT-AC66U:/tmp/etc# ip tunnel change sit0 local 212.3.7.48
ttl != 0 and noptmudisc are incompatible
torgvagen@RT-AC66U:/tmp/etc# ip tunnel change sit0 local 212.3.7.48 ttl 64
ttl != 0 and noptmudisc are incompatible
torgvagen@RT-AC66U:/tmp/etc# ip tunnel change sit0 local 212.3.7.48 ttl 64 nopmtudisc
ttl != 0 and noptmudisc are incompatible
torgvagen@RT-AC66U:/tmp/etc# ip tunnel change sit0 local 212.3.7.48 ttl 0 nopmtudisc
ioctl: No such file or directory
torgvagen@RT-AC66U:/tmp/etc# ip tunnel change sit0 mode sit local 212.3.7.48 ttl 0 nopmtudisc
ioctl: No such file or directory
torgvagen@RT-AC66U:/tmp/etc# ifconfig sit0 down
torgvagen@RT-AC66U:/tmp/etc# ip tunnel add robert mode sit local 212.3.7.48 ttl 0 nopmtudisc 6rd-prefix 2001:09c8::/32
Error: either "name" is duplicate, or "6rd-prefix" is a garbage.
torgvagen@RT-AC66U:/tmp/etc# ip tunnel
sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc 6rd-prefix 2002::/16
torgvagen@RT-AC66U:/tmp/etc# ip tunnel add robert mode sit local 212.3.7.48 ttl 0 nopmtudisc
torgvagen@RT-AC66U:/tmp/etc# ip tunnel
sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc 6rd-prefix 2002::/16
robert: ipv6/ip  remote any  local 212.3.7.48  ttl inherit  nopmtudisc 6rd-prefix 2002::/16
torgvagen@RT-AC66U:/tmp/etc# ip tunnel robert dev robert  6rd-prefix 2002::/16
Command "robert" is unknown, try "ip tunnel help".
torgvagen@RT-AC66U:/tmp/etc# ip tunnel help
Usage: ip tunnel { add | change | del | show | 6rd } [ NAME ]
          [ mode { ipip | gre | sit } ] [ remote ADDR ] [ local ADDR ]
          [ [i|o]seq ] [ [i|o]key KEY ] [ [i|o]csum ]
          [ 6rd-prefix ADDR ] [ 6rd-relay_prefix ADDR ] [ 6rd-reset ]
          [ ttl TTL ] [ tos TOS ] [ [no]pmtudisc ] [ dev PHYS_DEV ]

Where: NAME := STRING
       ADDR := { IP_ADDRESS | any }
       TOS  := { NUMBER | inherit }
       TTL  := { 1..255 | inherit }
       KEY  := { DOTTED_QUAD | NUMBER }
torgvagen@RT-AC66U:/tmp/etc# ip tunnel 6rd dev robert  6rd-prefix 2002::/16
torgvagen@RT-AC66U:/tmp/etc#
torgvagen@RT-AC66U:/tmp/etc# ip tunnel
sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc 6rd-prefix 2002::/16
robert: ipv6/ip  remote any  local 212.3.7.48  ttl inherit  nopmtudisc 6rd-prefix 2002::/16
torgvagen@RT-AC66U:/tmp/etc# ip tunnel 6rd dev robert  6rd-prefix 2001:09c8::/32
torgvagen@RT-AC66U:/tmp/etc# ip tunnel
sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc 6rd-prefix 2002::/16
robert: ipv6/ip  remote any  local 212.3.7.48  ttl inherit  nopmtudisc 6rd-prefix 2001:9c8::/32
torgvagen@RT-AC66U:/tmp/etc#
torgvagen@RT-AC66U:/tmp/etc#

torgvagen@RT-AC66U:/tmp/etc#
torgvagen@RT-AC66U:/tmp/etc# ip route add ::/0 via ::31.208.169.254 dev robert
RTNETLINK answers: No route to host
torgvagen@RT-AC66U:/tmp/etc#

Personal tools
Namespaces

Variants
Actions
Navigation
Tools