Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

IPV4 and IPV6 communicate with each other

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Network Topology:

R1:

Ipv6 unicast-routing = enable ipv6

Int f0/0

Ip address 192.168.12.1 255.255.255.0

No shutdown

Interface Loopback0

Ipv6 address 2012:2012::1/64

Ip route 192.168.23.0 255.255.255.0 192.168.12.2 = configure static rout

R2:

Interface FastEthernet0/0

Ip address 192.168.12.2 255.255.255.0

Interface FastEthernet0/1

Ip address 192.168.23.2 255.255.255.0

R3:

Ipv6 unicast-routing = enable ipv6

Interface FastEthernet0/1

Ip address 192.168.23.3 255.255.255.0

Interface Loopback0

Ipv6 address 2014:2014::3/64

Ip route 192.168.12.0 255.255.255.0 192.168.23.2 = configure static rout

Test:

R1#ping 192.168.23.3

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.23.3, timeout is 2 seconds:

!

Success rate is 100 percent (5amp 5), round-trip min/avg/max = 28-56-76 ms

R1#

R3#ping 192.168.12.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.12.1, timeout is 2 seconds:

!

Success rate is 100 percent (5amp 5), round-trip min/avg/max = 36pm 65max 132ms

R3#

Configure tunnel tunnel

R1:

Ipv6 router ospf 1 = enable OSPFV3

Router-id 1.1.1.1 = router-id must be manually configured

Interface Tunnel1

No ip address

Ipv6 address 2001::1/64

Ipv6 ospf 1 area 0

Tunnel source 192.168.12.1

Tunnel destination 192.168.23.3

Tunnel mode ipv6ip

!

Interface Loopback0

Ipv6 ospf 1 area 0

R3:

Ipv6 router ospf 1

Router-id 3.3.3.3

Interface Tunnel1

No ip address

Ipv6 address 2001::2/64

Ipv6 ospf 1 area 0

Tunnel source 192.168.23.3

Tunnel destination 192.168.12.1

Tunnel mode ipv6ip

!

Interface Loopback0

Ipv6 ospf 1 area 0

Test:

R1#ping 2014:2014::3 source 2012:2012::1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2014:2014::3, timeout is 2 seconds:

Packet sent with a source address of 2012:2012::1

!

Success rate is 100 percent (5amp 5), round-trip min/avg/max = 28 Universe 64 ms

R1#

R3#ping 2012:2012::1 source 2014:2014::3

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2012:2012::1, timeout is 2 seconds:

Packet sent with a source address of 2014:2014::3

!

Success rate is 100 percent (5amp 5), round-trip min/avg/max = 36max 59max 104ms

R3#

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report