Configuring Basic IP Unicast Routing
To configure basic IP unicast routing, do the following:
- Create and configure two or more VLANs.
-
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:
or
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, default configuration might be acceptable.
-
Turn on RIPng or OSPFv3 using
one of the following commands:
enable ripng
enable ospfv3
Note
BGP 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.