Configure dynamic OSPF routing

mBox supports Open Shortest Path First (OSPF), which is a standard dynamic routing protocol and can inter-operate with 3rd-party devices as well.

mBox supports three types of peering scenario/authentication,

- No authentication

- pre-shared clear text authentication (Type 1)

- pre-shared MD5 cryptographic passwords (Type 2)with other vendor network appliances.

This example provides a brief guide on setting up a OSPF network using peer authentication using MD5.


mbox A1 config:!interface bridge 0enableip address ospf message-digest-key 1 md5 Letmein99!!router ospfarea 0 authenticaiton message-digestnetwork area 0redistribute connected!-------------------------- mbox A2 config:!interface eth0enableip address dhcpip ospf message-digest-key 1 md5 Letmein99!interface eth1enableip address!ip route next-hop route interface eth0!router ospfarea 0 authenticaiton message-digestnetwork area 0redistribute static! Troubleshooting/Verification commands:========================================show ip ospf neighborshow ip ospf routeshow ip ospf interfaceshow ip ospf databaseshow ip route

Below is an example output "show ip route" from mBox A1 (note A2 static routes are correctly redistributed into OSPF)

mbox# show ip routeCodes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,I - ISIS, B - BGP, > - selected route, * - FIB route K>* via, eth0O>* [110/20] via, br0, 00:05:55O>* [110/20] via, br0, 00:00:14C>* is directly connected, loO [110/10] is directly connected, br0, 00:10:18C>* is directly connected, br0C>* is directly connected, eth0