System information
Troubleshooting TCP/IP
Book Title
7-110
No active interfaces are
configured with an IP
address (OSPF
2
only)
OSPF uses an IP address on the router as its router ID. Therefore, to configure the
OSPF protocol on a router, you need at least one active interface configured with
an IP address. If there is no active interface with an IP address, the router will
return the following error:
2509(config)#router ospf 100
2509(config)#
OSPF: Could not allocate router id
Step 1
Use the show ip interfaces privileged exec command on the router to
make sure there is a router interface that is up and configured with an IP
address.
Step 2 If there is no active interface with an IP address, configure an interface
with the ip address interface configuration command. If necessary, use
the no shutdown interface configuration command to bring an interface
up. The following example shows the steps to enter configuration mode,
assign an IP address to serial 0, and perform a no shutdown command on
the interface:
Router#conf t
Enter configuration commands, one per line.
End with CNTL/Z.
Router(config)#interface serial 0
Router(config-if)#ip address 10.1.1.5 255.255.255.252
Router(config-if)#no shutdown
Router(config-if)#
1 RIP = Routing Information Protocol
2 OSPF = Open Shortest Path First
Possible Problem Solution