Routing

Static Routes

Static routes are used to route traffic to various interfaces which were not learned via the routing protocols such as OSPF. For example, route specific subnet via the WAN, LAN or Tunnel. Follow the steps detailed below to add static routes to flexiEdge.

In order to define a static route for a given flexiEdge device, navigate to the device settings and click on the “Static Routes” tab. From there, click on “Add Route” button.

Static Routes

The following static route options can be configured:

  • Subnet and mask

  • Gateway

  • Interface - If the gateway is within a subnet of one of the router interfaces, the interface specification is optional.

  • Metric - optional

  • Redistribute via OSPF - enables propagating the static route with other sites connected via tunnels.

Static Routes 2

After creating a static route, make sure to click “Update device”, which will send a new job to the device.

Static Routes 2

OSPF Configuration

OSPF can be configured by clicking on the OSPF Configuration from the Routing tab.

OSPF Configuration Option

Users can configure the router-id and area for LAN network along with authentication. Users can adjust OSPF parameters based on their network requirements as shown in the next figure.

OSPF Advanced Configuration
  • Router-Id : Unique ID for each device, used for identification.

  • Hello Interval : In seconds, mention how frequent the hello message negotiates

  • Dead Interval : In seconds where it wait to announce the peer is dead

Authentication and area ID can be viewed or configured for each interface by clicking on settings from the ‘Actions’ column.

OSPF Advanced Configuration
  • Area ID : A number to indentify are and network.

  • MD5 Key ID : MD5 Key Identification to configure the OSPF authentication

  • MD5 Key : MD5 Secert Key for the OSPF authentication

The following topology shows the typical OSPF configuration with different areas configured for LAN. Pleae note, tunnel interface is part of the Backbone (area 0) without configuration options. Static routes can be redistributed via the OSPF as explained in the earlier sections.

@startuml
   skinparam linetype ortho
   node "Routing" as Routing {
     top to bottom direction
     node "OSPF1" as OSPF1 {
       left to right direction
       node "Branch1" as BR1 {
         usecase "Computer 1\n<size:10>area 1\n(10.0.1.10/24)" as C1
         usecase "LAN 1\n<size:10>area 1\n(10.0.1.1)" as LAN1
         node "Tunnel 1\n<size:10>area 0</size>\n(10.100.0.4/30)" as Tunnel1
       }
     }
     top to bottom direction
     node "OSPF2" as OSPF2 {
       left to right direction
       node "Branch2" as BR2 {
         node "Tunnel 2\n<size:10>area 0</size>\n(10.100.0.5/30)" as Tunnel2
         usecase "LAN 2\n<size:10>area 2\n(10.0.2.1)" as LAN2
         usecase "Computer 2\n<size:10>area 2\n(10.0.2.10/24)" as C2
       }
     }
   }
   C1 -- LAN1
   LAN1 -- Tunnel1
   Tunnel1 --- Tunnel2
   Tunnel2 -- LAN2
   LAN2 -- C2
@enduml