ipv6 route ::/0 2001::2
ip route 0.0.0.0 0.0.0.0 12.1.1.2
6TO4:
R2:
route-map cisco per 10
set ip next-hop 23.1.1.2
router bgp 100
no auto-su
bgp router-id 2.2.2.2
neighbor 2002::3 remote-as 100
address-family ipv4 unicast
neighbor 2002::3 activate route-map cisco out
network 12.1.1.0 mask 255.255.255.0
R3:
route-map cisco per 10
set ip next-hop 23.1.1.3
router bgp 100
no auto-su
bgp router-id 3.3.3.3
neighbor 2002::2 remote-as 100
address-family ipv4 unicast
neighbor 2002::2 activate route-map cisco out
network 23.1.1.0 mask 255.255.255.0
4To6:
R2:
route-map 4To6 per 10
set ip next-hop 2002::2
router bgp 100
no auto-su
bgp router-id 2.2.2.2
neighbor 23.1.1.3 remote-as 100
address-family ipv6
neighbor 23.1.1.3 activate route-map 4To6 out
network 2001::/64 mask 255.255.255.0