Allied Telesis Support Portal

How do I configure a default route on a Allied Telesis device running AlliedWare Plus?

How do I configure a default route on a Layer 3 Switch or Router running AlliedWare plus?

Introduction

Routing is the process of determining the path for data packets to follow in order to navigate from one computer or server to another.  Routing tables are used to specify where a packet should be sent, based on the destination IP address. The network with the longest subnet mask that matches the destination IP address is the next-hop network gateway. 

The default route is the route that takes effect when there is no other available or configured route for an IP destination address.  A default route which is also known as the "gateway of last resort", is the route that is used in forwarding packets whose destination address does not match a route in the routing table. In IPv4 the CIDR notation for a default route is 0.0.0.0/0 and for IPv6 it is ::/0.



Configuring a default route

To configure a default route on the Allied Telesis device running AlliedWare Plus, log in to the device and enter the "Privileged Exec" mode, then enter the command:
awplus# configure terminal
awplus# ip route <IP destination - subnet/mask> <gateway-ip>

Example
awplus# ip route 0.0.0.0/0 10.0.0.8

This command adds a static route to the Routing Information Base (RIB). If this route is the best route for the destination, then your device adds it to the Forwarding Information Base (FIB). Your device uses the FIB to advertise routes to neighbors and forward packets.

The no variant of this command removes the static route from the RIB and FIB