Project

General

Profile

Actions

Bug #9328

closed

Static routes set by system.inc for DNS gateway bindings are not binded on the good NICs

Added by Alexandre Anriot about 5 years ago. Updated about 5 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
Routing
Target version:
-
Start date:
02/15/2019
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

Hello,

We are running a POC with 2 WAN gateways which use their own DNS servers on a per-FAI basis.

The 2 gateways are using 2 different NIC (bge0 and bge2).

Though, we get these 4 IP routes, with the first 2 routes which should use -iface bge2 instead, according to gateways configurations:

80.10.246.130      172.1.6.2        UGHS       bge0
81.253.149.1       172.1.6.2        UGHS       bge0
89.2.0.1           172.1.6.1        UGHS       bge0
89.2.0.2           172.1.6.1        UGHS       bge0

If I understand correctly, these lines are created here: https://github.com/pfsense/pfsense/blob/master/src/etc/inc/system.inc#L196.

The gateway affected by this issue is using an interface in DHCP mode (the FAI box acts as a DHCP server), and we can see "dynamic" in the "Gateway" field of the Gateway.

Any idea to solve this issue?

Thanks.

Actions

Also available in: Atom PDF