Check Ipip6
This scenario shows how to configure an IP-in-IPv6 tunnel and check ICMP connectivity.
Test ICMP Connectivity In IP-in-IPv6 Tunnels
Description
A tunnel interface is configured in each node and the ‘Ping’ command is used to check network connectivity (ICMP protocol).
Scenario
Step 1: Set the following configuration in DUT0
:
set interfaces ethernet eth0 address '192:168:100::10/24' set interfaces tunnel tun0 address 10.0.0.10/24 set interfaces tunnel tun0 encapsulation ipip6 set interfaces tunnel tun0 local-address '192:168:100::10' set interfaces tunnel tun0 remote-ip '192:168:100::20' set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Set the following configuration in DUT1
:
set interfaces ethernet eth0 address '192:168:100::20/24' set interfaces tunnel tun0 address 10.0.0.20/24 set interfaces tunnel tun0 encapsulation ipip6 set interfaces tunnel tun0 local-address '192:168:100::20' set interfaces tunnel tun0 remote-ip '192:168:100::10' set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 3: Ping IP address 10.0.0.20
from DUT0
:
admin@DUT0$ ping 10.0.0.20 count 1 size 56 timeout 1Show output
PING 10.0.0.20 (10.0.0.20) 56(84) bytes of data. 64 bytes from 10.0.0.20: icmp_seq=1 ttl=64 time=0.466 ms --- 10.0.0.20 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.466/0.466/0.466/0.000 ms