Configuring Basic IP Unicast Routing
To configure basic IP unicast routing, do the following:
-
Create and configure two or more VLAN (Virtual LAN)s.
-
Assign each VLAN that will be using routing an IP address
using the following command:
Ensure that each VLAN has a unique IP address.
-
Configure a static route using the following command:
Configure a default route using the following command:
Default routes are used when the router has no other dynamic
or static route to the requested destination.
-
Turn on IP routing for one or all VLANs using the
following command:
-
Configure the routing protocol, if required. For a simple
network using RIPng (Routing Information Protocol Next Generation), default configuration might be
acceptable.
-
Turn on RIPng or OSPFv3 (Open Shortest Path First version 3) using
one of the following commands:
enable ospfv3
Note
BGP (Border Gateway Protocol) does not use ECMP by default, so
if you require that functionality you must explicitly issue the configure bgp maximum-paths max-paths command
with a value greater than 1.