Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PfSense ignore OSPF routes on interface with default gateway

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 835 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bashlakov
      last edited by

      Hi!

      I trying to use pfSense with 2 interfaces as internal router and firewall - WAN connected to OSPF backbone network, LAN connected to network, which I would like to anounce via OSPF and security by firewall.
      I've installed and configured Quagga and get OSPF working fine. Then I've tried to configure access to WebUI from WAN and find a bug: if I configure default gateway on WAN initerface, then pfSense send all responses to default gateway and not to router, than anounce source network. Tracert also show, that Kernel use default gateway, instead of using routing table with routes from OSPF, which contain correct routes. If I remove default gateway from WAN interface, all works fine, but I would like to use this gateway for routing Internet addresses without anouncing 0.0.0.0/0 via OSPF.

      Network map and fragmet of routing table from pfSense attached to post.

      Tracert 10.10.0.14 from my PC:
      1. 10.10.30.254
      2. 10.10.0.14
      Done

      Tracert my PC (10.10.30.178) from pfSense with default gateway (10.10.0.1):
      1. 10.10.0.1
      2. 10.10.0.254
      3. 10.30.0.178
      Done

      Tracert my PC (10.10.30.178) from pfSense without default gateway:
      1. 10.10.0.254
      2. 10.30.0.178
      Done

      Is this bug or feature? How can I workaround this without anouncing 0.0.0.0/0 via OSPF?
      map.PNG
      map.PNG_thumb
      table.png
      table.png_thumb

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.