Configuring OSPF service - Adaptive Applications - BlueCat Gateway - 21.2

BlueCat Distributed DDNS Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
21.2

The following section guides you through the configuration of OSPF and OSPFv3 for Quagga service. The routers in your network must be configured for use with OSPF or OSPFv3 before using Anycast. For additional information on Quagga OSPF, refer to https://www.nongnu.org/quagga/docs/docs-multi/OSPFv2.html for IPv4 OSPF configuration and https://www.nongnu.org/quagga/docs/docs-multi/OSPFv3.html for IPv6 OSPF configuration.

Configuring OSPF service in an IPv4 environment

The following section goes through the steps required to configure the following OSPF topology.



  1. Log in to the console of the service nodes to be configured with OSPF.
  2. Edit the /etc/network/interfaces file.
  3. Add an Anycast virtual IP address to the host's loopback device using the following example:
    auto lo:1
    iface lo inet loopback
    iface lo:1 inet static
    address 10.0.0.1
    netmask 255.255.255.255
    network 10.0.0.0
  4. Restart the network daemon using the following command:
    systemctl restart networking

    The command restarts the network service and applies the configurations to the service node.

  5. Log in to the Gateway instance that has the Distributed DDNS Application Node.
  6. Under AVAILABLE ACTIONS, click Distributed DDNS.
  7. Click the Service Points tab to access the service node page.
  8. Click Anycast service.
  9. Under the Configuration tab, select OSPF.
  10. In the configuration window, enter the following information:
    !ospf.conf
    hostname quagga_01
    !
    interface ens33
    !
    interface lo
    !
    router ospf
    ospf router-id 6.0.0.2
    network 6.0.0.0/8 area 0.0.0.0
    network 10.0.0.1/32 area 0.0.0.0
    !
    line vty
    !
    Where the parameters represent the following:
    • hostname quagga_01: Sets the hostname of the router to quagga_01
    • interface ens33: Configures the interface to up.
    • router ospf: Enable the OSPF process. ospfd does not support multiple OSPF processes. You cannot specify an OSPF process number.
    • ospf router-id 6.0.0.2: Set the router-ID of the OSPF process. The router-ID can be an IP address of the router but can also be configured to any 32-bit number.
    • network 6.0.0.0/8 area 0.0.0.0: Specifies the OSPF enabled interface. If the interface has an address range then the command enables OSPF on this interface so that the router can provide network information to other OSPF routers through this interface.
    • line vty: Enter the vty configuration mode.
  11. Click Start to enable the OSPF service.
  12. Click Save to save the OSPF service configuration and add the service to the Distributed DDNS Service Node.
  13. Repeat steps 8 to 12 for the second service node, updating the IP address when updating the OSPF configuration information.

Configuring OSPFv3 service in an IPv6 environment

The following section goes through the steps required to configure the following OSPFv3 topology.



  1. Log in to the console of the service nodes to be configured with OSPFv3.
  2. Edit the /etc/network/interfaces file.
  3. Add an Anycast virtual IP address to the host's loopback device using the following example:
    auto lo
    iface lo inet loopback
    iface lo:0 
    iface lo:0 inet6 static
    address 2a01:278:1:f:10:0:0:1
    netmask 128
  4. Restart the network daemon using the following command:
    systemctl restart networking

    The command restarts the network service and applies the configurations to the service node.

  5. Log in to the Gateway instance that has the Distributed DDNS Application Node.
  6. Under AVAILABLE ACTIONS, click Distributed DDNS.
  7. Click the Service Points tab to access the service node page.
  8. Click Anycast service.
  9. Under the Configuration tab, select OSPFv3.
  10. In the configuration window, enter the following information:
    !ospfd configuration
    !
    router ospf6
    router-id 9.0.0.9
    interface lo area 0.0.0.0
    interface ens33 area 0.0.0.0
    redistribute connected
    !
  11. Click Start to enable the OSPFv3 service.
  12. Click Save to save the OSPFv3 service configuration and add the service to the Distributed DDNS Service Node.
  13. Repeat steps 8 to 12 for the second service node, updating the IP address when updating the OSPFv3 configuration information.