IPv6-lab1

From Datateknik
Revision as of 09:19, 21 October 2014 by Imra (Talk | contribs)

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. 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
  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 !!

16

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 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 ipv5

                      ^

% Invalid input detected at '^' marker.

Left-15#show ip bgp ipv4 % Incomplete command.

Left-15#show ip bgp ipv4 ?

 mdt        Address Family modifier
 multicast  Address Family modifier
 unicast    Address Family modifier

Left-15#show ip bgp ipv4 uni 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# 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#

Personal tools
Namespaces

Variants
Actions
Navigation
Tools