RIPng

RIPNg Routing Protocol
RFC 2080 defines Routing Information Protocol next generation (RIPng) as a simple routing protocol based on RIP (based on RIPv2. has the same features such as, a distance vector routing protocol, max of 15 hops, split horizon and poison reverse). RIPng is no more less and powerfull than RIP, it supports IPv6 network without having to build a new routing protocol.
RIPng has the following features:
  • Based on RIPv2 and is similar to it
  • Uses IPv6 to transport
  • Includes IPv6 prefix and next-hop IPv6 address
  • uses the multicast group FFo2::9 address (IPv6 multicast address identifying all RIPng routers on link) to send updates. this is similar to broadcast function in RIP.
  • sends updates on UDP port 521

RIPng is supported by Cisco IOS Release 12.2.(2)T and later. in dual-stacked deployments, both RIP and RIPng are required.

Configuring IPv6 addresses
first we must enable IPv6 traffic-forwarding in Cisco router (by default this feature is disabled) by entering the command "ipv6 unicast-routing" at the global configuration level. then you can configure the address of the interface by using the manual configuration or the eui-64 standard (see above).
  • - manual interface ID assignment. one way to statically define the IPv6 address for a device is to manually configure both the network (prefix) and the interface ID to the device. to assign an IPv6 address to an interface in Cisco router, enter the following command in the interface configuration level
ipv6 address ipv6-address/prefix-length
ipv6-address: the address of the interface in IPv6 notation, example 2001:A58E:9CD:2947::49
prefix-length: the length of the prefix (network) portion. example /64

  • EUI-64 interface ID assignment. EUI-64 standard define the way to stretch the MAC address, which is 48 bits, of the interface to a 64 bits interface ID used for IPv6. the convertion is done by inserting the 4 hexadecimal values of "FFFE" at the 24th bit of the MAC address. example, a MAC address of 00:0c:4F:90:27:FC is converted to 00:0c:4F:FF:FE:90:27:FC. to assign an IPv6 with the EUI-64 scheme to an interface in Cisco router. enter the following command at the interface configuration level.
ipv6 address ipv6-prefix/prefix-length eui-64
ipv6-prefix: the network (prefix) portion of the address
prefix-length: the length of the prefix (network) portion
example,

ipv6 address 2001:A58E:9CD:2947::/64 eui-64


Cisco IOS IPv6 Name Resolution
two ways to perform name resolution in Cisco IOS
  • Statically define a name for an IPv6 address. use the following command at global configuration level
ipv6 host name [port] ipv6addr [{ipv6addr}..]
name : name of the ipv6addr
port : telnet port to be used for the associated host
ipv6addr: the address of the hostname. there can be up to four addresses for a given hostname
example,
ipv6 host router1 2001:A58E:9CD:2947::1

  • Define a DNS server to query. the hostname database is not located at local router but at a particular server. use the following command at the global configuration level
ip name-server address

address: the address of the server
example,
ip name-server 2001:A58E:9CD:2947::1



Configuring RIPng
first use the command "ipv6 unicast-routing" to enable IPv6 traffic-forwarding. then create a RIPng process by using the command
ipv6 router rip name
name: name/identifier of the RIPng process
the command is to be entered at global configuration level. next, give each interface required to join in RIPng an IPv6 address. after that, instead of using the "network" command to make a particular interface participate in RIP process, RIPng use the command
ipv6 rip name enable
name: name of the RIPng process that the interface to be participate in

enter the command at the interface configuration level (at the interface required to participate in RIPng). the name must match with the name in the "ipv6 router rip" command. enabling RIP on an interface dynamically creates a "router rip" process if necessary.


example,
enable RIPng on a Cisco router named RIP1. give FastEthernet0/0 an IPv6 address of 2001:9cd:1:3::10, and FastEthernet0/1 an address of 2001:9cd:1:2::10 make inteface FastEthernet0/0 and FastEthernet0/1 participate in the RIP1 process. the commands are
ipv6 unicast-routing
ipv6 router rip RIP1


interface FastEthernet0/0
ipv6 address 2001:9cd:1:3::10/64 eui-64
ipv6 rip RIP1 enable

interface FastEthernet0/1
ipv6 address 2001:9cd:1:2::10/64 eui-64
ipv6 rip RIP1 enable





instead of using "show ip" command, you can use the "show ipv6" (there will be some next command options such as "show ipv6 route", "show ipv6 interface" and "show ipv6 traffic", try the "?") to see the configuration related to ipv6.

0 comments:

top