Ipv6 Network Protocol Configuration

Source: Internet
Author: User


Experiment topology of ipv6 Network Protocol Configuration:

Tutorial objective: (1) configuring rip Protocol in ipv6 (2) configuring ospf protocol in ipv6 (3) configuring ospf protocol in ipv6 (4) let the two ipv6 networks pass through ipv4 network communication (Tunnel) www.2cto.com basic information configuration IP Address Allocation: r1: f0/0: 2000: 1/16s1/0: 2001: 1/16r2: s1/0: 2001: 2/16s1/1: 2002: 1/16r3: s1/0: 2002: 2/16f0/0: 2003 :: 1/16 ipv6 Address Configuration: r1 (config) # in f0/0r1 (config-if) # ipv add 2000: 1/16r1 (config-if) # no shutr1 (config-if) # exir1 (config) # in s1/0r1 (config-if) # ipv add 2001: 1/16r1 (config-if) # no shutr1 (config-if) # exi R2 (config) # in s1/0r2 (config-if) # ipv add 2001: 2/16r2 (config-if) # no shutr2 (config-if) # in s1/1r2 (config-if) # ipv add 2002: 1/16r2 (config-if) # no shutr2 (config-if) # exi r3 (config) # in s1/0r3 (config-if) # ipv add 2002: 2/16r3 (config-if) # no shutr3 (config-if) # in f0/0r3 (config-if) # ipv add 2003: 1/16r3 (config-if) # no shutr3 (config-if) # exi (1) in the ipv6 network, configure the rip Protocol r1 (config) # ipv6 router rip r1 // configure the rip Protocol for ipv6. r1 can randomly obtain r1 (Config-rtr) # exi www.2cto.com r1 (config) # in f0/0r1 (config-if) # ipv6 rip r1 enable // apply ripr1 (config-if) on the Interface) # in s1/0r1 (config-if) # ipv rip r1 enr1 (config-if) # exi r2 (config) # ipv router rip r2r2 (config-rtr) # exi r2 (config) # in s1/0r2 (config-if) # ipv rip r2 enr2 (config-if) # in s1/1r2 (config-if) # ipv rip r2 enr2 (config-if) # exi r3 (config) # ipv router rip r3r3 (config-rtr) # exir3 (config) # in f0/0r3 (config-if) # ipv rip R3 enr3 (config-if) # in s1/0r3 (config-if) # ipv rip r3 enr3 (config-if) # exi r3 (config) # do p 2000 :: 1 Type escape sequence to abort. sending 5, 100-byte ICMP Echos to 2000: 1, timeout is 2 seconds :!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 44/84/132 ms configuration rip is so simple. (2) configure the OSPF protocol r1 (config) # no ipv router rip r1 // remove the rip Protocol r2 (config) Just configured) # no ipv router rip r2r3 (config) # no ipv router rip r3r1 (config) # ipv router VPN 10 // You can configure the ipv6 protocol for the OSPF protocol. 10 has global attributes, the autonomous system number must be the same. r1 (config-rtr) # router-id 1.1.1.1 // you must specify RIDr1 (config-rtr) # no shut // You must activate r1 (config-rtr) # exir1 (config) # in f0/0r1 (config-if) # no Ipv rip r1 en // remove the rip Protocol r1 (config-if) # ipv fewer than 10 on the Interface // apply the OSPF protocol r1 (config-if) # in s1/0r1 (config-if) # no ipv rip r1 enr1 (config-if) # ipv VPN 10r1 (config-if) # exi www.2cto.com r2 (config) # ipv router VPN 10 // route tables cannot be exchanged between different Autonomous System numbers. To learn between routes, the route tables must be the same r2 (config-rtr) # router-id 2.2.2.2r2 (config-rtr) # no shutr2 (config-rtr) # exir2 (config) # in s1/0r2 (config-if) # no ipv rip r2 enr2 (config-if) # ipv VPN 10r2 (confi G-if) # in s1/1r2 (config-if) # no ipv rip r2 enr2 (config-if) # ipv VPN 10r2 (config-if) # exi r3 (config) # ipv router VPN 10r3 (config-rtr) # router-id 3.3.3r3 (config-rtr) # no shutr3 (config-rtr) # exir3 (config) # in s1/0r3 (config-if) # no ipv rip r3 enr3 (config-if) # ipv VPN 10r3 (config-if) # in f0/0r3 (config-if) # no ipv rip r3 enr3 (config-if) # ipv VPN 10r3 (config-if) # exir3 (config) # do p 2000: 1 Type escape sequence To abort. Sending 5, 100-byte ICMP Echos to 2000: 1, timeout is 2 seconds :!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 60/93/144 ms, and the OSPF protocol in ipv6 has been configured. (3) configure the ospf protocol r1 (config) # no ipv router VPN 10 in the ipv6 network // remove the earlier Protocol r1 (config) # ipv router ospf 10 // configure ospf protocol r1 (config-rtr) # router-id 1.1.1.1 // RIDr1 (config-rtr) # exir1 (config) must be specified) # in s1/0 www.2cto.com r1 (config-if) # no ipv VPN 10 // remove the Kerberos protocol. The process number has no global attribute (which can be different) r1 (config-if) # ipv ospf 10 a 0 // apply ospf protocol and add region 0r1 (config-if) # exir1 (config) # in f0/0r1 (config-if) # no ipv VPN 10r1 (config-if) # ipv ospf 10 a 0r1 (c Onfig-if) # exi r2 (config) # no ipv router VPN 10r2 (config) # ipv router ospf 11r2 (config-rtr) # router-id 2.2.2.2r2 (config-rtr) # exir2 (config) # in s1/0r2 (config-if) # no ipv VPN 10 r2 (config-if) # ipv ospf 11 a 0r2 (config-if) # in s1/1r2 (config-if) # no ipv VPN 10 r2 (config-if) # ipv ospf 11 a 0r2 (config-if) # exi r3 (config) # no ipv router VPN 10r3 (config) # ipv router ospf 12r3 (config-rtr) # router-id 3.3.3.3r3 (co Nfig-rtr) # exir3 (config) # in s1/0r3 (config-if) # no ipv VPN 10 r3 (config-if) # ipv ospf 12 a 0r3 (config-if) # in f0/0r3 (config-if) # no ipv VPN 10r3 (config-if) # ipv ospf 12 a 0r3 (config-if) # exi r3 (config) # do p 2000: 1 Type escape sequence to abort. sending 5, 100-byte ICMP Echos to 2000: 1, timeout is 2 seconds :!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 36/86/188 MS (4) let two ipv6 networks communicate over ipv4 networks (1) ipv6 networks use the ospf protocol www.2cto.com IP Address Allocation: pc2: 2000: 2/16r1: f0/0: 2000: 1/16s1. 146.0.1r2: s1/0: 219. 146.0.2s1/1:219. 146.1.1r3: s1/0: 219. 146.1.2f0/0: 2001: 1/16pc5: 2001: 2/16 configure IP Address: pc2 (config) # in f0/0pc2 (config-if) # ipv6 add 2000 :: 2/16pc2 (config-if) # no shutpc2 (config-if) # exipc2 (config) # ipv route:/0 2000: 1/ /Configure the default ipv6 gateway r1 (config) # in f0/0r1 (config-if) # ipv add 2000: 1/16r1 (config-if) # no shutr1 (config-if) # exir1 (config) # in s1/0r1 (config-if) # ip add 219.146.0.1 255.255.255.0r1 (config-if) # no shutr1 (config-if) # exi r2 (config) # in s1/0r2 (config-if) # ip add 219.146.0.2 255.255.255.0r2 (config-if) # no shutr2 (config-if) # in s1/1r2 (config-if) # ip add 219.146.1.1 255.255.255.0r2 (config-if) # no shutr2 (config-if) # exi r3 (co Nfig) # in s1/0r3 (config-if) # ip add 219.146.1.2 255.255.255.0r3 (config-if) # no shutr3 (config-if) # in f0/0r3 (config-if) # ipv add 2001: 1/16r3 (config-if) # no shutr3 (config-if) # exi pc5 (config) # in f0/0pc5 (config-if) # ipv add 2001: 2/16pc5 (config-if) # no shutpc5 (config-if) # exipc5 (config) # ipv route:/0 2001 :: 1. Add the routing protocol: r1 (config) # ipv6 unicast-routing // enable the ipv6 and routing functions r1 (config) # router ospf 10 // use the ospf routing Protocol in ipv4 networks, similarly, Process Number 10 does not have a global attribute. R1 (config-router) # net 219.146.0.0 0.0.255 a 0 // Add the direct connection network to the Zone 0r1 (config-router) # exi r2 (config) # ipv6 unicast-routingr2 (config) # router ospf 10r2 (config-router) # net 219.146.0.0 0.0.1.255 a 0r2 (config-router) # exi r3 (config) # ipv unr3 (config) # router ospf 10r3 (config-router) # net 219.146.1.0 0.0.0.255 a 0r3 (config-router) # exi www.2cto.com add tunnel: r1 (config) # in tun 0 // enter the channel 0 interface r1 (config-if) # ipv add 2002: 1/16 // Add ipv6 address r1 (config-if) # no shut // activate interface r1 (config-if) # tun source 219.146.0.1 // Add source address r1 (config-if) # tun destination 219.146.0.2 // Add the destination address r1 (config-if) # tun m ipv6ip // tunnel mode uses ipv6r1 (config-if) # ipv ospf 10 a 0 // apply ipv6 protocol to the interface and add the region 0r1 (config-if) # exir1 (config) # in f0/0r1 (config-if) # ipv ospf 10 a 0 // apply the ipv6 Routing Protocol r1 (config-if) # exi r2 (config) # in tun 0r2 (config-if) under the interface) # ipv add 2002: 2/16r2 (config-if) # no shutr2 (confi G-if) # tun sou 219.146.0.2r2 (config-if) # tun des 219.146.0.1r2 (config-if) # tun m ipv6ipr2 (config-if) # ipv ospf 10 a 0r2 (config-if) # exir2 (config) # in tun 1r2 (config-if) # ipv add 2003: 1/16r2 (config-if) # no shutr2 (config-if) # tun sou 219.146.1.1r2 (config-if) # tun des 219.146.1.2r2 (config-if) # tun m limit 6ipr2 (config-if) # ipv ospf 10 a 0r2 (config-if) # exi r3 (config) # in tun 0r3 (config-if) # ipv add 2003: 2/16r3 (confi G-if) # no shutr3 (config-if) # tun sou 219.146.1.2r3 (config-if) # tun des 219.146.1.1r3 (config-if) # tun m limit 6ipr3 (config-if) # ipv ospf 10 a 0r3 (config-if) # exir3 (config) # in f0/0r3 (config-if) # ipv ospf 10 a 0r3 (config-if) # exi completed! (2) ipv6 networks use the OSPF protocol r1 (config) # ipv unicast-routing // enable the ipv6 routing function r1 (config) # ipv router VPN 10 // use the OSPF routing protocol r1 (config-rtr) # router-id 1.1.1.1 // RIDr1 (config-rtr) must be specified) # no shut // r1 (config-rtr) must be activated # exir1 (config) # in tun 0r1 (config-if) # ipv add 2002 :: 1/16r1 (config-if) # no shutr1 (config-if) # tun sou 219.146.0.1r1 (config-if) # tun d 219.146.0.2r1 (config-if) # tun m ipv6ipr1 (config-if) # ipv VPN 10 r1 (config-if) # in f 0/0r1 (config-if) # ipv VPN 10r1 (config-if) # exi r2 (config) # ipv unr2 (config) # ipv router VPN 10r2 (config-rtr) # router-id 2.2.2.2r2 (config-rtr) # no shut www.2cto.com r2 (config-rtr) # exir2 (config) # in tun 0r2 (config-if) # ipv add 2002 :: 2/16r2 (config-if) # no shutr2 (config-if) # tun sou 219.146.0.2r2 (config-if) # tun d 219.146.0.1r2 (config-if) # tun m ipv6ipr2 (config-if) # ipv VPN 10r2 (config-if) # in f0/0r2 (config-I F) # ipv VPN 10r2 (config-if) # exir2 (config) # in tun 1r2 (config-if) # ipv add 2003: 1/16r2 (config-if) # no shutr2 (config-if) # tun sou 219.146.1.1r2 (config-if) # tun des 219.146.1.2r2 (config-if) # tun m limit 6ipr2 (config-if) # ipv VPN 10r2 (config-if) # exi r3 (config) # ipv unr3 (config) # ipv router VPN 10r3 (config-rtr) # router-id 3.3.3r3 (config-rtr) # no shutr3 (config-rtr) # exir3 (config) # in tun 0r3 (config-if) # ipv add 2003: 2/16r3 (config-if) # no shut r3 (config-if) # tun sou 219.146.1.2r3 (config-if) # tun des 219.146.1.1r3 (config-if) # tun m ipv6ipr3 (config-if) # ipv VPN 10 r3 (config-if) # in f0/0r3 (config-if) # ipv VPN 10r3 (config-if) # exi www.2cto.com pc5 (config) # do p 2000: 2 Type escape sequence to abort. sending 5, 100-byte ICMP Echos to 2000: 2, timeout is 2 seconds :!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 136/275/412 mspc2 # p 2001: 2 Type escape sequence to abort. sending 5, 100-byte ICMP Echos to 2001: 2, timeout is 2 seconds :!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 152/303/548 MS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.