标签:
In this lab, you configure EIGRP for full connectivity between all IPv4 subnets. Then you create a manual IPv6 tunnel and run EIGRP for IPv6 over it.
Cable the network as shown in the topology diagram. Erase the startup configuration, and reload each router to clear the previous configurations. Configure the hostnames as shown.
Configure the loopback interfaces with IPv4 addresses and IPv6 addresses, where appropriate. Also configure the serial interfaces with the IPv4 addresses shown in the diagram. Set the clock rates on the appropriate interfaces, and issue the no shutdown command on all serial connections. Verify that you have local subnet connectivity with ping.
R1#show ip int brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 unassigned YES unset administratively down down FastEthernet0/1 unassigned YES unset administratively down down Serial1/0 172.16.12.1 YES manual up up Serial1/1 unassigned YES unset administratively down down Serial1/2 unassigned YES unset administratively down down Serial1/3 unassigned YES unset administratively down down Loopback0 10.1.1.1 YES manual up up R1#show ipv6 int brief FastEthernet0/0 [administratively down/down] FastEthernet0/1 [administratively down/down] Serial1/0 [up/up] Serial1/1 [administratively down/down] Serial1/2 [administratively down/down] Serial1/3 [administratively down/down] Loopback0 [up/up] FE80::C801:2BFF:FEB4:8 FEC0::1:1
Configure EIGRP for AS 1 for the major networks 172.16.0.0 and 10.0.0.0 on all three routers. Make sure that you disable auto-summarization. You should have full IPv4 connectivity after this.
R1, R2, R3 router eigrp 1 no auto-summary network 10.0.0.0 netwrok 172.16.0.0
R1#show ip route eigrp 172.16.0.0/24 is subnetted, 2 subnets D 172.16.23.0 [90/2681856] via 172.16.12.2, 00:01:25, Serial1/0 10.0.0.0/24 is subnetted, 3 subnets D 10.1.3.0 [90/2809856] via 172.16.12.2, 00:01:08, Serial1/0 D 10.1.2.0 [90/2297856] via 172.16.12.2, 00:01:25, Serial1/0
A tunnel is a logical interface that acts as a logical connection between two endpoints. It is similar to a loopback interface in that there is no corresponding physical interface, but it is different in that there is more than one router involved. An IPv6 manual tunnel is a type of tunnel that has hard-coded source and destination addresses, with an IPv6 address on the tunnel itself.
R1(config)# interface tunnel 0 R1(config-if)# tunnel mode ipv6ip R1(config-if)# tunnel source serial1/0 R1(config-if)# tunnel destination 172.16.23.3 R1(config-if)# ipv6 address FEC0::13:1/112 R3(config)# interface tunnel 0 R3(config-if)# tunnel mode ipv6ip R3(config-if)# tunnel source serial1/1 R3(config-if)# tunnel destination 172.16.12.1 R3(config-if)# ipv6 address FEC0::13:3/112
Verify that you can ping across the tunnel from one side to the other using the tunnel address of the opposite router.
R1#ping fec0::13:3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0::13:3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 28/41/52 ms R1#traceroute fec0::13:3 Type escape sequence to abort. Tracing the route to FEC0::13:3 1 FEC0::13:3 12 msec 40 msec 36 msec R1#ping fec0::3:1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0::3:1, timeout is 2 seconds: ..... Success rate is 0 percent (0/5)
Note: Although not done in this lab, you can configure the tunnel interfaces using only the ipv6 enable command, instead of unicast IPv6 addresses. This command configures the tunnel interfaces for IPv6 operation and assigns automatically generated link-local addresses to them. This allows the tunnel to transport IPv6 packets and an IGP can be run over it. The individual endpoints of the tunnel are not globally addressable, but the tunnel does not require global unicast addresses.
1. Enable IPv6 routing with the ipv6 unicast-routing command on R1 and R3. Configure EIGRP for IPv6 on those routers to run over the tunnel and advertise the loopback interfaces into IPv6-EIGRP AS 100.
R1(config)# ipv6 unicast-routing R1(config)# interface loopback0 R1(config-if)# ipv6 eigrp 100 R1(config-if)# interface tunnel0 R1(config-if)# ipv6 eigrp 100 R3(config)# ipv6 unicast-routing R3(config)# interface loopback0 R3(config-if)# ipv6 eigrp 100 R3(config-if)# interface tunnel0 R3(config-if)# ipv6 eigrp 100
2. Verify the configuration using the show ipv6 eigrp neighbor command.
R1#show ipv6 eigrp neighbors IPv6-EIGRP neighbors for process 100 % EIGRP 100 is in SHUTDOWN
3. IPv6 EIGRP routing is shut down by default. To enable IPv6-EIGRP for process 100, use the following commands on R1 and R3.
R1(config)#ipv6 router eigrp 100 R1(config-rtr)#no shutdown R1(config-rtr)# *Sep 27 10:08:31.771: %DUAL-5-NBRCHANGE: IPv6-EIGRP(0) 100: Neighbor FE80::AC10:1703 (Tunnel0) is up: new adjacency
4. Verify the configuration using the show ipv6 eigrp neighbor command.
R1#show ipv6 eigrp neighbors IPv6-EIGRP neighbors for process 100 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 0 Link-local address: Tu0 12 00:01:13 58 5000 0 3 FE80::AC10:1703
5. Ping the R3 Lo0 IPv6 address from R1, and ping the R1 Lo0 IPv6 address from R3.
R1#ping fec0::3:1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0::3:1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 20/36/48 ms
6. Use the following Tcl script on R1 and R3 to verify connectivity for R1 and R3.
R1# tclsh
foreach address {
10.1.1.1
10.1.2.1
10.1.3.1
172.16.12.1
172.16.12.2
172.16.23.2
172.16.23.3
FEC0::1:1
FEC0::3:1
FEC0::13:1
FEC0::13:3
} {
ping $address }
R1#tclsh R1(tcl)#foreach address { +>(tcl)#10.1.1.1 +>(tcl)#10.1.2.1 +>(tcl)#10.1.3.1 +>(tcl)#172.16.12.1 +>(tcl)#172.16.12.2 +>(tcl)#172.16.23.2 +>(tcl)#172.16.23.3 +>(tcl)#FEC0::1:1 +>(tcl)#FEC0::3:1 +>(tcl)#FEC0::13:1 +>(tcl)#FEC0::13:3 +>(tcl)#} { +>(tcl)#ping $address } Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.2.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 12/16/24 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.3.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 12/33/44 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 20/29/64 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.12.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/16 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.23.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/12/20 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.23.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 16/18/20 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0::1:1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0::3:1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 8/18/36 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0::13:1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to FEC0::13:3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 8/15/20 ms
Lab - Using Manual IPv6 Tunnels && EIGRP for IPv6
标签:
原文地址:http://www.cnblogs.com/elewei/p/4841913.html