Checking if switchd did the right thing


Linux has so many knobs that I suppose some of them don't have been translated to hardware. Is there a way to check how switchd did translate the current configuration to hardware? This would allow to check if disabling forwarding on an interface has an effect or if some strange IP rule has been correctly taken into account. Some examples:

- ip route add 2001:db8:11::/64 from 2001:db8:2::/64 via fe80::1 dev swp5
- ip rule add iif swp5 unreachable
- net.ipv6.conf.swp5.forwarding=0
- net.ipv4.conf.swp5.rp_filter=1

0 replies

Be the first to reply!