Specifications
204 Implementing IBM System Networking 10Gb Ethernet Switches
For SRV-1 to reach SRV-3 on the other side of the network, it must rely on the routing
mechanisms in the middle. OSPF must redistribute the directly connected networks of SRV-1
and SRV-3 to the other routers on the network.
The task is considered complete when SRV-1 is able to reach SRV-3 on both IPv4 and IPv6.
OSPFv2 configuration
The OSPF configuration starts from the assumption that all the configuration tasks presented
so far in this chapter have been performed. All the ports are up and running, all the VLANs
are correctly defined, all the IP interfaces are configured and the routers are reachable on the
Layer 3 links, and the servers are able to ping the default gateway.
The goal of the configuration is to enable OSPF, to configure the Layer 3 links in the protocol,
and to redistribute the connected networks (server subnet) to the neighbors.
The final result is that a route to SRV-1 subnet (10.0.10.0/24) is installed in AGG-1 and
AGG-2 routing table, a route to SRV-3 subnet (10.0.30.0/24) is installed in ACC-1 and ACC-2
routing table, and the SRV-1 and SRV-3 are able to ping each other.
Complete the following steps to perform a basic OSPF configuration. For more details and
options, see 5.5, “More information” on page 238.
1. Define a Router ID.
Routing devices in OSPF areas are identified by a router ID. The router ID is expressed in
IP address format. The IP address of the router ID is not required to be included in any IP
interface range or in any OSPF area.
The router ID can be configured in one of the following two ways:
Dynamically The OSPF protocol configures the lowest IP interface IP address
as the router ID (this way is the default).
Statically Run ip router-id <IPv4 address> to manually configure the
router ID.
To modify the router ID from static to dynamic, set the router ID to 0.0.0.0, save the
configuration, and reboot the switch.
For our reference architecture, an IP loopback interface is configured for each switch
running OSPF, as shown in Example 5-47.
Example 5-47 Router ID and loopback interface configuration
AGG-1#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-1(config)#interface loopback 1
AGG-1(config-ip-loopback)#ip address 1.1.1.1 255.255.255.255
AGG-1(config-ip-loopback)#ip router-id 1.1.1.1
AGG-1(config)#^Z
AGG-1#
AGG-2#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-2(config)#interface loopback 1
Reachability: The reachability test between SRV-1 and SRV-3 assumes that the 10Gb
Virtual Fabric Switch configuration is complete and operational. See Chapter 6, “IBM
Virtual Fabric 10Gb Switch Module implementation” on page 239.