Configuring Basic IP Unicast Routing

To configure basic IP unicast routing, do the following:

  1. Create and configure two or more VLAN (Virtual LAN)s.
  2. Assign each VLAN that will be using routing an IP address using the following command:

    Ensure that each VLAN has a unique IP address.

  3. 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.

  4. Turn on IP routing for one or all VLANs using the following command:
  5. Configure the routing protocol, if required. For a simple network using RIPng (Routing Information Protocol Next Generation), default configuration might be acceptable.
  6. Turn on RIPng or OSPFv3 (Open Shortest Path First version 3) using one of the following commands:

    enable ripng

    enable ospfv3

    Note

    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.