Project

General

Profile

Actions

Bug #12536

open

Default gateway as "NONE"

Added by Alhusein Zawi 2 months ago. Updated about 2 months ago.

Status:
Pull Request Review
Priority:
Normal
Assignee:
Category:
Routing
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Plus-Next
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

selecting Default gateway as NONE should remove the default route from routing table.

making default GW as "NONE" will not remove the default route.
Mark Gateway as "Down" does not remove the default route.

disabling the interface or using the command route delete 0.0.0.0/0 [gateway ip] are the only way to remove it.

selecting Default gateway as NONE (GUI) should take an effect to remove the default route from the routing table.


Related issues

Related to Bug #11692: PPPoE IPv6 gateway set as default even when IPv6 default gateway is set to "None"Pull Request ReviewViktor Gurov03/17/2021

Actions
Actions #1

Updated by Viktor Gurov 2 months ago

  • Related to Bug #11692: PPPoE IPv6 gateway set as default even when IPv6 default gateway is set to "None" added
Actions #2

Updated by Viktor Gurov 2 months ago

removing the default gateway, if set to 'none', may result in the removal of the route of dynamic routing protocols
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/gwlb.inc#L1115-L1117:

    if ($gwdefault == "-") {
        // 'none', dont set the default gateway, useful if routes are managed by frr/bgp/ospf or similar
        return;
    }

Actions #4

Updated by Jim Pingle about 2 months ago

  • Status changed from New to Pull Request Review
  • Assignee set to Viktor Gurov
  • Target version set to CE-Next
  • Plus Target Version set to Plus-Next
Actions

Also available in: Atom PDF