Check Sit
This scenario shows how to configure a SIT tunnel with an IPv6 address and check ICMP connectivity.
Test ICMP Connectivity In SIT 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::10/24' set interfaces tunnel tun0 encapsulation sit 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::20/24' set interfaces tunnel tun0 encapsulation sit 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::20
from DUT0
:
admin@DUT0$ ping 10::20 count 1 size 56 timeout 1Show output
PING 10::20(10::20) 56 data bytes 64 bytes from 10::20: icmp_seq=1 ttl=64 time=0.295 ms --- 10::20 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.295/0.295/0.295/0.000 ms