Tuesday 10 August 2021

add static route on windows OS

 had a strange case where I needed to reach 169.254.x.x but the windows OS was not forwarding traffic for it out its network card


Run cmd as admin

route print (to get GW x.x.x.x)

route -p add 169.254.0.0 MASK 255.255.0.0 x.x.x.x

No comments:

Post a Comment