REDISTRIBUTION IS-IS And RIP/RIPng
clicquer sur l'image pour agrandir
config
host R2
ipv6 unicast
ipv6 cef
int f0/0
no shut
ip add 193.10.10.6 255.255.255.252
ipv6 add 2001:db8:0:20::2/64
ipv6 router isis
ip router isis
exit
int loop 0
ip add 192.168.10.1 255.255.255.0
ipv6 add 2001:db8:0:aa1::1/64
ipv6 router isis
ip router isis
exit
int loop 1
ip add 192.168.20.1 255.255.255.0
ipv6 add 2001:db8:0:bb1::1/64
ipv6 router isis
ip router isis
exit
router isis
net 01.0001.0000.1111.2222.00
----------------------------------------------
host R1
ipv6 unicast
ipv6 cef
int f0/0
no shut
ip add 193.10.10.5 255.255.255.252
ipv6 add 2001:db8:0:20::1/64
ipv6 router isis
ip router isis
exit
int f0/1
no shut
ip add 193.10.10.1 255.255.255.252
ipv6 add 2001:db8:0:10::1/64
ipv6 rip joseph enable
exit
router isis
net 01.0001.0000.2222.2222.00
redis rip metric 0 metric-type internal level-2
redis connec metric 0 metric-type internal level-2
address-family ipv6
redis rip joseph metric 0 metric-type internal level-2
redis connec rip joseph metric 0 metric-type internal level-2
exit
router rip
net 193.10.10.0
pass f0/0
net 193.10.10.0
redistri isis level-1-2 metric 5
redistri connect
exit
ipv6 router rip joseph
redistri isis level-1-2 metric 10
redistri connect metric 1
end
wr
-------------------------
host R3
ipv6 unicast
ipv6 cef
int f0/0
no shut
ip add 193.10.10.2 255.255.255.252
ipv6 add 2001:db8:0:10::2/64
no ipv6 add 2001:db8:0:20::2/64
ipv6 rip joseph enable
exit
int loop 0
ip add 192.168.30.1 255.255.255.0
ipv6 add 2001:db8:0:cc1::1/64
ipv6 rip joseph enable
exit
int loop 1
ip add 192.168.40.1 255.255.255.0
ipv6 add 2001:db8:0:dd1::1/64
ipv6 rip joseph enable
exit
router rip
net 193.10.10.0
net 192.168.30.0
net 192.168.40.0
end
wr
-------------------------------
test et verification
R2#sh ipv rou
IPv6 Routing Table - 11 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
I2 2001:DB8:0:10::/64 [115/10]
via FE80::C200:12FF:FE2C:0, FastEthernet0/0
C 2001:DB8:0:20::/64 [0/0]
via ::, FastEthernet0/0
L 2001:DB8:0:20::2/128 [0/0]
via ::, FastEthernet0/0
C 2001:DB8:0:AA1::/64 [0/0]
via ::, Loopback0
L 2001:DB8:0:AA1::1/128 [0/0]
via ::, Loopback0
C 2001:DB8:0:BB1::/64 [0/0]
via ::, Loopback1
L 2001:DB8:0:BB1::1/128 [0/0]
via ::, Loopback1
I2 2001:DB8:0:CC1::/64 [115/10]
via FE80::C200:12FF:FE2C:0, FastEthernet0/0
I2 2001:DB8:0:DD1::/64 [115/10]
via FE80::C200:12FF:FE2C:0, FastEthernet0/0
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
R2#
R2#sh ip route
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
i L2 192.168.30.0/24 [115/10] via 193.10.10.5, FastEthernet0/0
C 192.168.10.0/24 is directly connected, Loopback0
i L2 192.168.40.0/24 [115/10] via 193.10.10.5, FastEthernet0/0
193.10.10.0/30 is subnetted, 2 subnets
i L2 193.10.10.0 [115/10] via 193.10.10.5, FastEthernet0/0
C 193.10.10.4 is directly connected, FastEthernet0/0
C 192.168.20.0/24 is directly connected, Loopback1
R2#
R2#ping 192.168.30.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.30.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 60/91/164 ms
R2#ping ipv6 2001:db8:0:cc1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:CC1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/84/108 ms
R2#ping 192.168.40.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.40.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/93/152 ms
R2#ping ipv6 2001:db8:0:dd1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:DD1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/68/80 ms
R2#
-------------------------
R1#sh ipv rou
IPv6 Routing Table - 10 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
C 2001:DB8:0:10::/64 [0/0]
via ::, FastEthernet0/1
L 2001:DB8:0:10::1/128 [0/0]
via ::, FastEthernet0/1
C 2001:DB8:0:20::/64 [0/0]
via ::, FastEthernet0/0
L 2001:DB8:0:20::1/128 [0/0]
via ::, FastEthernet0/0
I1 2001:DB8:0:AA1::/64 [115/20]
via FE80::C201:12FF:FE2C:0, FastEthernet0/0
I1 2001:DB8:0:BB1::/64 [115/20]
via FE80::C201:12FF:FE2C:0, FastEthernet0/0
R 2001:DB8:0:CC1::/64 [120/2]
via FE80::C202:12FF:FE2C:0, FastEthernet0/1
R 2001:DB8:0:DD1::/64 [120/2]
via FE80::C202:12FF:FE2C:0, FastEthernet0/1
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
R1#
R1#sh ip rou
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 rou
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
R 192.168.30.0/24 [120/1] via 193.10.10.2, 00:00:06, FastEthernet0/1
i L1 192.168.10.0/24 [115/20] via 193.10.10.6, FastEthernet0/0
R 192.168.40.0/24 [120/1] via 193.10.10.2, 00:00:06, FastEthernet0/1
193.10.10.0/30 is subnetted, 2 subnets
C 193.10.10.0 is directly connected, FastEthernet0/1
C 193.10.10.4 is directly connected, FastEthernet0/0
i L1 192.168.20.0/24 [115/20] via 193.10.10.6, FastEthernet0/0
R1#
---------------------
R3#sh ip route
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
C 192.168.30.0/24 is directly connected, Loopback0
R 192.168.10.0/24 [120/5] via 193.10.10.1, 00:00:13, FastEthernet0/0
C 192.168.40.0/24 is directly connected, Loopback1
193.10.10.0/30 is subnetted, 2 subnets
C 193.10.10.0 is directly connected, FastEthernet0/0
R 193.10.10.4 [120/1] via 193.10.10.1, 00:00:13, FastEthernet0/0
R 192.168.20.0/24 [120/5] via 193.10.10.1, 00:00:13, FastEthernet0/0
R3#sh ipv rou
IPv6 Routing Table - 11 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
C 2001:DB8:0:10::/64 [0/0]
via ::, FastEthernet0/0
L 2001:DB8:0:10::2/128 [0/0]
via ::, FastEthernet0/0
R 2001:DB8:0:20::/64 [120/2]
via FE80::C200:12FF:FE2C:1, FastEthernet0/0
R 2001:DB8:0:AA1::/64 [120/11]
via FE80::C200:12FF:FE2C:1, FastEthernet0/0
R 2001:DB8:0:BB1::/64 [120/11]
via FE80::C200:12FF:FE2C:1, FastEthernet0/0
C 2001:DB8:0:CC1::/64 [0/0]
via ::, Loopback0
L 2001:DB8:0:CC1::1/128 [0/0]
via ::, Loopback0
C 2001:DB8:0:DD1::/64 [0/0]
via ::, Loopback1
L 2001:DB8:0:DD1::1/128 [0/0]
via ::, Loopback1
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
R3#
R2#ping 192.168.30.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.30.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 60/91/164 ms
R2#ping ipv6 2001:db8:0:cc1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:CC1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/84/108 ms
R2#ping 192.168.40.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.40.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/93/152 ms
R2#ping ipv6 2001:db8:0:dd1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:DD1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/68/80 ms
R2#ping ipv6 2001:db8:0:aa1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:0:AA1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/2/4 ms
R2#