0

I'm trying to setup a PRP connection between to Linux machines (Ubuntu 20-04 LTS) following the doc from TI.

The module hsr is present (modprobe hsr works), but when I tried to use iproute2, it seems that it was compiled without support of HSR/PRP.

$ ip link add name prp0 type prp slave1 eth1 slave2 eth2 supervision 45
Garbage instead of arguments "slave1 ...". Try "ip link help"

$ ip link add name prp0 type prp
Error: unknown device type

Any ideas how to set up a PRP interface?

grep
  • 186
  • 1
  • 3

1 Answers1

1

type prp is not consistent with man ip link. iproute documents PRP as type hsr but with proto 1. See also the implementing code commit.

Not that it matters, but possible reasons for the inaccuracy are the guide's commands not being tested, or they were working off a patched iproute that was not the same as what was released.

John Mahowald
  • 32,050
  • 2
  • 19
  • 34