Wednesday, March 23, 2011

Ipv6

Ipv6
Ipv6 is a 128 bit logical address assigned to layer 3 devices like computers, routers etc.Ipv6 is also called new generation address.Ipv6 can be represented as 2001:1:1:1:2:2:2:2 .Ipv6 does not support broadcast,but it uses multicast, unicast and anycast to forward packets(data).

Configuring rip with ipv6

Inorder to configure rip with ipv6,advanced rip protocol called RIPNG (rip next generation) is used.

Scenario

Two routers connected to each other with their loopbacks (logical interfaces) enabled on each router.


Router A's interface address 2001::1:1:1:1:1
Router A's loopback address 2001::2:1:1:1:1
Router B's interface address 2001::1:1:1:1:2
Router B's interface address 2001::3:1:1:1:1

Configuration

Router1>Enable
Router1#conf terminal
Router1(config)#int s 0
Router1(config)#ipv6 unicast-routing     (to enable ipv6 in routers)
Router1(config-if)ipv6 address 2001::1:1:1:1:1/64
Router1(config-if)#no shutdown
Router1(config-if)exit
Router1(config)#interface loopback 0
Router1(config-if)#ip adress 2001::2:1:1:1:1/64
Router1(config-if)#no shutdown
Router1(config)#exit

Router1>Enable
Router1#conf terminal
Router1(config)#int s 0
Router1(config)#ipv6 unicast-routing     (to enable ipv6 in routers)
Router1(config-if)ipv6 address 2001::1:1:1:1:2/64
Router1(config-if)#no shutdown
Router1(config-if)exit
Router1(config)#interface loopback 0
Router1(config-if)#ip adress 2001::3:1:1:1:1/64
Router1(config-if)#no shutdown
Router1(config)#exit



Configuring ripng

Router1(config)#interface s 0
Router1(config-if)#ipv6 rip 1234 enable
Router1(config-if)#exit
Router1(config)#interface loopback 0
Router1(config-if)#ipv6 rip 1234 enable
Router1(config-if)#exit

Router2(config)#interface s 0
Router2(config-if)#ipv6 rip 1234 enable
Router2(config-if)#exit
Router2(config)#interface loopback 0
Router2(config-if)#ipv6 rip 1234 enable
Router2(config-if)#exit

To check the routing table
use
Show ipv6 route ( under priveledge mode)

ping loopbacks
example


ping 2001::3:1:1:1:1
or ping 2001::2:1:1:1:1