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. 

CONFIGURATION EXAMPLES


mbox A1 config:!interface bridge 0enableip address 172.16.1.253/24ip ospf message-digest-key 1 md5 Letmein99!!router ospfarea 0 authenticaiton message-digestnetwork 172.16.1.0/24 area 0redistribute connected!-------------------------- mbox A2 config:!interface eth0enableip address dhcpip ospf message-digest-key 1 md5 Letmein99!interface eth1enableip address 10.10.10.10/24!ip route 2.2.2.0/24 next-hop 10.10.10.100ip route 3.3.3.3/32 interface eth0!router ospfarea 0 authenticaiton message-digestnetwork 172.16.1.0/24 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>* 0.0.0.0/0 via 202.63.156.1, eth0O>* 2.2.2.0/24 [110/20] via 172.16.1.24, br0, 00:05:55O>* 3.3.3.3/32 [110/20] via 172.16.1.24, br0, 00:00:14C>* 127.0.0.0/8 is directly connected, loO   172.16.1.0/24 [110/10] is directly connected, br0, 00:10:18C>* 172.16.1.0/24 is directly connected, br0C>* 202.63.156.0/24 is directly connected, eth0