Configuring OSPF service - Adaptive Applications - BlueCat Gateway - 22.1

BlueCat Distributed DDNS Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
22.1

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 Address Manager server where the DNS/DHCP Server has been deployed as a service node.
  2. Select the Servers tab.
  3. Under Servers, click the name of the DNS/DHCP Server that the service node has been deployed to.
  4. Click the server name menu button and select Service Configuration.
  5. Under the Interface column, choose the loopback (lo) interface then navigate across the row to the Action column and click Edit.
  6. Complete the following:
    • In the Description field, enter a name for the new loopback address. You can enter up to 80 alphanumeric characters including spaces, but excluding special characters.
    • In the Address/CIDR field, enter 10.0.0.1/32.
    • Click Add Address. The loopback address appears in the Addresses list.
  7. Click OK. The Edit Interfaces pop-up window closes.
  8. Log in to the Gateway instance that has the Distributed DDNS Application Node.
  9. Under AVAILABLE ACTIONS, click Distributed DDNS.
  10. Click the Service Points tab to access the service node page.
  11. Click Anycast service.
  12. Under the Configuration tab, select OSPF.
  13. 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
    !
    log trap informational
    log stdout
    log file /var/log/quagga/ospfd.log
    log record-priority
    !
    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.
    • log trap informational: Sets the current logging level for all enabled logging destinations and sets the default logging level for all future logging commands that do not specify a level.
    • log stdout: Enable logging output to stdout.
    • log file /var/log/quagga/bgpd.log: Enable logging to a log file.
      Note: If you do not configure any file logging and the daemon crashes due to a signal or assertion failure, the service attempts to save the crash information in the /var/tmp/quagga.<daemon_name>.crashlog file. If this file already exists, the service will not save the crash information for security purposes. BlueCat recommends deleting this file after recording or saving the crash information.
    • log record-priority: Includes the severity of all messages logged to a file, stdout, or to a terminal monitor.
  14. Click Start to enable the OSPF service.
  15. Click Save to save the OSPF service configuration and add the service to the Distributed DDNS Service Node.
  16. 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 Address Manager server where the DNS/DHCP Server has been deployed as a service node.
  2. Select the Servers tab.
  3. Under Servers, click the name of the DNS/DHCP Server that the service node has been deployed to.
  4. Click the server name menu button and select Service Configuration.
  5. Under the Interface column, choose the loopback (lo) interface then navigate across the row to the Action column and click Edit.
  6. Complete the following:
    • In the Description field, enter a name for the new loopback address. You can enter up to 80 alphanumeric characters including spaces, but excluding special characters.
    • In the Address/CIDR field, enter 2a01:278:1:f:10:0:0:1/128.
    • Click Add Address. The loopback address appears in the Addresses list.
  7. Click OK. The Edit Interfaces pop-up window closes.
  8. Log in to the Gateway instance that has the Distributed DDNS Application Node.
  9. Under AVAILABLE ACTIONS, click Distributed DDNS.
  10. Click the Service Points tab to access the service node page.
  11. Click Anycast service.
  12. Under the Configuration tab, select OSPFv3.
  13. 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
    !
    log trap informational
    log stdout
    log file /var/log/quagga/ospfd.log
    log record-priority
    !
  14. Click Start to enable the OSPFv3 service.
  15. Click Save to save the OSPFv3 service configuration and add the service to the Distributed DDNS Service Node.
  16. Repeat steps 8 to 12 for the second service node, updating the IP address when updating the OSPFv3 configuration information.