R1

 

  #ipv6 unicast-routing

 

  #int s1/1

 

  #ipv6 address 2002::1:1/122

 

  #ipv6 ospf 1 area 0

 

  #no shutdown

 

  #exit

 

  #int loopback 0

 

  #ip address 1.1.1.1 255.255.255.0

 

  #ipv6 address fec0::1:1/64

 

  #ipv6 ospf 1 area 0

 

  #exit

 

  #ipv6 router ospf 1

 

  #router-id 1.1.1.1

 

  #exit

 

  R2

 

  #ipv6 unicast-routing

 

  #int s1/2

 

  #ipv6 address 2002::1:2/122

 

  #ipv6 ospf 1 area 0

 

  #no shutdown

 

  #exit

 

  #int loopback 0

 

  #ip address 2.2.2.2 255.255.255.0

 

  #ipv6 address fec0::2:1/64

 

  #ipv6 ospf 1 area 0

 

  #exit

 

  #ipv6 router ospf 1

 

  #router-id 2.2.2.2

 

  #exit