IPv6 Implementation [BAB IV] – RIPng Connection

Posted on September 5, 2006. Filed under: IPv6, RIP |

IPv6 RIP Inject Default Route

Aneh, Koq default route yang di inject private yah ?

Wassalam,
a. Rahman Isnaini r. Sutan
.:: 2404:170::253:10
http://www.ipv6.indo.net.id

A default route is, essentially, a route that a router and/or routing protocol uses to forward packets for which it does not have the actual destination network address in its routing tables.

Default routes have been used widely by almost all IPv4 routing protocols. IPv6 RIP also supports the utilization and configuration of default routes.Unlike with IPv4 RIP, however, where you configured default routes at the global level, you configure IPv6 RIP for default routes on an interface level by using the default-information command.

This command tells the router to inject a::/0 route into the RIP routing domain as a default route (or, as it is also known, a gateway of last resort). Follow the default-information command by one of two parameters: originate or only settings.The originate setting tells the router to inject this ::/0 route into the RIP routing domain and to advertise this route along with all the other routes in itsRIP routing advertisements. The only parameter instructs the router running IPv6 RIP to advertise only this default route, and to suppress advertisement of any other routes.

The following listing show an example of default route configuration in anIPv6 RIP routing process. We have configured the serial 0 interface of ourRouterA router to originate a default route and to advertise it to the rest of theIPv6 RIP routing domain.

RouterA#config t
Enter configuration commands, one per line. End with CNTL/Z.
RouterA(config)#interface serial0
RouterA(config-if)#ipv6 rip cisco default-information ?
only Advertise only the default routeoriginate Originate the default route
RouterA(config-if)#ipv6 rip cisco default-information originateRouter
A(config-if)#exit
 
In the preceding example, we entered interface configuration mode and entered the ipv6 rip cisco default-information originate command, thus telling the router to use the network attached to the serial 0 interface as the default route.
If we look at the routing table of the neighboring RouterB, we will see that RouterA is indeed injecting that default route into your RIP routing domain.
 
If we examine the preceding routing table, we will see an additional RIP entry for the ::/0 network via serial 0. Note that entries for RIP routes have an “R” next to them.
 
This is our default route:
RouterB#show ipv6 routeIPv6 Routing Table – 8 entriesCodes: C – Connected, L – Local, S – Static, R – RIP, B – BGPI1 – ISIS L1, I2 – ISIS L2, IA – ISIS interareaTimers: Uptime/Expires
 
L 2000:1:1::2/128 [0/0]via ::, Serial0, 5d14h/never
C 2000:1:1::/64 [0/0]via ::, Serial0, 5d14h/never
R 2000:1:2::/64 [120/2]via FE80::2E0:B0FF:FE5A:D998, Serial0, 00:00:09/00:02:50
L 2000:1:3::1/128 [0/0]via ::, Ethernet0, 5d14h/never
C 2000:1:3::/64 [0/0]via ::, Ethernet0, 5d14h/never
L FE80::/10 [0/0]via ::, Null0, 5d14h/never
L FF00::/8 [0/0]via ::, Null0, 5d14h/never
R ::/0 [120/2]via FE80::2E0:B0FF:FE5A:D998, Serial0, 00:00:09/00:02:50
 
RouterB#exit

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: