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

    More than one default route

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 1.3k 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
      bgpn00b
      last edited by

      Hello *,

      I'm having some problems with understanding how the OpenBGPD daemon affects the kernel routing table and until I figure it out I want to use the two BGP connections (2 ISPs) just to publish my IP class (deny from all) and add manually the second default route (for ISP #2) into the kernel's routing table.

      In Linux it's something like:
      # route add -net 0.0.0.0/0 gw 1.1.1.2 metric 65500 eth1

      In FreeBSD something like:
      route add default 1.1.1.2
      works only if there is no other default route present.

      Can someone help?

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