The third group of group communication manual tunnel 030

First, the purpose of the experiment

Build a tunnel by hand in pure IPV4 network, so that IPV6 network interoperability.

 

 

 

Second, the experimental topology

 

figure 1

Third, address planning

device

interface

address

R1

F0 / 0

172.16.30.1/24

F0 / 1

172.17.30.1/24

R2

F0 / 0

2001:db8:30:1::2/64

F0 / 1

172.16.30.2/24

R3

F0 / 0

172.17.30.3/24

F0 / 1

2001:db8:30:2::3/64

R4

F0 / 0

Automatically get address

R5

F0 / 0

Automatically get address

 

 

Fourth, the experimental configuration

  1. Configure IPV4 network interworking R2 to R3.
  2. R2 tunnel configuration

R2(config)#interface FastEthernet0/1

R2(config-if)#ip address 172.16.30.2 255.255.255.0

R2(config-if)#exit

 

R2(config)#interface Tunnel 0

R2(config-if)#ipv6 enable

R2(config-if)#tunnel source FastEthernet0/1

R2(config-if)#tunnel destination 172.17.30.3

R2(config-if)#tunnel mode ipv6ip

R2(config-if)#exit

 

R2(config)#ipv6 route 2001:db8:30:2::/64 Tunnel 0

 

3.R3 tunnel configuration

R3(config)#interface FastEthernet0/0

R3(config-if)#ip address 172.17.30.3 255.255.255.0

R3(config-if)#exit

 

R3(config)#interface Tunnel 0

R3(config-if)#ipv6 enable

R3(config-if)#tunnel source FastEthernet0/1

R3(config-if)#tunnel destination 172.16.30.2

R3(config-if)#tunnel mode ipv6ip

R3(config-if)#exit

 

R3(config)#ipv6 route 2001:db8:30:1::/64 Tunnel 0

 

 

 

Fifth, the experimental test

R4 ping R3

 

 

figure 2

 

R5 ping R2

 

 

image 3

 

Guess you like

Origin www.cnblogs.com/wzx233/p/10938511.html
Recommended