Setting up a New Routers

  • 1
  • Question
  • Updated 2 years ago
How can I set IP Address, Default Gateway and subnet mask on my router from the console. Our ISP provided a static address so we don't have dhcp.

Cheers.
Photo of Andrew K

Andrew K

  • 3 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of BJ

BJ, Champ

  • 374 Posts
  • 45 Reply Likes
It's best to configure these from HiveManager, either on-prem or an online cloud account.
Photo of Andrew K

Andrew K

  • 3 Posts
  • 0 Reply Likes
But the router cannot connect to hivemanager Without an Ip Address.
Photo of BJ

BJ, Champ

  • 374 Posts
  • 45 Reply Likes
Try this...
no interface eth0 dhcp client
interface eth0 ip x.x.x.x/yy (ip address and subnet mask)
ip route default gateway x.x.x.x
ip route net 0.0.0.0 0.0.0.0 gateway x.x.x.x

You may also need to configure the mgt0 interface, but hopefully this much will get you to HM.
Photo of Andrew K

Andrew K

  • 3 Posts
  • 0 Reply Likes
Thanks it worked.