IPV6的配置實(shí)例
試驗(yàn)背景:公司構(gòu)建了2個IPV6的網(wǎng)絡(luò),但是這兩個網(wǎng)絡(luò)不在同一個地域范圍內(nèi),如果要想通信,必須要跨越IPV4的網(wǎng)絡(luò),為了達(dá)到通信的目的,決定采用隧道技術(shù)。
試驗(yàn)?zāi)康模?/STRONG>
1、采用GRE隧道技術(shù)來實(shí)現(xiàn);
2、實(shí)現(xiàn)PC1能夠和PC2之間PING通;
3、IPV6路由的實(shí)現(xiàn)采用IPV6 RIP實(shí)現(xiàn);
試驗(yàn)拓?fù)洌?/STRONG>
![]() |
Router# Router#conf t Router#conf t |
2.配置ipv4的動態(tài)路由
aaa(config)#router rip bb(config)#router rip ccc(config)#router rip |
3.查看路由表
aaa#show ip rou Gateway of last resort is not set 172.16.0.0/24 is subnetted, 1 subnets bb#show ip rou Gateway of last resort is not set 172.16.0.0/24 is subnetted, 1 subnets ccc#show ip rou Gateway of last resort is not set 172.16.0.0/24 is subnetted, 1 subnets |
#p#
4.給路由器做隧道
aaa#conf t ccc(config)#interface tunnel 1 |
5.在路由器上配置ipv6并應(yīng)用到接口
aaa(config)#ipv6 unicast-routing ccc(config)#ipv6 unicast-routing |
6.查看ipv6的路由表
aaa#show ipv6 rou
cc#show ipv6 rou |
7.驗(yàn)證試驗(yàn)結(jié)果:ping對短
aaa#ping 2001::1 Type escape sequence to abort.
ccc#ping 2000::1 Type escape sequence to abort. |
【編輯推薦】