Get the App
SLTechnology News&Howtos  ›  Network Security  › 

IPV4 and IPV6 communicate with each other

Shulou Source: shulou.com Published: 2022-06-01 01:51:21 11月25日 Update

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#

Tags: Configuration routing static testing manual topology network tunneling communication Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Information Docker Shulou Technology Xiaomi