IPv6-lab1

From Datateknik
Revision as of 13:03, 20 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 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#
Personal tools
Namespaces

Variants
Actions
Navigation
Tools