!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 ! ! CLSW ! conf t ! ipv6 unicast-routing ! int lo 0 ip address 10.0.0.2 255.255.255.255 ipv6 address fe80::2 link-local ipv6 address fd00::2/128 ! int fa 0/0 ip address 192.168.42.2 255.255.255.252 ipv6 address fe80::2 link-local no shut ! ip route 0.0.0.0 0.0.0.0 192.168.42.1 ipv6 route ::/0 fa 0/0 fe80::1 ! end wr !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 ! ! R1 ! conf t ! ipv6 unicast-routing ! int lo 0 ip address 10.1.0.2 255.255.255.255 ipv6 address fe80:11::2 link-local ipv6 address fd11::2/128 ! int fa 0/0 ip address 172.18.1.1 255.255.255.252 ipv6 address fe80:11::2 link-local no shut ! ip route 0.0.0.0 0.0.0.0 172.17.1.2 ipv6 route ::/0 fa 0/0 fe80::1 ! end wr !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 ! ! R2 ! conf t ! ipv6 unicast-routing ! int lo 0 ip address 10.2.0.2 255.255.255.255 ipv6 address fe80:22::2 link-local ipv6 address fd22::2/128 ! int fa 0/0 ip address 172.18.2.1 255.255.255.252 ipv6 address fe80:22::2 link-local no shut ! ip route 0.0.0.0 0.0.0.0 172.17.2.2 ipv6 route ::/0 fa 0/0 fe80::1 ! end wr !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 ! ! ML ! conf t ! ipv6 unicast-routing ! int lo 0 ip address 7.7.7.7 255.255.255.255 ! int fa 0/0 ip address 192.168.2.254 255.255.255.0 no shut ! end wr !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 ! ! CLR ! conf t ! ipv6 unicast-routing ! vrf definition M rd 65000:42 route-target export 65000:42 route-target import 65000:8 address-family ipv4 exit address-family ipv6 exit ! vrf definition E rd 65000:8 route-target export 65000:8 route-target import 65000:42 route-target import 65000:1 address-family ipv4 exit address-family ipv6 exit ! vrf definition G1 rd 65000:11 route-target export 65000:1 route-target import 65000:8 address-family ipv4 exit address-family ipv6 exit ! vrf definition G2 rd 65000:12 route-target export 65000:1 route-target import 65000:8 address-family ipv4 exit address-family ipv6 exit ! int lo 1 vrf forwarding G1 ip address 10.0.0.1 255.255.255.255 ipv6 address fe80::1 link-local ipv6 address fd00::1/128 ! int lo 2 vrf forwarding G2 ip address 10.0.0.1 255.255.255.255 ipv6 address fe80::1 link-local ipv6 address fd00::1/128 ! int lo 42 vrf forwarding M ip address 10.0.0.1 255.255.255.255 ipv6 address fe80::1 link-local ipv6 address fd00::1/128 ! int fa 1/0 descr -> R1 vrf forwarding G1 ip address 172.18.1.2 255.255.255.252 ipv6 address fe80::1 link-local ! int fa 1/1 descr -> R2 vrf forwarding G2 ip address 172.18.2.2 255.255.255.252 ipv6 address fe80::1 link-local ! int fa 3/0 descr -> CLSW vrf forwarding M ip address 192.168.42.1 255.255.255.252 ipv6 address fe80::1 link-local ! int fa 0/0 descr -> ML vrf forwarding E ip address 192.168.2.222 255.255.255.0 ! ip route vrf M 10.0.0.2 255.255.255.255 192.168.42.2 ip route vrf G1 10.1.0.2 255.255.255.255 172.18.1.1 ip route vrf G2 10.2.0.2 255.255.255.255 172.18.2.1 ip route vrf E 0.0.0.0 0.0.0.0 192.168.2.254 ! ipv6 route fd00::2/128 fa 3/0 fe80::2 ipv6 route fd11::2/128 fa 1/0 fe80:11::2 ipv6 route fd22::2/128 fa 1/0 fe80:22::2 ! router bgp 65000 bgp router-id 10.0.0.1 address-family ipv4 unicast vrf M network 10.0.0.2 mask 255.255.255.255 exit address-family ipv4 unicast vrf G1 network 10.1.0.2 mask 255.255.255.255 exit address-family ipv4 unicast vrf G2 network 10.2.0.2 mask 255.255.255.255 exit address-family ipv4 unicast vrf E network 0.0.0.0 exit end wr ############################################ NAT .. done .. siehe export-configs ############################################ ! conf t ! ip access-list standard PAT permit 10.0.0.0 0.255.255.255 ! ip nat inside source list PAT interface FastEthernet0/0 vrf G1 overload ip nat inside source list PAT interface FastEthernet0/0 vrf G2 overload ip nat inside source static 10.0.0.2 192.168.2.2 vrf M ! arp vrf E 192.168.2.2 ca01.9079.0000 ARPA alias ! interface FastEthernet0/0 description -> ML ip nat outside ! interface FastEthernet1/0 description -> R1 ip nat inside ! interface FastEthernet1/1 description -> R2 ip nat inside ! interface FastEthernet3/0 description -> CLSW ip nat inside ! end wr