I want to add a rule same as linux's
route add 192.168.64.0/24 via 192.168.64.200 dev enp0s1 onlink
, but following does not work:
% sudo route -n add -net 192.168.64.0/24 192.168.64.200 -interface bridge100
route: bad address: bridge100
What's correct way to do it?
Asked by William
(151 rep)
Jan 16, 2025, 05:30 AM