A lab consists of two SR Linux nodes connected via a point-to-point link over e1-1 interfaces. Both nodes are also connected with their management interfaces to the clab docker network.
The nodes of this lab have been provided with a startup configuration using startup-config directive. The startup configuration adds loopback and interfaces addressing as per the diagram above.
Once the lab is started, the nodes will be able to ping each other via configured interfaces:
--{ running }--[ ]--
A:srl1# ping network-instance default 192.168.0.1
Using network instance default
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=55.2 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=6.61 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=8.92 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=14.2 ms
^C
--- 192.168.0.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 6.610/21.232/55.173/19.790 ms