Check Ipip
This scenario shows how to configure an IP-in-IP tunnel and check ICMP connectivity.
Test ICMP Connectivity In IP-in-IP 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 remote-ip 192.168.100.20 set interfaces tunnel tun0 encapsulation ipip set interfaces tunnel tun0 local-address 192.168.100.10
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 remote-ip 192.168.100.10 set interfaces tunnel tun0 encapsulation ipip set interfaces tunnel tun0 local-address 192.168.100.20
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=6.42 ms --- 10.0.0.20 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 6.422/6.422/6.422/0.000 ms