Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests: hsr: Extend the hsr_ping.sh test to use fixed MAC addresses

Fixed MAC addresses help with debugging as last four bytes identify the
network namespace.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Link: https://lore.kernel.org/r/20240603093322.3150030-1-lukma@denx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Lukasz Majewski and committed by
Jakub Kicinski
ed20142e 955edd87

+9
+9
tools/testing/selftests/net/hsr/hsr_ping.sh
··· 152 152 ip -net "$ns3" addr add 100.64.0.3/24 dev hsr3 153 153 ip -net "$ns3" addr add dead:beef:1::3/64 dev hsr3 nodad 154 154 155 + ip -net "$ns1" link set address 00:11:22:00:01:01 dev ns1eth1 156 + ip -net "$ns1" link set address 00:11:22:00:01:02 dev ns1eth2 157 + 158 + ip -net "$ns2" link set address 00:11:22:00:02:01 dev ns2eth1 159 + ip -net "$ns2" link set address 00:11:22:00:02:02 dev ns2eth2 160 + 161 + ip -net "$ns3" link set address 00:11:22:00:03:01 dev ns3eth1 162 + ip -net "$ns3" link set address 00:11:22:00:03:02 dev ns3eth2 163 + 155 164 # All Links up 156 165 ip -net "$ns1" link set ns1eth1 up 157 166 ip -net "$ns1" link set ns1eth2 up