IPv6-lab1
From Datateknik
(Difference between revisions)
(→C) Client IPv6 Connectivity) |
(→BGP -- Do not even try) |
||
Line 55: | Line 55: | ||
= BGP -- Do not even try = | = 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 == | == Create L3 connectivity and try ping == |
Revision as of 13:05, 20 October 2014
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#