From: Michy Eika (cciemaster@shingor.net)
Date: Fri Sep 08 2006 - 04:46:28 ART
Hello folks
I'm using following topology and EIGRP is enabled between R1-R2, RIPng is
enabled in R2,R3,R5
R1(IPv4)F0/0.7--1.1.12.0/24--F0/0.7:R2(Dual-stack):F0/0.4--fec0:0:0:17::/64-
-F0/0:R3(IPv6):S0/0/0.235(FR)--fec0:0:0:23::/64--(FR)S0/0/0:R5(IPv6):Lo0--fe
c0:0:0:5::5/64
* All of hosts' address is Router#(1,2,3,5).
* R2 has Loopback0 with 1.1.2.2/24(This network address is advertised into
EIGRP)
* R2,R3,R5 has learned all of IPv6 routes via RIPng.
I tried to use IPv4->IPv6 Dynamic NAT-PT on R2 using follwing configuration.
R2:
interface Loopback0
ip address 1.1.2.2 255.255.255.0
ipv6 address FEC0:0:0:2::2/64
ipv6 rip RIP enable
end
interface FastEthernet0/0.7
encapsulation dot1Q 7
ip address 1.1.12.2 255.255.255.0
no snmp trap link-status
ipv6 address FEC0:0:0:C::2/64
ipv6 nat
ipv6 rip RIP enable
interface FastEthernet0/0.4
encapsulation dot1Q 4
ip address 1.1.23.2 255.255.255.0
no snmp trap link-status
ipv6 address FEC0:0:0:17::2/64
ipv6 nat
ipv6 rip RIP enable
!
ipv6 nat v4v6 source list 3 pool v6-pool
ipv6 nat v4v6 pool v6-pool FEC0::2:1:0:0:3 FEC0::2:1:0:0:5 prefix-length 64
ipv6 nat v6v4 source FEC0:0:0:5::5 1.1.2.5
ipv6 nat prefix FEC0:0:0:2:1::/96
access-list 3 permit 1.1.12.0 0.0.0.255
I verified below.
[R1]
R1#p 1.1.2.5
[output]
R1#sh ip route
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 17.17.2.5, timeout is 2 seconds:
.....
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static
route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
17.0.0.0/8 is variably subnetted, 7 subnets, 3 masks
D EX 1.1.0.0/16 [170/173312] via 1.1.12.2, 00:12:23, FastEthernet0/0.7
C 1.1.1.0/24 is directly connected, Loopback0
C 1.1.12.0/24 is directly connected, FastEthernet0/0.7
[R2]
deb ipv6 nat
[output]
R2#deb ipv6 nat
IPv6 NAT-PT debugging is on
nothing
sh ipv nat tran
[output]
R2#sh ipv nat tra
Prot IPv4 source IPv6 source
IPv4 destination IPv6 destination
--- 1.1.2.5 FEC0:0:0:5::5
--- ---
R2#deb ip pack 3
*Sep 8 07:23:50.027: IP: s=1.1.12.2 (local), d=224.0.0.10
(FastEthernet0/0.7), len 60, sending broad/multicast
*Sep 8 07:23:50.711: IP: s=1.1.12.1 (FastEthernet0/0.7), d=224.0.0.10, len
60, rcvd 2
R2#
*Sep 8 07:23:54.447: IP: s=1.1.12.2 (local), d=224.0.0.10
(FastEthernet0/0.7), len 60, sending broad/multicast
*Sep 8 07:23:55.087: IP: s=1.1.12.1 (FastEthernet0/0.7), d=224.0.0.10, len
60, rcvd 2
R2#
*Sep 8 07:23:59.291: IP: s=1.1.12.2 (local), d=224.0.0.10
(FastEthernet0/0.7), len 60, sending broad/multicast
*Sep 8 07:24:00.035: IP: s=1.1.12.1 (FastEthernet0/0.7), d=224.0.0.10, len
60, rcvd 2
R2#u a;
*Sep 8 07:24:03.763: IP: s=1.1.12.2 (local), d=224.0.0.10
(FastEthernet0/0.7), len 60, sending broad/multicast
*Sep 8 07:24:04.427: IP: s=1.1.12.1 (FastEthernet0/0.7), d=224.0.0.10, len
60, rcvd 2
<--- Pinging to R2 from R1. But no packet from R1 associated ping.
R2#sh ipv route rip
IPv6 Routing Table - 13 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
R FEC0:0:0:5::/64 [120/2]
via FE80::5, Serial0/0/0
Why couldn't I correctly execute IPv4 to IPv6 Dynamic NAT-PT ?
bibliography:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/ipv6
_c/sa_natpt.htm#wp1057445
TIA
Michy
This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:40 ART