0 ratings0% found this document useful (0 votes) 33 views7 pagesIPv6 Redistribution Between RIPNG and OSPFv3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
1990512028, 1°58 |Pv6 Reslstrbution between RIPNG and OSPFV3
Search Q
©
IPv6 Redistribution between RIPNG and OSPFv3
Redistribution for IPv6 is pretty much the same as for IPv4. The same rules apply.
I want to show you an example of IPv6 redistribution between RIPNG and OSPFV3. Here's the topology that
we will use:
8
g
In the middle, we have router R2 that will redistribute between RIPNG and OSPFv3. R1 and R3 have a
loopback interface that will be advertised, Let's configure the IPv6 addresses:
Ri(config)#ipv6 unicast-routing
R1(config)#interface loopback @
Ri(config-if)#ipvé address 2001:
R1(config-if)Hexit
R1(config)#interface fastEthernet 0/2
R1(config-if)#ipv6 enable
/128
R2(config)#ipv6 unicast-routing
R2(config)#interface fastEthernet 0/2
R2(config-if)#ipv6 enable
R2(config-if)#exit ©
R2(config)#interface fastEthernet 1/0
R2(config-if)#ipv6 enable
hitpstnetworklessons.comcisca/ece-rouing-switchingthow-lo-confgure-ipv-raisiroutor-ipng-osplv3 wr1990512028, 1°58 |Pv6 Realstribution between RIPNG and OSPFV3
a
no\WunragyHanuerrace auupuaen 7
R3(config-if)#ipvé address 2001;
R3(config-if)Hexit
R3(config)#interface fastEthernet 0/2
R3(config-if)#ipv6 enable
/128
This is what well start with, I'm using the loopbacks to have something to advertise in RIPNG or OSPFV3. On
the FastEthernet interfaces, | only need a link-local |Pv6 address. Let's configure RIPNG on R1 and R2:
R1(config)#ipvé router rip RIPNG
R1(config-rtr)#exit
Ri(config)#interface loopback @
R1(config-if)#ipv6 rip RIPNG enable
R1(config-if)#exit
Ri(config)#interface fastEthernet 0/2
Ri(config-if)#ipvé rip RIPNG enable
R2(config)#ipv6 router rip RIPNG
R2(config-rtr)#exit
R2(config)#interface fastEthernet 0/0
R2(config-if)#ipvé rip RIPNG enable
‘And welll configure OSPFv3 on R2 and R3:
R2(config)#ipv6 router ospf 1
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#exit
R2(config)#interface fastEthernet 1/0
R2(config-if)#ipvé ospf 1 area @
13 (contig) #ipws router ospf 2 ©
R3(config-rtr)#router-id 3.3.3.3
s3(contig-rer}eedtt
R3(config)#interface fastEthernet 6/2
13 (contig-if)#ipv6 ospt 1 area @
hitpstnetworklessons.comciscafece-rouing-switchingthow-lo-configure-ipv-raisiroutor-ipng-osplv31990512028, 1°58 |Pv6 Realstribution between RIPNG and OSPFV3
a
This is what we need on R3 and R2 to get OSPFV3 working, Welll use the redistribute command to
redistribute routes from RIPNG into OSPFV3 and vice versa:
R2(config)#ipv6 router ospf 1
R2(config-rtr)#redistribute rip RIPNG
R2(config-rtr)iexit
R2(config)#ipvé router rip RIPNG
R2(config-rtr)#redistribute ospf 1 metric 1
This is all you have to do to redistribute everything, Let's check the routing tables of R1 and R3:
Riltshow ipv6 route rip
IPv6 Routing Table - 4 entries
Codes: ¢ - Connected, L - Local, $ - Static, R - RIP, B - BGP
U = Per-user Static route
I1 - ISIS L1, 12 - ISIS 12, IA - ISIS interarea, IS - ISIS summary
© = OSPF intra, OT = OSPF inter, OF1 - OSPF ext 1, O£2 - OSPF ext 2
ONL - OSPF NSA ext 1, ON2 - OSPF NSSA ext 2
R 2001::3/128 [120/2]
via FEB0: :CE04:19F
£67:0, FastEtherneto/@
R3#show ipvé route ospf
IPV6 Routing Table - 4 entries
Codes: ¢ - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
Ii - ISIS L1, 12 - ISIS 12, IA - ISIS interarea, IS - ISIS summary
© - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
0&2 2001::1/128 [110/20]
via FEB
CEO4:19F1
£67:10, Fastetherneto/@ Q
We can verify our configuration by looking at the routing tables. Right now, we redistribute all routes. If you
want, you can be a bit more specific with redistribution using route maps:
hitpstnetworklessons.comcisca/ece-rouing-switchingthow-lo-confgure-ipv-raisiroutor-ipng-osplv3 a71990512028, 1°58 |Pv6 Realstribution between RIPNG and OSPFV3
a
Re\WUNTAR-FUryereusserapuce uspr 4 ruuLe-map unLT nese
R2(config-rtr)#exit
R2(config)#ipv6 prefix-list MYPREFIXES permit 2001::3/128
R2(config)#route-map ONLYTHESE permit 10
R2(config-route-map)#match ipvé address prefix-List MYPREFIXES
Using a route-map and a prefixlist lke in the example above, | can select only the prefixes | want to
redistribute. This is a better solution than just redistributing everything
Want to take a look for yourself? Here you wil find the final configuration of each device,
R2
hostname R2
ipvé unicast-routing
interface fastEthernet 0/0
ipvé enable
ipvé rip RIPNG enable
interface fastEthernet 1/@
ipvé enable
ipvé ospf 1 area @
ipve router rip RIPNG
redistribute ospf 1 metric 1
redistribute ospf 1 route-map ONLYTHESE
ipv6 prefix-list MYPREFIXES permit 2001::3/128
route-map ONLYTHESE permit 10
hitpstnetworklessons.comicscalece-ruting-swichingthow-lo-confg
ipvececistrioutonspng-osptv3
an1990512028, 1°58 |Pv6 Realstribution between RIPNG and OSPFV3
ipv6 router ospf 1
router-id 2.2.2.2
redistribute rip RIPNG
end
R3
hostname R3
ipv6 unicast-routing
interface loopback @
ipve address 2001: :3/128
ipvé ospf 1 area @
'
interface fastFthernet 0/@
ipvé enable
ipvé ospf 1 area 0
ipv6 router ospf 1
router-id 3.3.3.3
!
end
R1
hostname R1.
!
ipv6 unicast-routing
!
interface loopback @
ipvé address 2002: :1/128
ipvé rip RIPNG enable
!
interface fastEthernet 0/0
ipvé enable
hitpstnetworklessons.comciscafece-rouing-switchingthow-lo-configure-ipv-raisiroutor-ipng-osplv31990512028, 1°58 |Pv6 Realstribution between RIPNG and OSPFV3
a
ipv6 router rip RIPNG
end
| hope this example is useful to you. If you have any questions feel free to leave a cornment!
Previous Lesson Next Lesson
SPA authentication sco NaTé4 static DY
Configuration
«
® Tags: OSPEV3, Redistribution, RIPNG
Forum Replies
bigfoorss
Thanks for the labs. Its very usefull
| have a suggestion for the last rule in route-map contig:
Cryo(config-route-map)tmatch ipv6 address prefix-list MYPREFIXES (instead of “ONLYTHESE")
QR rerematenar
Thanks Brutus, just fixed it
Ikhannaz012
Do we not need Seed metric while ipv6 redistribution ..for RIPNG and EIGRP... guess OSPF can calculate the cost
automatically and will use 20.
suncethabdullah
‘A suggestion.
hps:inetworklessons.comiciscaocie-routing-switchingihow4o-confg or1990512028, 1°58 |Pv6 Realstribution between RIPNG and OSPFV3
HiSuneeth,
| agree, this is one of my older posts. In all my recent posts | use numbers instead of names.
Rene
{x 6 more replies! Ask a question or join the discussion by visiting our Community Forum,
Disclaimer Privacy Policy Support About
© 2013 - 2023 NetworkLessons.com 52189
hps:inetworklessons.comiciscaocie-routing-switchingihow4o-confg
W