sometimes I had to use productive switches for connecting my test-setup and I do not want that my test-traffic (also bgp, ospf, etc.) can be seen on productive netmon.
So I’am encrypting that kind of traffic with macsec.
With vyos-1.4-rolling-202103251004-amd64 I noticed the following bug (?):
Everything was working fine after applying that sample config:
Ping on macsec interfaces between two hosts (with same key) is working.
BUT:
After I changed something on eth1 (like the ip address) macsec does not work anymore.
vyos@vyos1# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.09 ms
— 10.0.0.2 ping statistics —
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.093/1.093/1.093/0.000 ms
vyos@vyos1# set interfaces ethernet eth1 address 10.0.254.5/24
vyos@vyos1# commit
vyos@vyos1# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
— 10.0.0.2 ping statistics —
15 packets transmitted, 0 received, 100% packet loss, time 339ms
Maybe it’s because wpa_supplicant isn’t running anymore after changing something on the source-interface?
I can’t even restart it because the folder /run/wpa_supplicant/ is missing then…