Change Default Gateway on NSX-T Manager

I deployed an NSX-T Manager (3.1.0) but the gateway didn’t appear to be set so I couldn’t access it from outside the network

In order to change this

  • Console into the NSX-T Manager that was just deployed
  • Log in using the admin credentials
  • Type
    • set route prefix 0.0.0.0/0 gateway {ip} eth0
    • eg set route predix 0.0.0.0/0 gateway 10.10.10.254 eth0