Page 1 of 1

How to Add Default Gateway from console

Posted: Mon Nov 19, 2012 12:04 am
by Premier
Hi guys,
As the title suggests, I have lost connectivity with a remote router and can only telnet into it from a UBNT Rocket it is attached to.

I just need to add the default route back in, but can not seem to find any info out there on doing the same, only editing an existing route is the only info I can find. Nothing on adding a default or new route.

TIA

Re: How to Add Default Gateway from console

Posted: Mon Nov 19, 2012 7:47 am
by rodolfo
/ip route add dst-address=0.0.0.0/0 gateway=10.0.0.1

where 10.0.0.1 is your gateway

Re: How to Add Default Gateway from console

Posted: Fri Feb 07, 2020 6:43 pm
by kgolding
Thank you - I was missing a default route which your suggestion fixed :)