IPv6-lab1
From Datateknik
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
A) Router connectivity
- Connect your router to the CNAP-switch, which in turn connect to the CNAP-Brouter for L3-Routing
- Enable plug-and-play IPv4 addressing on your router-port
- What IPv4 address (and default gateway did you get ?)
- Enable plug-and-play IPv6 addressing on your router-port
- What IPv6 address (and default gateway did you get ?)
- traceroute to 2001:6b0:1d:10::11, how many router-hops?
- Define DNS-server as 2001:6b0:1d:10::11
- How many router-hops is it to www.facebook.com?
- Found any fun IPv6-addresses (leet-speak!?!)
- 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
- Enable ipv6 eigrp 1 and make sure that you become a neighbor with CNAP-brouter
- 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
- How many other groups have announced networks according to the routing table?
- Create a loopback interface with a IPv6 address and announce it over EIGRP
- Go to another group and check if they can see your network in their routing table?
- Can you traceroute to the other group
- Try also ping, but it's boring...
- 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
- Connect your PC directly to the "internet" and download [www.teeworlds.com], then disconnect.
- Disconnect your PC from the internet (:-)
- Connect your pc to the other router ethernet port
- Make sure that your router ethernet interfaces are UP/UP
- Configure static IPv6 addresses (global and link-local) on the router interface facing the PC
- 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
- Can you TRACERT to ipv6.google.com? why?
- Can you TRACERT to www.volvo.com? why?
- Can you surf to ipv6.google.com?
- Can you surf to http://www.volvo.com/ ?
- Can you surf to http://www.volvo.com.sixxs.org/ through the Application Level Gateway (ALG) of sixXS ?
- Set up a teeworlds server and invite your friends
- Remove your PC addressing configuration
- Enable stateless autoconf (SLAAC) of your PC on the router
- What address did your PC get? why not eui64?
- Test teeworlds again
- Enable stateful autoconf (DHCPv6) of your PC on the router and try to give the PC the shortest possible IPv6-address.
- Try IPCONFIG /RELEASE6 and /RENEW6 etc on the PC
- 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#