Cisco 6to4 konfiguráció

Követelmények

6to4 anycast relay konfiguráció

  1. IPv6 routing engedélyezés a routeren
     ipv6 unicast-routing
  2. Loopback a 6to4 relay elérhetőségéhez - lehet normál interfész is
      interface Loopback0
       description 6to4 Anycast Relay Service
       ip address 192.88.99.1 255.255.255.0 secondary - IPv4 anycast relay cím
       ip address 10.10.10.10 255.255.255.255 - publikus IPv4 cím ami az IPv4 tunnel végpontja lehet
       ipv6 address 2002:0a0a:0a0a::1/128 - publikus címből képzett IPv6 cím
       ipv6 mtu 1480
       no ipv6 mfib fast - multicast nem támogattott

    Figyelem: Ne felejtsük el a BGP/OSPF router-id-t explicite konfigurálni, mert különben a route véletlenül az anycast címet vesz fel.

  3. 6to4 tunnel virtuális interface
      interface Tunnel2002
       description anycast 6to4 Relay Interface
       no ip address
       no ip redirects
       ipv6 address 2002:C058:6301::/128 anycast
       ipv6 unnumbered Loopback0
       no ipv6 mfib fast
       tunnel source Loopback0
       tunnel mode ipv6ip 6to4
       tunnel path-mtu-discovery

Relay publikálás

  1. 2002::/16 prefix publikálása BGP-vel.
      router bgp myASN
       no bgp default ipv4-unicast
       bgp log-neighbor-changes
       neighbor remotepeer_IPv6_address remote-as remoteASN
       neighbor remotepeer_IPv6_address description Peer to remoteISP
    
       address-family ipv6
       neighbor remotepeer_IPv6_address activate
       neighbor remotepeer_IPv6_address route-map remoteISP_out out
       network my_IPv6_prefix
       network 2002::/16
       exit-address-family
    
      ipv6 route 2002::/16 Null0
    
      ipv6 prefix-list 6to4_prefix seq 5 permit 2002::/16
    
      route-map remoteISP_out permit 10
       match ipv6 address prefix-list 6to4_prefix
  2. IPv4 6to4 anycast cím (192.88.99.0/24) hirdetése

Campus6: Cisco_6to4_konfiguráció (last edited 2008-09-15 08:22:44 by mohacsi)