IPv6地址及隧道配置实例

IPv6地址及隧道配置实例

拓朴结构:

IPv6地址及隧道配置实例_第1张图片

配置步骤:

AR1:

ipv6 unicast-routing         全局开启Ipv6

ipv6 router ospf 1

interface Loopback0

ipv6 address 201:1::1/64

 ipv6 enable    接口开启Ipv6

 ipv6 ospf 1 area 0

interface Tunnel0     开启隧道tunnel 0

 ipv6 enable

 ipv6 ospf 1 area 0

 tunnel source Ethernet0/0    配置隧道源端口

 tunnel destination 23.1.1.2   配置隧道目标端口

interface Ethernet0/0

 ip address 12.1.1.1 255.255.255.0

router ospf 1

 router-id 1.1.1.1

 network 12.1.1.0 0.0.0.255 area 0

 

 

AR2:

interface Ethernet0/0

 ip address 12.1.1.2 255.255.255.0

interface Ethernet0/1

 ip address 23.1.1.1 255.255.255.0

router ospf 1

 router-id 2.2.2.2

 network 12.1.1.0 0.0.0.255 area 0

 network 23.1.1.0 0.0.0.255 area 0

 

 

AR3:

ipv6 unicast-routing

ipv6 router ospf 1

interface Loopback0

 ipv6 address 203:1::1/64

 ipv6 enable

 ipv6 ospf 1 area 0

interface Tunnel0

 ipv6 enable

 ipv6 ospf 1 area 0

 tunnel source Ethernet0/0    配置隧道源端口

 tunnel destination 12.1.1.1   配置隧道目标端口

interface Ethernet0/0

 ip address 23.1.1.2 255.255.255.0

router ospf 1

 router-id 3.3.3.3

 network 23.1.1.0 0.0.0.255 area 0

你可能感兴趣的:(网络技术)