SlideShare une entreprise Scribd logo
1  sur  25
Télécharger pour lire hors ligne
6DISS                                                                              17/05/2005




                     IPv6 router configuration
                             Port Elizabeth, South Africa 2005
                                       János Mohácsi
                                     NIIF/HUNGARNET




                                       Copy …Rights
                •   This slide set is the ownership of the 6DISS project via its
                    partners

                •   The Powerpoint version of this material may be reused and
                    modified only with written authorization

                •   Using part of this material must mention 6DISS courtesy

                •   PDF files are available from www.6diss.org




                             6DISS IPv6 workshop 2005 South Africa

                                                            2




IPv6 Workshop
6DISS                                                                 17/05/2005




                           Contributions
                • Main authors
                   – János Mohácsi, NIIF/HUNGARNET, Hungary
                   – Laurent Toutain, ENST-Bretagne – IRISA, France
                • Contributors
                   –   Octavio Medina, ENST-Bretagne, France
                   –   Mohsen Souissi, AFNIC, France
                   –   Vincent Levigneron, AFNIC, France
                   –   Thomas Noel, LSIIT, France
                   –   Alain Durand, Sun Microsystems, USA
                   –   Alain Baudot, France Telecom R&D, France
                   –   Bill Manning, ISI, USA
                   –   David Kessens, Qwest, USA
                   –   Pierre-Emmanuel Goiffon, Renater, France
                   –   Jérôme Durand, Renater, France


                 6DISS IPv6 workshop 2005 South Africa

                                                3




                Equipment Configuration
                       routers



                 6DISS IPv6 workshop 2005 South Africa

                                                4




IPv6 Workshop
6DISS                                                                                    17/05/2005




                              Equipment Configuration
                    •   CISCO
                    •   JUNIPER
                    •   6WIND
                    •   FreeBSD
                    •   Debian
                    •   Microsoft (Windows XP)
                    •   Zebra


                                      6DISS IPv6 workshop 2005 South Africa

                                                                     5




                                        Cisco IOS Roadmap:
                            IOS Release                                  Market Target
                  IOS
                upgrade     Phase I
                    =       IOS 12.2(5)T
                Free IPv6   12.2(14)S                     Early Adopter Deployment
                            Done



                            Phase II
                            Done                     Production Backbone Deployment

                            Phase III
                            ongoing
                                                          Enhanced IPv6 Services

                                      6DISS IPv6 workshop 2005 South Africa

                                                                     6




IPv6 Workshop
6DISS                                                                                                                            17/05/2005




                                      Cisco IOS IPv6 Phase I
                    •        IPv6 unicast routing                         •    Basic ACLs
                    •        ICMPv6 support
                    •        IPv6 ND                                      •    IPv6 in IPv4 tunnel
                    •        Static ND entry                              •    6to4 tunnel
                    •        SLAAC                                        •    Ethernet
                    •        Path MTU discovery                           •    ATM
                    •        CEF                                          •    FDDI
                    •        RIPng                                        •    Frame-Relay
                    •        Static Route                                 •    PPP/HDLC
                    •        IS-IS (only SP images)                       •    VLAN
                    •        BGP4+


                                        6DISS IPv6 workshop 2005 South Africa

                                                                         7




                          Phase 1 supported platforms
                •       Cisco IOS 12.2T
                         –    Cisco 800 series routers
                         –    Cisco 1400 series
                              routers
                         –    Cisco 1600 series
                              routers
                         –    Cisco 1700 series
                              routers
                         –    Cisco 2500 series
                              routers (12.2(4)T only)
                         –    Cisco 2600 series
                              routers
                                                       •   Cisco IOS 12.0ST                 •   Cisco IOS 12.2B
                         –    Cisco 3600 series
                              routers                       –   Cisco 12000 series routers       –   Cisco 7400 series routers
                         –    Cisco 4500/4700 series•      Cisco IOS 12.2S                  •   Cisco IPv6 EFT only
                              routers (12.2(2)T only)       –   Cisco 7200 series routers        –   AS5300, 5400
                         –    Cisco 7100 series             –   Cisco 7500 series routers
                              routers                       –   Cisco 7600 series routers
                         –    Cisco 7200 series                 (limited release)
                              routers                       –   Catalyst 6500 series (limited
                         –    Cisco 7500 series                 release
                              routers

                                        6DISS IPv6 workshop 2005 South Africa

                                                                         8




IPv6 Workshop
6DISS                                                                                               17/05/2005




                          Cisco IOS IPv6 Phase II
                •   i/IS-IS                                  •   SSH
                •   OSPFv3                                   •   IPv6 MIB (only vendor specific!)
                •   CEF/dCEF
                •   AAA/Dial (B train)                       •   GSR/12000 support
                •   Extended Access List                     •   Cat6k - support
                •   IPv6 over IPv4 GRE tunnels
                •   NAT-PT
                •   IPv6 Edge router (6PE) over
                    MPLS
                •   DNS AAAA client
                •   CDP



                             6DISS IPv6 workshop 2005 South Africa

                                                            9




                          Cisco IOS IPv6 Phase III
                • IPsec: Authentication                      • IPv6 Multicast: MLD,
                  required by OSPFv3,                          PIMv6 SM, PIM SSM
                  (12.3(7)T)                                 • IPv6 QoS: (Diff. Serv. &
                • Policy based routing                         RSVP)
                • Mobile IPv6:                               • Netflow v9: IPv6
                     – Home Agent prototype                    statistics such as IPv6
                     – Mobile IPv6 router                      Src/Dst addresses, AS
                     – Mobile IP Binding                       number & Bytes count
                       Association                           • Tunnels: IPv6 over IPv6,
                • Router renumbering                           IPv4 over IPv6 tunnels,
                • NetworkManagement                            ISATAP
                                                             • Hardware acceleration:
                                                               in progress
                             6DISS IPv6 workshop 2005 South Africa

                                                            10




IPv6 Workshop
6DISS                                                                                                          17/05/2005




                              Cisco IOS IPv6 Phase III/2
                      • Additional encapsulation:                     • Future
                        IPv6 over DPT, Cable and
                        DSL                                             enhancements:
                      • DHCPv6: stateless, prefix                             – EIGRP
                        delegation and relay                                  – Mobile ACL
                      • Multicast IPv6: BGP,                                    extensions - done
                        Scope, BSR                                            – HSRPv6
                      • SNMP: over IPv6                                       – Mobile IPv6
                      • IOS Firewall                                            extensions




                                      6DISS IPv6 workshop 2005 South Africa

                                                                     11




                         Cisco 12000 series router IPv6
                IPv6 Basics
                •ICMPv6                          Feature set on 12.0(25)S                      CY03
                • ND – including static
                entries
                • Stateless Auto-config.    IPv6 Hardware Assistance
                                            • Engine 3 Line Cards                            • Multicast
                • ACL
                                                  4 x GE                                     •IS-IS MT
                • MIBs, SSH, Telnet
                • DNS, TFTP                       ATM OC-12                                           26S
                 Routing protocols                POS OC-3, OC-12, OC-48
                • RIPng, IS-IS for          • Standard & Extended ACL
                IPv6, OSPFv3, MP-                 Including simultaneous IPv6
                BGP4                              Option Headers & UDP/TCP
                IPv6 Tunnels                      port parsing
                • distributed on Line       • IPv6 Provider Edge (6PE) over
                                                                                                       Radar
                cards or Tunnel Card        MPLS
                 Switching                  • up to 3.8Mpps per LC
                • dCEFv6
                • 6PE (IPv6 over
                MPLS)

                                      6DISS IPv6 workshop 2005 South Africa

                                                                     12




IPv6 Workshop
6DISS                                                                                                     17/05/2005




                       Cisco 7600/Cat. 6500 series IPv6
                 IPv6 Basics
                 • ICMPv6                           Feature set on 12.2SX                 FY04
                 • ND – including static
                 entries
                 • Stateless Auto-config.      IPv6 Hardware Assistance
                                               • Supervisor Engine 720                  • Multicast
                 • ACL
                                                    •IPv6 hardware assisted             • IS-IS MT
                 • MIBs, SSH, Telnet
                                                    forwarding                          • OSPFv3
                 • DNS, TFTP
                  Routing protocols                 • native IPv6 - + 20Mpps               Sync with
                 • RIPng, IS-IS for                 • IPv6 over IPv4 tunnels - 10Mpps      12.2S RLS3 -
                 IPv6, MP-BGP4                 • dCEF720 (PFC3) modules                    12.2(17b)SXA
                 IPv6 Tunnels                       • ie: 10GE
                 • Configured,                      • +200 Mpps
                 automatic, GRE, 6to4,
                 ISATAP                                                                   Sup.2/MSFC2
                  Switching                                                                 Software
                 • CEFv6                                                                   Forwarding
                 • 6PE (IPv6 over
                 MPLS)

                                         6DISS IPv6 workshop 2005 South Africa

                                                                        13




                       Cisco Catalyst 3750 Series Switches

                                Feature set inherited from 12.2S in CY05

                                               IPv6 Hardware Assistance
                12.1E release based at         • Investment protection
                FCS
                Update to 12.2S later,                                                   Requires
                adding IPv6 support                                                      extra
                                                                                         license




                                         6DISS IPv6 workshop 2005 South Africa

                                                                        14




IPv6 Workshop
6DISS                                                                   17/05/2005




                     CISCO configuration - basics
                • Enable IPv6 on an interface
                  interface xxxxx
                    ipv6 enable

                • Configure an address
                  interface xxxxx
                    ipv6 address X:X:X:X::X/<0-128> (general address)
                    ipv6 address X:X:X:X::X (link-local address)
                    ipv6 address autoconfig (auto-configuration)
                • e.g. LAN Interface
                  interface Ethernet0/0
                      ip address 192.168.1.254 255.255.255.0
                      ipv6 address 2001:db8:123:1::2/64



                           6DISS IPv6 workshop 2005 South Africa

                                                          15




                      CISCO configuration - tunnel

                  • Configure an IPv6 in IPv4 tunnel
                     interface tunnel x
                       tunnel source interface
                       tunnel destination X.X.X.X
                       ipv6 address X:X:X:X::X/<0-128>
                       tunnel mode ipv6ip (for direct tunneling)
                       tunnel mode gre ip (for gre encapsulation)




                           6DISS IPv6 workshop 2005 South Africa

                                                          16




IPv6 Workshop
6DISS                                                              17/05/2005




                 CISCO configuration – tunnel2

                • Configure an IPv6 in IPv6 tunnel
                  interface tunnel x
                    tunnel source interface
                    tunnel destination X:X:X:X::X
                    ipv6 address X:X:X:X::X/<0-128>
                    tunnel mode ipv6 (for direct tunneling)
                    tunnel mode gre ipv6 (for gre encapsulation)




                        6DISS IPv6 workshop 2005 South Africa

                                                       17




                  CISCO configuration - routing

                • Enable IPv6 routing
                  ipv6 unicast-routing

                • Configure static routes
                  ipv6 route prefix/prefixlen next_hop
                  Ex: ipv6 route ::/0 2001:db8:10a:1001::1




                        6DISS IPv6 workshop 2005 South Africa

                                                       18




IPv6 Workshop
6DISS                                                                                     17/05/2005




                  Cisco configuration – OSPFv3
                                                                     Area 1
                interface Ethernet0/0
                ipv6 address 2001:db8:1:1::1/64
                ipv6 ospf 1 area 0
                !
                interface Ethernet0/1
                ipv6 address 2001:db8:1:2::2/64                               Eth0/1
                ipv6 ospf 1 area 1
                !                                                                   ABR
                ipv6 router ospf 1                                Eth0/0
                router-id 2.2.2.2




                                                                           Area 0

                          6DISS IPv6 workshop 2005 South Africa

                                                         19




                     CISCO configuration - BGP

                • BGP configuration
                   no bgp4 default unicast
                   bgp router-id a.b.d.f
                   router bgp xxxx
                     neighbor X:X:X:X::X remote-as …
                     neighbor X:X:X:X::X …
                       address-family ipv6
                             neighbor X:X:X:X::X activate
                             neighbor X:X:X:X::X …
                      network 2001:db8::/32
                      no synchronization
                     exit address-family


                          6DISS IPv6 workshop 2005 South Africa

                                                         20




IPv6 Workshop
6DISS                                                                                                17/05/2005




                  CISCO configuration – policy filtering

                • Routing policy filtering
                ipv6 prefix-list bgp-in-6net seq 5 deny ::/0
                  -> Means filter ::/0 exactly
                ipv6   prefix-list   bgp-in-6net      seq   10   deny 3FFE:300::/24 le 28
                ipv6   prefix-list   bgp-in-6net      seq   15   deny 2001:db8::/35 le 41
                ipv6   prefix-list   bgp-in-6net      seq   20   permit 2002::/16
                ipv6   prefix-list   bgp-in-6net      seq   25   permit 3FFE::/17 ge 24 le 24
                ipv6   prefix-list   bgp-in-6net      seq   30   permit 3FFE:8000::/17 ge 28 le 28
                  -> Means every prefix matching 3FFE:8000::/17 with length 28
                ipv6 prefix-list bgp-in-6net seq 35 permit 3FFE:4000::/18 ge 32 le 32
                ipv6 prefix-list bgp-in-6net seq 40 permit 2001::/16 ge 32 le 35
                  -> Means every 2001::/16 derived prefix, with length between 32 and 35


                                 6DISS IPv6 workshop 2005 South Africa

                                                                 21




                           Cisco configuration - ACLs
                   • ACL
                        ipv6 access-list vty-ipv6
                           permit tcp 2001:db8:0:401::/64 any eq telnet
                           deny ipv6 any any log-input

                   • Applying an ACL to an interface
                        ipv6 traffic-filter <acl_name> in | out

                   • Restricting access to the router
                        ipv6 access-class <acl_name> in | out

                   • Applying an ACL to filter debug traffic
                        debug ipv6 packet [access-list <acl_name>]
                          [detail]

                                 6DISS IPv6 workshop 2005 South Africa

                                                                 22




IPv6 Workshop
6DISS                                                                17/05/2005




                        Cisco Show Commands

                • show bgp
                • show bgp ipv6 unicast/multicast/all summary
                • show bgp ipv6 neigh <addr> routes
                • show bgp ipv6 neigh <addr> advertised-routes
                • show bgp ipv6 neigh <addr> received-routes
                • show ipv6 route
                • show ipv6 interface
                • show ipv6 neighbors




                             6DISS IPv6 workshop 2005 South Africa

                                                            23




                                  Cisco references

                 • http://www.cisco.com/en/US/products
                   /ps6553/products_ios_technology_hom
                   e.html




                             6DISS IPv6 workshop 2005 South Africa

                                                            24




IPv6 Workshop
6DISS                                                                 17/05/2005




                     Juniper IPv6 support - now
                • No Special code, uniform on all platform
                • Addressing and forwarding
                   – H/W forwarding
                   – Addressing (link, global, Neighbour discovery)
                   – Stateless autoconfiguration
                • Routing
                   – BGP4+, IS-IS, OSPFv3, RIPng, Static
                • Operation
                   – telnet, ssh, ping traceroute,ICMPv6
                   – H/W based firewall filter
                   – uRPF check
                • Deployment
                   – Dualstack, configured tunnel, L3 MPLS VPN

                            6DISS IPv6 workshop 2005 South Africa

                                                           25




                Juniper IPv6 support –now+future

                 • IPv6 Multicast: BGP, PIMv2 support with
                   RP support, SSM (now)
                 • EBGP peering with linklocal address -
                   simplification for IPv6 IX (now)
                 • IPv6 over MPLS (now)
                 • IPv6 flow monitoring



                            6DISS IPv6 workshop 2005 South Africa

                                                           26




IPv6 Workshop
6DISS                                                                                    17/05/2005




                              Juniper configuration - basics

                •         Interface configuration
                interfaces {
                   name_of_interface {
                        unit x {
                             family inet {
                                 address X.X.X.X/prefixlength;
                             }
                             family iso {
                                 address Y.Y.Y.Y.Y.Y;
                             }
                             family inet6 {
                                 address Z:Z:Z:Z::Z/prefixlength;


                •         Cannot autoconfigure the router interfaces

                                          6DISS IPv6 workshop 2005 South Africa

                                                                         27




                             Juniper configuration - tunnels
                    •     Router advertisements (stateless autoconf)
                    protocols {
                        router-advertisement {
                            interface interface-name {
                                prefix IPv6_prefix::/prefix_length;
                    •     Configure tunnel (with Tunnel PIC)
                    interface{
                        ip-x/x/x {
                               tunnel {
                                           source ipv4_source_address;
                                           destination ipv4_destination_address;
                                           }
                                family inet6 {
                                           address ipv6_address_in_tunnel/prefixlength
                          gr-x/y/z {
                               unit 0 {...}}

                    }}}




                                          6DISS IPv6 workshop 2005 South Africa

                                                                         28




IPv6 Workshop
6DISS                                                                                 17/05/2005




                 Juniper configuration – static routing

                • Static routes
                routing-options {
                   rib inet6.0 { -> Means IPv6 unicast routing table
                        static {
                                route IPv6_prefix next-hop IPv6_address;
                        }

                routing-options {
                   rib inet6.0 {
                        static {
                                route IPv6_prefix discard; -> Useful to originate a
                   network
                        }


                              6DISS IPv6 workshop 2005 South Africa

                                                             29




                       Juniper configuration - OSPFv3
                   protocols {
                       ospf3 {
                           preference 20;
                           area 0.0.0.0 {
                               interface ge-0/3/0.808 {
                                   metric 100;
                               }
                               interface lo0.0 {
                                   passive;
                               }
                           }
                       }
                   }
                              6DISS IPv6 workshop 2005 South Africa

                                                             30




IPv6 Workshop
6DISS                                                                                        17/05/2005




                        Juniper configuration - BGP

                • BGP configuration
                brotocols {
                   bgp {
                        local-as local_AS_number;
                        group EBGP_peers {
                                type external;
                                family inet6 {
                                        (any | multicast | unicast) }
                                neighbor neighbor_IPv6_address;
                                        peer-as distant_AS_number;
                                        import in-PS;
                                        export out-PS; }



                               6DISS IPv6 workshop 2005 South Africa

                                                              31




                 Juniper configuration – policy routing

                • Policy statements
                policy-statement in-PS {
                   term from_outside_accept       {
                        from {
                               route-filter       2002::/16 exact;
                               route-filter       3FFE::/17 prefix-length-range /24-/24;
                               route-filter       3FFE:8000::/17 prefix-length-range /28-
                   /28;
                               route-filter       3FFE:4000::/18 prefix-length-range /32-
                   /32;
                               route-filter       2000::/3 prefix-length-range /16-/16;
                               route-filter       2001::/16 prefix-length-range /29-/35; }
                        then {
                               accept; }
                   then reject; }
                               6DISS IPv6 workshop 2005 South Africa

                                                              32




IPv6 Workshop
6DISS                                                                           17/05/2005




                       Juniper Show Commands

                show bgp summary
                show route advert bgp <addr>
                show route rece bgp <addr>
                show route table inet6.0 (terse)
                show interfaces
                show ipv6 neighbors




                            6DISS IPv6 workshop 2005 South Africa

                                                           33




                                              6WIND

                 Interface Configuration
                 • Enter Ethernet Private Interface Context
                    hurricane{myconfig} eth0_0
                    hurricane{myconfig-eth0_0}


                 • Set IP Address
                    hurricane{myconfig-eth0_0} ipaddress 10.0.0.10/24
                    hurricane{myconfig-eth0_0} ipaddress 3ffe:10::beef/48


                 • Advertise an IPv6 prefix
                    hurricane{myconfig-eth0_0} prefix 3ffe:10::beef:f00d::/64




                            6DISS IPv6 workshop 2005 South Africa

                                                           34




IPv6 Workshop
6DISS                                                                                               17/05/2005




                                          6WIND (2)

                Migration configuration
                •   Enter Migration Context
                    hurricane{myconfig} mig
                    hurricane{myconfig-mig}


                •   Create 6in4 interface
                    hurricane{myconfig-mig} 6in4             0       1.1.1.10     1.1.1.20
                    3ffe:1::10 3ffe:1::20
                •   Create 4in6 interface
                    hurricane{myconfig-mig} 4in6             0       3ffe:1::10     3ffe:1::20
                    1.1.1.10 1.1.1.20
                •   Create 6to4 interface
                    hurricane{myconfig-mig} 6to4                 1.1.1.10



                             6DISS IPv6 workshop 2005 South Africa

                                                            35




                                          6WIND (3)

                Migration configuration
                •   Create ISATAP interface
                    hurricane{myconfig-mig} isatap_router                   0   10.0.0.10
                    hurricane{myconfig-mig} isatap_prefix                   0   2002:101:10a::/64


                •   Create DSTM interface
                    hurricane{myconfig-mig} dstm eth0_0




                             6DISS IPv6 workshop 2005 South Africa

                                                            36




IPv6 Workshop
6DISS                                                                       17/05/2005




                                       6WIND (4)

                Static Routing Configuration
                • Enter Routing Context
                  hurricane{myconfig} rtg
                  hurricane{myconfig-rtg}


                • Set IP Default Route
                  hurricane{myconfig-rtg} ipv4_defaultroute 1.1.1.20
                  hurricane{myconfig-rtg} ipv6_defaultroute 3ffe:1::20

                • Set static route
                  hurricane{myconfig-rtg} route 30.0.0.0/24 3.3.3.30
                  hurricane{myconfig-rtg} route 3ffe:30::/48 3ffe:3::30



                          6DISS IPv6 workshop 2005 South Africa

                                                         37




                                       6WIND (5)

                Dynamic Routing Configuration RIP
                • Enter Dynamic Routing Context
                  hurricane{myconfig-rtg} dynamic
                  hurricane{myconfig-rtg-dynamic}


                • Activate RIP Routing Process
                  hurricane{myconfig-rtg-dynamic} router rip
                  hurricane{myconfig-rtg-dynamic-router-rip} network
                  1.1.1.0/24
                  hurricane{myconfig-rtg-dynamic-router-rip} network
                  3.3.3.0/24
                  hurricane{myconfig-rtg-dynamic-router-rip} redistribute
                  connected



                          6DISS IPv6 workshop 2005 South Africa

                                                         38




IPv6 Workshop
6DISS                                                                                   17/05/2005




                                          6WIND (6)
                Dynamic Routing Configuration BGP4+
                •   Enter Dynamic Routing Context
                    hurricane{myconfig-rtg} dynamic
                    hurricane{myconfig-rtg-dynamic}
                •   Activate BGP4+ Routing Process
                    hurricane{myconfig-rtg-dynamic} router bgp 10
                    hurricane{myconfig-rtg-dynamic-router-bgp} neighbor 3ffe:1::20
                    remote-as 20
                    hurricane{myconfig-rtg-dynamic-router-bgp} neighbor 3ffe:3::30
                    remote-as 30
                    hurricane{myconfig-rtg-dynamic-router-bgp} address-family ipv6
                    hurricane{myconfig-rtg-dynamic-router-bgp-v6} neighbor 3ffe:1::20
                    activate
                    hurricane{myconfig-rtg-dynamic-router-bgp-v6} neighbor 3ffe:3::30
                    activate
                    hurricane{myconfig-rtg-dynamic-router-bgp-v6} redistribute
                    connected




                             6DISS IPv6 workshop 2005 South Africa

                                                            39




                                             FreeBSD

                • Enable IPv6
                     ipv6_enable="YES"       in /etc/rc.conf file
                • Autoconfiguration is automatically done
                  while the gateway function is off
                • Enable IPv6 forwarding
                     ipv6_gateway_enable="YES"           in rc.conf file
                • Add an IPv6 address on an interface
                    ifconfig interface inet6 X:X:X:X::X prefixlen 64




                             6DISS IPv6 workshop 2005 South Africa

                                                            40




IPv6 Workshop
6DISS                                                                         17/05/2005




                                     FreeBSD (2)

                • Configure an IPv6 in IPv4 tunnel
                  ifconfig gif1 create
                  ifconfig gif1 inet6 @IPv6_source @IPv6_dest prefixlen 128
                  gifconfig gif1 inet @IPv4_source @IPv4_dest
                  ifconfig gif1 up

                • Configure an IPv6 in IPv6 tunnel
                  ifconfig gif1 create
                  ifconfig gif1 inet6 @IPv6_source @IPv6_dest prefixlen 128
                  gifconfig gif1 inet6 @IPv6_source @IPv6_dest
                  ifconfig gif1 up




                          6DISS IPv6 workshop 2005 South Africa

                                                         41




                                     FreeBSD (3)

                • Configure a static route
                  – Default route
                  route add -inet6 default fe80::X:X:X:X%interface
                  route add -inet6 default X:X:X:X::X (if global address)
                  – Others
                  route add –inet6 X:X:X:X:: -prefixlen YY X:X:X:X::X
                  route add –inet6 X:X:X:X:: -prefixlen YY
                  fe80::X:X:X:X%interface

                • %interface         notation
                     If link-local address, need to specify on which
                     interface the address is available


                          6DISS IPv6 workshop 2005 South Africa

                                                         42




IPv6 Workshop
6DISS                                                                          17/05/2005




                                       FreeBSD (4)

                • RIPng: route6d daemon
                  route6d
                    -L IPv6_prefix,interface (receives only prefixes derived
                    from IPv6_prefix on interface interface)




                            6DISS IPv6 workshop 2005 South Africa

                                                           43




                                       FreeBSD (5)

                • BGB: bgpd daemon
                • Better to use Zebra BGP daemon




                            6DISS IPv6 workshop 2005 South Africa

                                                           44




IPv6 Workshop
6DISS                                                           17/05/2005




                                           Debian

                • Main URL:
                  http://people.debian.org/~csmall/ipv6/

                • Enable IPv6
                  – Put "ipv6" in "/etc/modules"
                  – Edit "/etc/network/interfaces" :
                     iface eth0 inet6 static
                        address 2001:XXXX:YYYY:ZZZZ::1
                        netmask 64



                        6DISS IPv6 workshop 2005 South Africa

                                                       45




                                      Debian (2)

                • Tunnel configuration
                  – Edit "/etc/network/interfaces" :
                     iface tun0 inet6 v4tunnel
                         endpoint A.B.C.D
                         address 2001:XXXX:1:YYYY::2
                         gateway 2001:XXXX:1:YYYY::1
                         netmask 64




                        6DISS IPv6 workshop 2005 South Africa

                                                       46




IPv6 Workshop
6DISS                                                              17/05/2005




                                         Debian (3)
                • RA configuration on a Debian router
                   – Add in "/etc/radvd.conf" :
                   interface eth0
                   {
                       AdvSendAdvert on;
                       AdvLinkMTU 1472;
                       prefix 2001:XXXX:YYYY:ZZZZ:/64
                       {
                           AdvOnLink on;
                           AdvPreferredLifetime 3600;
                           AdvValidLifetime 7200;
                       };
                   };



                           6DISS IPv6 workshop 2005 South Africa

                                                          47




                       Microsoft (Windows XP)

                • Enable IPv6
                       ipv6 install in a dos window

                • Auto-configuration is then performed
                • Display IPv6 interfaces
                       ipv6 if

                • Display IPv6 routes
                       ipv6 rt




                           6DISS IPv6 workshop 2005 South Africa

                                                          48




IPv6 Workshop
6DISS                                                                       17/05/2005




                   Microsoft (Windows XP) (2)

                • Add a static route
                    ipv6 rtu prefix ifindex[/address] [life valid[/pref]]
                    [preference P] [publish] [age] [spl Site Prefix Size]

                • Anonymous addresses
                    ipv6 gpu UseAnonymousAddresses no




                • « User-friendly » IPv6 configuration
                    netsh in a dos window
                     > interface ipv6



                        6DISS IPv6 workshop 2005 South Africa

                                                       49




                                            Zebra

                • Cisco like commands
                • BGP, RIPng, OSPF available




                        6DISS IPv6 workshop 2005 South Africa

                                                       50




IPv6 Workshop

Contenu connexe

Tendances

Cameron - TMO IPv6 Norway Meeting
Cameron - TMO  IPv6 Norway MeetingCameron - TMO  IPv6 Norway Meeting
Cameron - TMO IPv6 Norway MeetingIPv6no
 
Possible futures for the internet: Sander Steffann, IPv6 specialist, co-chair...
Possible futures for the internet: Sander Steffann, IPv6 specialist, co-chair...Possible futures for the internet: Sander Steffann, IPv6 specialist, co-chair...
Possible futures for the internet: Sander Steffann, IPv6 specialist, co-chair...IPv6no
 
Внутренняя архитектура IOS-XE: средства траблшутинга предачи трафика на ASR1k...
Внутренняя архитектура IOS-XE: средства траблшутинга предачи трафика на ASR1k...Внутренняя архитектура IOS-XE: средства траблшутинга предачи трафика на ASR1k...
Внутренняя архитектура IOS-XE: средства траблшутинга предачи трафика на ASR1k...Cisco Russia
 
Vyatta Subscription Edition 6.5 R1 Testing and Analysis
Vyatta Subscription Edition 6.5 R1 Testing and AnalysisVyatta Subscription Edition 6.5 R1 Testing and Analysis
Vyatta Subscription Edition 6.5 R1 Testing and AnalysisRouter Analysis, Inc.
 
Hands-on Experience with IPv6 Routing and Services
Hands-on Experience with IPv6 Routing and ServicesHands-on Experience with IPv6 Routing and Services
Hands-on Experience with IPv6 Routing and ServicesCisco Canada
 
Data Center: Cloud & Convergencia
Data Center: Cloud & ConvergenciaData Center: Cloud & Convergencia
Data Center: Cloud & ConvergenciaLogicalis Latam
 

Tendances (8)

Cameron - TMO IPv6 Norway Meeting
Cameron - TMO  IPv6 Norway MeetingCameron - TMO  IPv6 Norway Meeting
Cameron - TMO IPv6 Norway Meeting
 
implementing IPv6 in an ISP network, case study and lessons learned - Amos Ro...
implementing IPv6 in an ISP network, case study and lessons learned - Amos Ro...implementing IPv6 in an ISP network, case study and lessons learned - Amos Ro...
implementing IPv6 in an ISP network, case study and lessons learned - Amos Ro...
 
Possible futures for the internet: Sander Steffann, IPv6 specialist, co-chair...
Possible futures for the internet: Sander Steffann, IPv6 specialist, co-chair...Possible futures for the internet: Sander Steffann, IPv6 specialist, co-chair...
Possible futures for the internet: Sander Steffann, IPv6 specialist, co-chair...
 
Внутренняя архитектура IOS-XE: средства траблшутинга предачи трафика на ASR1k...
Внутренняя архитектура IOS-XE: средства траблшутинга предачи трафика на ASR1k...Внутренняя архитектура IOS-XE: средства траблшутинга предачи трафика на ASR1k...
Внутренняя архитектура IOS-XE: средства траблшутинга предачи трафика на ASR1k...
 
Dont Get Caught With Your Layers Down
Dont Get Caught With Your Layers DownDont Get Caught With Your Layers Down
Dont Get Caught With Your Layers Down
 
Vyatta Subscription Edition 6.5 R1 Testing and Analysis
Vyatta Subscription Edition 6.5 R1 Testing and AnalysisVyatta Subscription Edition 6.5 R1 Testing and Analysis
Vyatta Subscription Edition 6.5 R1 Testing and Analysis
 
Hands-on Experience with IPv6 Routing and Services
Hands-on Experience with IPv6 Routing and ServicesHands-on Experience with IPv6 Routing and Services
Hands-on Experience with IPv6 Routing and Services
 
Data Center: Cloud & Convergencia
Data Center: Cloud & ConvergenciaData Center: Cloud & Convergencia
Data Center: Cloud & Convergencia
 

En vedette

Effective intellitrace Debugging with VS 11
Effective intellitrace Debugging with VS 11Effective intellitrace Debugging with VS 11
Effective intellitrace Debugging with VS 11Abhijit Jana
 
Simply bb-customer-router-setup
Simply bb-customer-router-setupSimply bb-customer-router-setup
Simply bb-customer-router-setup97148881557
 
Tune Your ASP.NET Application Using Visual Studio 2010 Profiler
Tune Your ASP.NET Application Using Visual Studio 2010 ProfilerTune Your ASP.NET Application Using Visual Studio 2010 Profiler
Tune Your ASP.NET Application Using Visual Studio 2010 ProfilerAbhijit Jana
 
Application Insights - Real time telemetry for your cross platform applications
Application Insights - Real time telemetry for your cross platform applicationsApplication Insights - Real time telemetry for your cross platform applications
Application Insights - Real time telemetry for your cross platform applicationsAbhijit Jana
 
What’s new in Visual Studio 2010 debugging
What’s new in Visual Studio 2010 debuggingWhat’s new in Visual Studio 2010 debugging
What’s new in Visual Studio 2010 debuggingGreg Sohl
 
Analyzing .Net Application Memory Usage And Issues
Analyzing .Net Application Memory Usage And IssuesAnalyzing .Net Application Memory Usage And Issues
Analyzing .Net Application Memory Usage And IssuesGreg Sohl
 
TUTORIAL GOOGLE DRIVE
TUTORIAL GOOGLE DRIVETUTORIAL GOOGLE DRIVE
TUTORIAL GOOGLE DRIVEadriana2337
 
GNATcoverage/GNATemulator launch
GNATcoverage/GNATemulator launchGNATcoverage/GNATemulator launch
GNATcoverage/GNATemulator launchAdaCore
 
Atividades na recuperação da fratura de fêmur da Maria
Atividades na recuperação da fratura de fêmur da MariaAtividades na recuperação da fratura de fêmur da Maria
Atividades na recuperação da fratura de fêmur da MariaAnelise Beatriz Gamba
 
Portfólio de Avaliação atividade 3
Portfólio de Avaliação   atividade 3Portfólio de Avaliação   atividade 3
Portfólio de Avaliação atividade 3Anelise Beatriz Gamba
 
A lap around visual studio 2015 and c sharp
A lap around visual studio 2015 and c sharpA lap around visual studio 2015 and c sharp
A lap around visual studio 2015 and c sharpAbhijit Jana
 
Premios de cine internacionales
Premios de cine internacionalesPremios de cine internacionales
Premios de cine internacionalesCotu Malmierca
 
William blake
William blakeWilliam blake
William blakevasigusan
 
Vino español
Vino españolVino español
Vino españolmaherran
 
εισήγηση σχολική βία
εισήγηση σχολική βίαεισήγηση σχολική βία
εισήγηση σχολική βίαNZAL
 
Tarifs de publicité TÊTU 2011 1ère version - Jean Louis Roux-Fouillet
Tarifs de publicité TÊTU 2011 1ère version - Jean Louis Roux-FouilletTarifs de publicité TÊTU 2011 1ère version - Jean Louis Roux-Fouillet
Tarifs de publicité TÊTU 2011 1ère version - Jean Louis Roux-FouilletTÊTUNEWZY
 
Cableado estructurado
Cableado estructuradoCableado estructurado
Cableado estructuradoBombys89
 

En vedette (20)

Effective intellitrace Debugging with VS 11
Effective intellitrace Debugging with VS 11Effective intellitrace Debugging with VS 11
Effective intellitrace Debugging with VS 11
 
Simply bb-customer-router-setup
Simply bb-customer-router-setupSimply bb-customer-router-setup
Simply bb-customer-router-setup
 
Rtr config
Rtr configRtr config
Rtr config
 
Tune Your ASP.NET Application Using Visual Studio 2010 Profiler
Tune Your ASP.NET Application Using Visual Studio 2010 ProfilerTune Your ASP.NET Application Using Visual Studio 2010 Profiler
Tune Your ASP.NET Application Using Visual Studio 2010 Profiler
 
Application Insights - Real time telemetry for your cross platform applications
Application Insights - Real time telemetry for your cross platform applicationsApplication Insights - Real time telemetry for your cross platform applications
Application Insights - Real time telemetry for your cross platform applications
 
What’s new in Visual Studio 2010 debugging
What’s new in Visual Studio 2010 debuggingWhat’s new in Visual Studio 2010 debugging
What’s new in Visual Studio 2010 debugging
 
Analyzing .Net Application Memory Usage And Issues
Analyzing .Net Application Memory Usage And IssuesAnalyzing .Net Application Memory Usage And Issues
Analyzing .Net Application Memory Usage And Issues
 
TUTORIAL GOOGLE DRIVE
TUTORIAL GOOGLE DRIVETUTORIAL GOOGLE DRIVE
TUTORIAL GOOGLE DRIVE
 
GNATcoverage/GNATemulator launch
GNATcoverage/GNATemulator launchGNATcoverage/GNATemulator launch
GNATcoverage/GNATemulator launch
 
Atividades na recuperação da fratura de fêmur da Maria
Atividades na recuperação da fratura de fêmur da MariaAtividades na recuperação da fratura de fêmur da Maria
Atividades na recuperação da fratura de fêmur da Maria
 
Portfólio de Avaliação atividade 3
Portfólio de Avaliação   atividade 3Portfólio de Avaliação   atividade 3
Portfólio de Avaliação atividade 3
 
A lap around visual studio 2015 and c sharp
A lap around visual studio 2015 and c sharpA lap around visual studio 2015 and c sharp
A lap around visual studio 2015 and c sharp
 
Woman seek present2
Woman seek present2Woman seek present2
Woman seek present2
 
Orientación
OrientaciónOrientación
Orientación
 
Premios de cine internacionales
Premios de cine internacionalesPremios de cine internacionales
Premios de cine internacionales
 
William blake
William blakeWilliam blake
William blake
 
Vino español
Vino españolVino español
Vino español
 
εισήγηση σχολική βία
εισήγηση σχολική βίαεισήγηση σχολική βία
εισήγηση σχολική βία
 
Tarifs de publicité TÊTU 2011 1ère version - Jean Louis Roux-Fouillet
Tarifs de publicité TÊTU 2011 1ère version - Jean Louis Roux-FouilletTarifs de publicité TÊTU 2011 1ère version - Jean Louis Roux-Fouillet
Tarifs de publicité TÊTU 2011 1ère version - Jean Louis Roux-Fouillet
 
Cableado estructurado
Cableado estructuradoCableado estructurado
Cableado estructurado
 

Similaire à Router configuration(1)

IPv6 Development in ITB 2013
IPv6 Development in ITB 2013IPv6 Development in ITB 2013
IPv6 Development in ITB 2013Affan Basalamah
 
Microsoft IT's IPv6 Killer App
Microsoft IT's IPv6 Killer AppMicrosoft IT's IPv6 Killer App
Microsoft IT's IPv6 Killer AppOliver Müller
 
6. IPv6 Internetzugang für Privatkunden: Die Lösung von Swisscom - Martin Gysi
6. IPv6 Internetzugang für Privatkunden: Die Lösung von Swisscom - Martin Gysi6. IPv6 Internetzugang für Privatkunden: Die Lösung von Swisscom - Martin Gysi
6. IPv6 Internetzugang für Privatkunden: Die Lösung von Swisscom - Martin GysiDigicomp Academy AG
 
ARIN 36 IETF IPv6 Activities Report
ARIN 36 IETF IPv6 Activities ReportARIN 36 IETF IPv6 Activities Report
ARIN 36 IETF IPv6 Activities ReportARIN
 
4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet
4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet
4. IPv6 Security - Workshop mit Live Demo - Marco Senn FortinetDigicomp Academy AG
 
IPv6 Security - Workshop mit Live Demo
IPv6 Security - Workshop mit Live DemoIPv6 Security - Workshop mit Live Demo
IPv6 Security - Workshop mit Live DemoDigicomp Academy AG
 
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only BuildingSwiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only BuildingDigicomp Academy AG
 
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...gogo6
 
IPv6 infrastructure and multicasting status report
IPv6 infrastructure and multicasting status reportIPv6 infrastructure and multicasting status report
IPv6 infrastructure and multicasting status reportEthern Lin
 
IPv6 on the Cisco Campus
IPv6 on the Cisco CampusIPv6 on the Cisco Campus
IPv6 on the Cisco CampusAPNIC
 
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...Cisco Canada
 
IPv6 experience from a large enterprise - Networkshop44
IPv6 experience from a large enterprise - Networkshop44IPv6 experience from a large enterprise - Networkshop44
IPv6 experience from a large enterprise - Networkshop44Jisc
 
AutoIP -A mechanism for IPv6 migration and IPv4 sunsetting by Shishio Tsuchiy...
AutoIP -A mechanism for IPv6 migration and IPv4 sunsetting by Shishio Tsuchiy...AutoIP -A mechanism for IPv6 migration and IPv4 sunsetting by Shishio Tsuchiy...
AutoIP -A mechanism for IPv6 migration and IPv4 sunsetting by Shishio Tsuchiy...APNIC
 
ipv6 mpls by Patrick Grossetete
ipv6 mpls by Patrick Grosseteteipv6 mpls by Patrick Grossetete
ipv6 mpls by Patrick GrosseteteFebrian ‎
 
Rapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksRapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksSkeeve Stevens
 

Similaire à Router configuration(1) (20)

IPv6 Development in ITB 2013
IPv6 Development in ITB 2013IPv6 Development in ITB 2013
IPv6 Development in ITB 2013
 
mpls CNNA.pdf
mpls CNNA.pdfmpls CNNA.pdf
mpls CNNA.pdf
 
Microsoft IT's IPv6 Killer App
Microsoft IT's IPv6 Killer AppMicrosoft IT's IPv6 Killer App
Microsoft IT's IPv6 Killer App
 
6. IPv6 Internetzugang für Privatkunden: Die Lösung von Swisscom - Martin Gysi
6. IPv6 Internetzugang für Privatkunden: Die Lösung von Swisscom - Martin Gysi6. IPv6 Internetzugang für Privatkunden: Die Lösung von Swisscom - Martin Gysi
6. IPv6 Internetzugang für Privatkunden: Die Lösung von Swisscom - Martin Gysi
 
6Rd
6Rd6Rd
6Rd
 
Presd1 09
Presd1 09Presd1 09
Presd1 09
 
IPv6 training guide - Yuval Shaul
IPv6 training guide - Yuval ShaulIPv6 training guide - Yuval Shaul
IPv6 training guide - Yuval Shaul
 
ARIN 36 IETF IPv6 Activities Report
ARIN 36 IETF IPv6 Activities ReportARIN 36 IETF IPv6 Activities Report
ARIN 36 IETF IPv6 Activities Report
 
4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet
4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet
4. IPv6 Security - Workshop mit Live Demo - Marco Senn Fortinet
 
IPv6 Security - Workshop mit Live Demo
IPv6 Security - Workshop mit Live DemoIPv6 Security - Workshop mit Live Demo
IPv6 Security - Workshop mit Live Demo
 
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only BuildingSwiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
 
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
 
IPv6 infrastructure and multicasting status report
IPv6 infrastructure and multicasting status reportIPv6 infrastructure and multicasting status report
IPv6 infrastructure and multicasting status report
 
IPv6 on the Cisco Campus
IPv6 on the Cisco CampusIPv6 on the Cisco Campus
IPv6 on the Cisco Campus
 
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...
Cisco Connect Montreal 2017 - Segment Routing - Technology Deep-dive and Adva...
 
IPv6 experience from a large enterprise - Networkshop44
IPv6 experience from a large enterprise - Networkshop44IPv6 experience from a large enterprise - Networkshop44
IPv6 experience from a large enterprise - Networkshop44
 
AutoIP -A mechanism for IPv6 migration and IPv4 sunsetting by Shishio Tsuchiy...
AutoIP -A mechanism for IPv6 migration and IPv4 sunsetting by Shishio Tsuchiy...AutoIP -A mechanism for IPv6 migration and IPv4 sunsetting by Shishio Tsuchiy...
AutoIP -A mechanism for IPv6 migration and IPv4 sunsetting by Shishio Tsuchiy...
 
ipv6 mpls by Patrick Grossetete
ipv6 mpls by Patrick Grosseteteipv6 mpls by Patrick Grossetete
ipv6 mpls by Patrick Grossetete
 
Rapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksRapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP Networks
 
Routing
RoutingRouting
Routing
 

Plus de 97148881557

03 router-configuration
03 router-configuration03 router-configuration
03 router-configuration97148881557
 
Wisp mode aprouter
Wisp mode aprouterWisp mode aprouter
Wisp mode aprouter97148881557
 
Wireless router setupmanual
Wireless router setupmanualWireless router setupmanual
Wireless router setupmanual97148881557
 
Simply bb-customer-router-setup(1)
Simply bb-customer-router-setup(1)Simply bb-customer-router-setup(1)
Simply bb-customer-router-setup(1)97148881557
 
Router configuration
Router configurationRouter configuration
Router configuration97148881557
 
Router configuration
Router configurationRouter configuration
Router configuration97148881557
 
Netgear wnr834 b_v2
Netgear wnr834 b_v2Netgear wnr834 b_v2
Netgear wnr834 b_v297148881557
 
Mcitp server administrator
Mcitp server administratorMcitp server administrator
Mcitp server administrator97148881557
 
Introduction to-cisco-routers
Introduction to-cisco-routersIntroduction to-cisco-routers
Introduction to-cisco-routers97148881557
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config97148881557
 
D link router_setup_example
D link router_setup_exampleD link router_setup_example
D link router_setup_example97148881557
 
Ccna2 mod3-configuring a-router
Ccna2 mod3-configuring a-routerCcna2 mod3-configuring a-router
Ccna2 mod3-configuring a-router97148881557
 

Plus de 97148881557 (19)

03 router-configuration
03 router-configuration03 router-configuration
03 router-configuration
 
Wisp mode aprouter
Wisp mode aprouterWisp mode aprouter
Wisp mode aprouter
 
Wireless router setupmanual
Wireless router setupmanualWireless router setupmanual
Wireless router setupmanual
 
Simply bb-customer-router-setup(1)
Simply bb-customer-router-setup(1)Simply bb-customer-router-setup(1)
Simply bb-customer-router-setup(1)
 
Router configuration
Router configurationRouter configuration
Router configuration
 
Router configuration
Router configurationRouter configuration
Router configuration
 
Routconf
RoutconfRoutconf
Routconf
 
Netgear wnr834 b_v2
Netgear wnr834 b_v2Netgear wnr834 b_v2
Netgear wnr834 b_v2
 
Mcitp server administrator
Mcitp server administratorMcitp server administrator
Mcitp server administrator
 
Introduction to-cisco-routers
Introduction to-cisco-routersIntroduction to-cisco-routers
Introduction to-cisco-routers
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
D link router_setup_example
D link router_setup_exampleD link router_setup_example
D link router_setup_example
 
Ciscointro
CiscointroCiscointro
Ciscointro
 
Cisco how-to
Cisco how-toCisco how-to
Cisco how-to
 
Cisco config
Cisco configCisco config
Cisco config
 
Ccna2 mod3-configuring a-router
Ccna2 mod3-configuring a-routerCcna2 mod3-configuring a-router
Ccna2 mod3-configuring a-router
 
C4 040 r-02(1)
C4 040 r-02(1)C4 040 r-02(1)
C4 040 r-02(1)
 
C4 040 r-02
C4 040 r-02C4 040 r-02
C4 040 r-02
 
520scg basic
520scg basic520scg basic
520scg basic
 

Router configuration(1)

  • 1. 6DISS 17/05/2005 IPv6 router configuration Port Elizabeth, South Africa 2005 János Mohácsi NIIF/HUNGARNET Copy …Rights • This slide set is the ownership of the 6DISS project via its partners • The Powerpoint version of this material may be reused and modified only with written authorization • Using part of this material must mention 6DISS courtesy • PDF files are available from www.6diss.org 6DISS IPv6 workshop 2005 South Africa 2 IPv6 Workshop
  • 2. 6DISS 17/05/2005 Contributions • Main authors – János Mohácsi, NIIF/HUNGARNET, Hungary – Laurent Toutain, ENST-Bretagne – IRISA, France • Contributors – Octavio Medina, ENST-Bretagne, France – Mohsen Souissi, AFNIC, France – Vincent Levigneron, AFNIC, France – Thomas Noel, LSIIT, France – Alain Durand, Sun Microsystems, USA – Alain Baudot, France Telecom R&D, France – Bill Manning, ISI, USA – David Kessens, Qwest, USA – Pierre-Emmanuel Goiffon, Renater, France – Jérôme Durand, Renater, France 6DISS IPv6 workshop 2005 South Africa 3 Equipment Configuration routers 6DISS IPv6 workshop 2005 South Africa 4 IPv6 Workshop
  • 3. 6DISS 17/05/2005 Equipment Configuration • CISCO • JUNIPER • 6WIND • FreeBSD • Debian • Microsoft (Windows XP) • Zebra 6DISS IPv6 workshop 2005 South Africa 5 Cisco IOS Roadmap: IOS Release Market Target IOS upgrade Phase I = IOS 12.2(5)T Free IPv6 12.2(14)S Early Adopter Deployment Done Phase II Done Production Backbone Deployment Phase III ongoing Enhanced IPv6 Services 6DISS IPv6 workshop 2005 South Africa 6 IPv6 Workshop
  • 4. 6DISS 17/05/2005 Cisco IOS IPv6 Phase I • IPv6 unicast routing • Basic ACLs • ICMPv6 support • IPv6 ND • IPv6 in IPv4 tunnel • Static ND entry • 6to4 tunnel • SLAAC • Ethernet • Path MTU discovery • ATM • CEF • FDDI • RIPng • Frame-Relay • Static Route • PPP/HDLC • IS-IS (only SP images) • VLAN • BGP4+ 6DISS IPv6 workshop 2005 South Africa 7 Phase 1 supported platforms • Cisco IOS 12.2T – Cisco 800 series routers – Cisco 1400 series routers – Cisco 1600 series routers – Cisco 1700 series routers – Cisco 2500 series routers (12.2(4)T only) – Cisco 2600 series routers • Cisco IOS 12.0ST • Cisco IOS 12.2B – Cisco 3600 series routers – Cisco 12000 series routers – Cisco 7400 series routers – Cisco 4500/4700 series• Cisco IOS 12.2S • Cisco IPv6 EFT only routers (12.2(2)T only) – Cisco 7200 series routers – AS5300, 5400 – Cisco 7100 series – Cisco 7500 series routers routers – Cisco 7600 series routers – Cisco 7200 series (limited release) routers – Catalyst 6500 series (limited – Cisco 7500 series release routers 6DISS IPv6 workshop 2005 South Africa 8 IPv6 Workshop
  • 5. 6DISS 17/05/2005 Cisco IOS IPv6 Phase II • i/IS-IS • SSH • OSPFv3 • IPv6 MIB (only vendor specific!) • CEF/dCEF • AAA/Dial (B train) • GSR/12000 support • Extended Access List • Cat6k - support • IPv6 over IPv4 GRE tunnels • NAT-PT • IPv6 Edge router (6PE) over MPLS • DNS AAAA client • CDP 6DISS IPv6 workshop 2005 South Africa 9 Cisco IOS IPv6 Phase III • IPsec: Authentication • IPv6 Multicast: MLD, required by OSPFv3, PIMv6 SM, PIM SSM (12.3(7)T) • IPv6 QoS: (Diff. Serv. & • Policy based routing RSVP) • Mobile IPv6: • Netflow v9: IPv6 – Home Agent prototype statistics such as IPv6 – Mobile IPv6 router Src/Dst addresses, AS – Mobile IP Binding number & Bytes count Association • Tunnels: IPv6 over IPv6, • Router renumbering IPv4 over IPv6 tunnels, • NetworkManagement ISATAP • Hardware acceleration: in progress 6DISS IPv6 workshop 2005 South Africa 10 IPv6 Workshop
  • 6. 6DISS 17/05/2005 Cisco IOS IPv6 Phase III/2 • Additional encapsulation: • Future IPv6 over DPT, Cable and DSL enhancements: • DHCPv6: stateless, prefix – EIGRP delegation and relay – Mobile ACL • Multicast IPv6: BGP, extensions - done Scope, BSR – HSRPv6 • SNMP: over IPv6 – Mobile IPv6 • IOS Firewall extensions 6DISS IPv6 workshop 2005 South Africa 11 Cisco 12000 series router IPv6 IPv6 Basics •ICMPv6 Feature set on 12.0(25)S CY03 • ND – including static entries • Stateless Auto-config. IPv6 Hardware Assistance • Engine 3 Line Cards • Multicast • ACL 4 x GE •IS-IS MT • MIBs, SSH, Telnet • DNS, TFTP ATM OC-12 26S Routing protocols POS OC-3, OC-12, OC-48 • RIPng, IS-IS for • Standard & Extended ACL IPv6, OSPFv3, MP- Including simultaneous IPv6 BGP4 Option Headers & UDP/TCP IPv6 Tunnels port parsing • distributed on Line • IPv6 Provider Edge (6PE) over Radar cards or Tunnel Card MPLS Switching • up to 3.8Mpps per LC • dCEFv6 • 6PE (IPv6 over MPLS) 6DISS IPv6 workshop 2005 South Africa 12 IPv6 Workshop
  • 7. 6DISS 17/05/2005 Cisco 7600/Cat. 6500 series IPv6 IPv6 Basics • ICMPv6 Feature set on 12.2SX FY04 • ND – including static entries • Stateless Auto-config. IPv6 Hardware Assistance • Supervisor Engine 720 • Multicast • ACL •IPv6 hardware assisted • IS-IS MT • MIBs, SSH, Telnet forwarding • OSPFv3 • DNS, TFTP Routing protocols • native IPv6 - + 20Mpps Sync with • RIPng, IS-IS for • IPv6 over IPv4 tunnels - 10Mpps 12.2S RLS3 - IPv6, MP-BGP4 • dCEF720 (PFC3) modules 12.2(17b)SXA IPv6 Tunnels • ie: 10GE • Configured, • +200 Mpps automatic, GRE, 6to4, ISATAP Sup.2/MSFC2 Switching Software • CEFv6 Forwarding • 6PE (IPv6 over MPLS) 6DISS IPv6 workshop 2005 South Africa 13 Cisco Catalyst 3750 Series Switches Feature set inherited from 12.2S in CY05 IPv6 Hardware Assistance 12.1E release based at • Investment protection FCS Update to 12.2S later, Requires adding IPv6 support extra license 6DISS IPv6 workshop 2005 South Africa 14 IPv6 Workshop
  • 8. 6DISS 17/05/2005 CISCO configuration - basics • Enable IPv6 on an interface interface xxxxx ipv6 enable • Configure an address interface xxxxx ipv6 address X:X:X:X::X/<0-128> (general address) ipv6 address X:X:X:X::X (link-local address) ipv6 address autoconfig (auto-configuration) • e.g. LAN Interface interface Ethernet0/0 ip address 192.168.1.254 255.255.255.0 ipv6 address 2001:db8:123:1::2/64 6DISS IPv6 workshop 2005 South Africa 15 CISCO configuration - tunnel • Configure an IPv6 in IPv4 tunnel interface tunnel x tunnel source interface tunnel destination X.X.X.X ipv6 address X:X:X:X::X/<0-128> tunnel mode ipv6ip (for direct tunneling) tunnel mode gre ip (for gre encapsulation) 6DISS IPv6 workshop 2005 South Africa 16 IPv6 Workshop
  • 9. 6DISS 17/05/2005 CISCO configuration – tunnel2 • Configure an IPv6 in IPv6 tunnel interface tunnel x tunnel source interface tunnel destination X:X:X:X::X ipv6 address X:X:X:X::X/<0-128> tunnel mode ipv6 (for direct tunneling) tunnel mode gre ipv6 (for gre encapsulation) 6DISS IPv6 workshop 2005 South Africa 17 CISCO configuration - routing • Enable IPv6 routing ipv6 unicast-routing • Configure static routes ipv6 route prefix/prefixlen next_hop Ex: ipv6 route ::/0 2001:db8:10a:1001::1 6DISS IPv6 workshop 2005 South Africa 18 IPv6 Workshop
  • 10. 6DISS 17/05/2005 Cisco configuration – OSPFv3 Area 1 interface Ethernet0/0 ipv6 address 2001:db8:1:1::1/64 ipv6 ospf 1 area 0 ! interface Ethernet0/1 ipv6 address 2001:db8:1:2::2/64 Eth0/1 ipv6 ospf 1 area 1 ! ABR ipv6 router ospf 1 Eth0/0 router-id 2.2.2.2 Area 0 6DISS IPv6 workshop 2005 South Africa 19 CISCO configuration - BGP • BGP configuration no bgp4 default unicast bgp router-id a.b.d.f router bgp xxxx neighbor X:X:X:X::X remote-as … neighbor X:X:X:X::X … address-family ipv6 neighbor X:X:X:X::X activate neighbor X:X:X:X::X … network 2001:db8::/32 no synchronization exit address-family 6DISS IPv6 workshop 2005 South Africa 20 IPv6 Workshop
  • 11. 6DISS 17/05/2005 CISCO configuration – policy filtering • Routing policy filtering ipv6 prefix-list bgp-in-6net seq 5 deny ::/0 -> Means filter ::/0 exactly ipv6 prefix-list bgp-in-6net seq 10 deny 3FFE:300::/24 le 28 ipv6 prefix-list bgp-in-6net seq 15 deny 2001:db8::/35 le 41 ipv6 prefix-list bgp-in-6net seq 20 permit 2002::/16 ipv6 prefix-list bgp-in-6net seq 25 permit 3FFE::/17 ge 24 le 24 ipv6 prefix-list bgp-in-6net seq 30 permit 3FFE:8000::/17 ge 28 le 28 -> Means every prefix matching 3FFE:8000::/17 with length 28 ipv6 prefix-list bgp-in-6net seq 35 permit 3FFE:4000::/18 ge 32 le 32 ipv6 prefix-list bgp-in-6net seq 40 permit 2001::/16 ge 32 le 35 -> Means every 2001::/16 derived prefix, with length between 32 and 35 6DISS IPv6 workshop 2005 South Africa 21 Cisco configuration - ACLs • ACL ipv6 access-list vty-ipv6 permit tcp 2001:db8:0:401::/64 any eq telnet deny ipv6 any any log-input • Applying an ACL to an interface ipv6 traffic-filter <acl_name> in | out • Restricting access to the router ipv6 access-class <acl_name> in | out • Applying an ACL to filter debug traffic debug ipv6 packet [access-list <acl_name>] [detail] 6DISS IPv6 workshop 2005 South Africa 22 IPv6 Workshop
  • 12. 6DISS 17/05/2005 Cisco Show Commands • show bgp • show bgp ipv6 unicast/multicast/all summary • show bgp ipv6 neigh <addr> routes • show bgp ipv6 neigh <addr> advertised-routes • show bgp ipv6 neigh <addr> received-routes • show ipv6 route • show ipv6 interface • show ipv6 neighbors 6DISS IPv6 workshop 2005 South Africa 23 Cisco references • http://www.cisco.com/en/US/products /ps6553/products_ios_technology_hom e.html 6DISS IPv6 workshop 2005 South Africa 24 IPv6 Workshop
  • 13. 6DISS 17/05/2005 Juniper IPv6 support - now • No Special code, uniform on all platform • Addressing and forwarding – H/W forwarding – Addressing (link, global, Neighbour discovery) – Stateless autoconfiguration • Routing – BGP4+, IS-IS, OSPFv3, RIPng, Static • Operation – telnet, ssh, ping traceroute,ICMPv6 – H/W based firewall filter – uRPF check • Deployment – Dualstack, configured tunnel, L3 MPLS VPN 6DISS IPv6 workshop 2005 South Africa 25 Juniper IPv6 support –now+future • IPv6 Multicast: BGP, PIMv2 support with RP support, SSM (now) • EBGP peering with linklocal address - simplification for IPv6 IX (now) • IPv6 over MPLS (now) • IPv6 flow monitoring 6DISS IPv6 workshop 2005 South Africa 26 IPv6 Workshop
  • 14. 6DISS 17/05/2005 Juniper configuration - basics • Interface configuration interfaces { name_of_interface { unit x { family inet { address X.X.X.X/prefixlength; } family iso { address Y.Y.Y.Y.Y.Y; } family inet6 { address Z:Z:Z:Z::Z/prefixlength; • Cannot autoconfigure the router interfaces 6DISS IPv6 workshop 2005 South Africa 27 Juniper configuration - tunnels • Router advertisements (stateless autoconf) protocols { router-advertisement { interface interface-name { prefix IPv6_prefix::/prefix_length; • Configure tunnel (with Tunnel PIC) interface{ ip-x/x/x { tunnel { source ipv4_source_address; destination ipv4_destination_address; } family inet6 { address ipv6_address_in_tunnel/prefixlength gr-x/y/z { unit 0 {...}} }}} 6DISS IPv6 workshop 2005 South Africa 28 IPv6 Workshop
  • 15. 6DISS 17/05/2005 Juniper configuration – static routing • Static routes routing-options { rib inet6.0 { -> Means IPv6 unicast routing table static { route IPv6_prefix next-hop IPv6_address; } routing-options { rib inet6.0 { static { route IPv6_prefix discard; -> Useful to originate a network } 6DISS IPv6 workshop 2005 South Africa 29 Juniper configuration - OSPFv3 protocols { ospf3 { preference 20; area 0.0.0.0 { interface ge-0/3/0.808 { metric 100; } interface lo0.0 { passive; } } } } 6DISS IPv6 workshop 2005 South Africa 30 IPv6 Workshop
  • 16. 6DISS 17/05/2005 Juniper configuration - BGP • BGP configuration brotocols { bgp { local-as local_AS_number; group EBGP_peers { type external; family inet6 { (any | multicast | unicast) } neighbor neighbor_IPv6_address; peer-as distant_AS_number; import in-PS; export out-PS; } 6DISS IPv6 workshop 2005 South Africa 31 Juniper configuration – policy routing • Policy statements policy-statement in-PS { term from_outside_accept { from { route-filter 2002::/16 exact; route-filter 3FFE::/17 prefix-length-range /24-/24; route-filter 3FFE:8000::/17 prefix-length-range /28- /28; route-filter 3FFE:4000::/18 prefix-length-range /32- /32; route-filter 2000::/3 prefix-length-range /16-/16; route-filter 2001::/16 prefix-length-range /29-/35; } then { accept; } then reject; } 6DISS IPv6 workshop 2005 South Africa 32 IPv6 Workshop
  • 17. 6DISS 17/05/2005 Juniper Show Commands show bgp summary show route advert bgp <addr> show route rece bgp <addr> show route table inet6.0 (terse) show interfaces show ipv6 neighbors 6DISS IPv6 workshop 2005 South Africa 33 6WIND Interface Configuration • Enter Ethernet Private Interface Context hurricane{myconfig} eth0_0 hurricane{myconfig-eth0_0} • Set IP Address hurricane{myconfig-eth0_0} ipaddress 10.0.0.10/24 hurricane{myconfig-eth0_0} ipaddress 3ffe:10::beef/48 • Advertise an IPv6 prefix hurricane{myconfig-eth0_0} prefix 3ffe:10::beef:f00d::/64 6DISS IPv6 workshop 2005 South Africa 34 IPv6 Workshop
  • 18. 6DISS 17/05/2005 6WIND (2) Migration configuration • Enter Migration Context hurricane{myconfig} mig hurricane{myconfig-mig} • Create 6in4 interface hurricane{myconfig-mig} 6in4 0 1.1.1.10 1.1.1.20 3ffe:1::10 3ffe:1::20 • Create 4in6 interface hurricane{myconfig-mig} 4in6 0 3ffe:1::10 3ffe:1::20 1.1.1.10 1.1.1.20 • Create 6to4 interface hurricane{myconfig-mig} 6to4 1.1.1.10 6DISS IPv6 workshop 2005 South Africa 35 6WIND (3) Migration configuration • Create ISATAP interface hurricane{myconfig-mig} isatap_router 0 10.0.0.10 hurricane{myconfig-mig} isatap_prefix 0 2002:101:10a::/64 • Create DSTM interface hurricane{myconfig-mig} dstm eth0_0 6DISS IPv6 workshop 2005 South Africa 36 IPv6 Workshop
  • 19. 6DISS 17/05/2005 6WIND (4) Static Routing Configuration • Enter Routing Context hurricane{myconfig} rtg hurricane{myconfig-rtg} • Set IP Default Route hurricane{myconfig-rtg} ipv4_defaultroute 1.1.1.20 hurricane{myconfig-rtg} ipv6_defaultroute 3ffe:1::20 • Set static route hurricane{myconfig-rtg} route 30.0.0.0/24 3.3.3.30 hurricane{myconfig-rtg} route 3ffe:30::/48 3ffe:3::30 6DISS IPv6 workshop 2005 South Africa 37 6WIND (5) Dynamic Routing Configuration RIP • Enter Dynamic Routing Context hurricane{myconfig-rtg} dynamic hurricane{myconfig-rtg-dynamic} • Activate RIP Routing Process hurricane{myconfig-rtg-dynamic} router rip hurricane{myconfig-rtg-dynamic-router-rip} network 1.1.1.0/24 hurricane{myconfig-rtg-dynamic-router-rip} network 3.3.3.0/24 hurricane{myconfig-rtg-dynamic-router-rip} redistribute connected 6DISS IPv6 workshop 2005 South Africa 38 IPv6 Workshop
  • 20. 6DISS 17/05/2005 6WIND (6) Dynamic Routing Configuration BGP4+ • Enter Dynamic Routing Context hurricane{myconfig-rtg} dynamic hurricane{myconfig-rtg-dynamic} • Activate BGP4+ Routing Process hurricane{myconfig-rtg-dynamic} router bgp 10 hurricane{myconfig-rtg-dynamic-router-bgp} neighbor 3ffe:1::20 remote-as 20 hurricane{myconfig-rtg-dynamic-router-bgp} neighbor 3ffe:3::30 remote-as 30 hurricane{myconfig-rtg-dynamic-router-bgp} address-family ipv6 hurricane{myconfig-rtg-dynamic-router-bgp-v6} neighbor 3ffe:1::20 activate hurricane{myconfig-rtg-dynamic-router-bgp-v6} neighbor 3ffe:3::30 activate hurricane{myconfig-rtg-dynamic-router-bgp-v6} redistribute connected 6DISS IPv6 workshop 2005 South Africa 39 FreeBSD • Enable IPv6 ipv6_enable="YES" in /etc/rc.conf file • Autoconfiguration is automatically done while the gateway function is off • Enable IPv6 forwarding ipv6_gateway_enable="YES" in rc.conf file • Add an IPv6 address on an interface ifconfig interface inet6 X:X:X:X::X prefixlen 64 6DISS IPv6 workshop 2005 South Africa 40 IPv6 Workshop
  • 21. 6DISS 17/05/2005 FreeBSD (2) • Configure an IPv6 in IPv4 tunnel ifconfig gif1 create ifconfig gif1 inet6 @IPv6_source @IPv6_dest prefixlen 128 gifconfig gif1 inet @IPv4_source @IPv4_dest ifconfig gif1 up • Configure an IPv6 in IPv6 tunnel ifconfig gif1 create ifconfig gif1 inet6 @IPv6_source @IPv6_dest prefixlen 128 gifconfig gif1 inet6 @IPv6_source @IPv6_dest ifconfig gif1 up 6DISS IPv6 workshop 2005 South Africa 41 FreeBSD (3) • Configure a static route – Default route route add -inet6 default fe80::X:X:X:X%interface route add -inet6 default X:X:X:X::X (if global address) – Others route add –inet6 X:X:X:X:: -prefixlen YY X:X:X:X::X route add –inet6 X:X:X:X:: -prefixlen YY fe80::X:X:X:X%interface • %interface notation If link-local address, need to specify on which interface the address is available 6DISS IPv6 workshop 2005 South Africa 42 IPv6 Workshop
  • 22. 6DISS 17/05/2005 FreeBSD (4) • RIPng: route6d daemon route6d -L IPv6_prefix,interface (receives only prefixes derived from IPv6_prefix on interface interface) 6DISS IPv6 workshop 2005 South Africa 43 FreeBSD (5) • BGB: bgpd daemon • Better to use Zebra BGP daemon 6DISS IPv6 workshop 2005 South Africa 44 IPv6 Workshop
  • 23. 6DISS 17/05/2005 Debian • Main URL: http://people.debian.org/~csmall/ipv6/ • Enable IPv6 – Put "ipv6" in "/etc/modules" – Edit "/etc/network/interfaces" : iface eth0 inet6 static address 2001:XXXX:YYYY:ZZZZ::1 netmask 64 6DISS IPv6 workshop 2005 South Africa 45 Debian (2) • Tunnel configuration – Edit "/etc/network/interfaces" : iface tun0 inet6 v4tunnel endpoint A.B.C.D address 2001:XXXX:1:YYYY::2 gateway 2001:XXXX:1:YYYY::1 netmask 64 6DISS IPv6 workshop 2005 South Africa 46 IPv6 Workshop
  • 24. 6DISS 17/05/2005 Debian (3) • RA configuration on a Debian router – Add in "/etc/radvd.conf" : interface eth0 { AdvSendAdvert on; AdvLinkMTU 1472; prefix 2001:XXXX:YYYY:ZZZZ:/64 { AdvOnLink on; AdvPreferredLifetime 3600; AdvValidLifetime 7200; }; }; 6DISS IPv6 workshop 2005 South Africa 47 Microsoft (Windows XP) • Enable IPv6 ipv6 install in a dos window • Auto-configuration is then performed • Display IPv6 interfaces ipv6 if • Display IPv6 routes ipv6 rt 6DISS IPv6 workshop 2005 South Africa 48 IPv6 Workshop
  • 25. 6DISS 17/05/2005 Microsoft (Windows XP) (2) • Add a static route ipv6 rtu prefix ifindex[/address] [life valid[/pref]] [preference P] [publish] [age] [spl Site Prefix Size] • Anonymous addresses ipv6 gpu UseAnonymousAddresses no • « User-friendly » IPv6 configuration netsh in a dos window > interface ipv6 6DISS IPv6 workshop 2005 South Africa 49 Zebra • Cisco like commands • BGP, RIPng, OSPF available 6DISS IPv6 workshop 2005 South Africa 50 IPv6 Workshop