Check Connection
This scenario shows how to create bridge interface offloading in a hardware switch.
Test ICMP Connectivity
Description
A bridge interface is created in DUT0 using a single Ethernet interface. Once it’s configured, the ‘Ping’ command is used to check if there’s connectivity between both nodes.
Scenario
Step 1: Set the following configuration in DUT1
:
set interfaces ethernet eth0 address 192.168.100.2/24
Step 2: Set the following configuration in DUT0
:
set interfaces bridge br0 address 192.168.100.1/24 set interfaces bridge br0 hardware-offload eth0 denied-macs DE:AD:BE:EF:6C:21 set interfaces ethernet eth0p0 bridge-group bridge br0
Step 3: Ping IP address 192.168.100.1
from DUT1
:
admin@DUT1$ ping 192.168.100.1 local-address 192.168.100.2 count 1 size 56 timeout 1Show output
PING 192.168.100.1 (192.168.100.1) from 192.168.100.2 : 56(84) bytes of data. 64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=1.35 ms --- 192.168.100.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 1.352/1.352/1.352/0.000 ms